From ae600d8b5de2f0925febe51af98525bd5dbf0abf Mon Sep 17 00:00:00 2001 From: malachi-constant Date: Thu, 16 May 2024 20:20:09 +0000 Subject: [PATCH] jekyll build from Action 3399895a293f1bf1af9361ae977ec343b6cc68b0 --- .nojekyll | 0 404.html | 93 + README.md | 43 + about/index.html | 10 + assets/css/custom.css | 48 + assets/css/style.css | 1 + assets/js/tabs.js | 182 + favicon.ico | Bin 0 -> 114663 bytes feed.xml | 1 + img/ddk-bootstrap-stack.png | Bin 0 -> 66367 bytes img/ddk-logo.svg | 30 + img/multi-account-pipeline.png | Bin 0 -> 206671 bytes img/multi-account-stages.png | Bin 0 -> 255756 bytes img/pip-install.gif | Bin 0 -> 15304 bytes img/s3-to-sns.png | Bin 0 -> 18763 bytes img/stack-synthesizer.png | Bin 0 -> 249358 bytes index.html | 241 + release/0.1.0/api/_static/basic.css | 906 ++ release/0.1.0/api/_static/doctools.js | 326 + .../api/_static/documentation_options.js | 12 + release/0.1.0/api/_static/file.png | Bin 0 -> 286 bytes release/0.1.0/api/_static/jquery-3.5.1.js | 10872 ++++++++++++++++ release/0.1.0/api/_static/jquery.js | 2 + release/0.1.0/api/_static/language_data.js | 297 + release/0.1.0/api/_static/minus.png | Bin 0 -> 90 bytes release/0.1.0/api/_static/plus.png | Bin 0 -> 90 bytes release/0.1.0/api/_static/pygments.css | 250 + .../api/_static/scripts/furo-extensions.js | 0 release/0.1.0/api/_static/scripts/furo.js | 3 + .../api/_static/scripts/furo.js.LICENSE.txt | 7 + release/0.1.0/api/_static/scripts/furo.js.map | 1 + release/0.1.0/api/_static/searchtools.js | 529 + .../api/_static/styles/furo-extensions.css | 2 + .../_static/styles/furo-extensions.css.map | 1 + release/0.1.0/api/_static/styles/furo.css | 2 + release/0.1.0/api/_static/styles/furo.css.map | 1 + .../0.1.0/api/_static/underscore-1.13.1.js | 2042 +++ release/0.1.0/api/_static/underscore.js | 6 + release/0.1.0/api/cli/aws_ddk.commands.html | 299 + release/0.1.0/api/cli/aws_ddk.html | 485 + release/0.1.0/api/cli/aws_ddk.services.html | 281 + release/0.1.0/api/cli/modules.html | 279 + release/0.1.0/api/cli/tests.html | 271 + release/0.1.0/api/cli/tests.unit.html | 265 + release/0.1.0/api/core/aws_ddk_core.base.html | 287 + release/0.1.0/api/core/aws_ddk_core.cicd.html | 291 + .../0.1.0/api/core/aws_ddk_core.config.html | 287 + release/0.1.0/api/core/aws_ddk_core.html | 397 + .../api/core/aws_ddk_core.pipelines.html | 291 + .../api/core/aws_ddk_core.resources.html | 287 + .../0.1.0/api/core/aws_ddk_core.stages.html | 287 + release/0.1.0/api/core/modules.html | 305 + .../stubs/aws_ddk_core.base.BaseStack.html | 413 + .../aws_ddk_core.cicd.CICDPipelineStack.html | 520 + .../stubs/aws_ddk_core.config.Config.html | 381 + ...ws_ddk_core.config.JSONConfigStrategy.html | 307 + .../aws_ddk_core.pipelines.Pipeline.html | 364 + .../stubs/aws_ddk_core.pipelines.Stage.html | 378 + .../aws_ddk_core.resources.KMSFactory.html | 319 + .../aws_ddk_core.resources.LambdaFactory.html | 329 + .../aws_ddk_core.resources.S3Factory.html | 320 + .../aws_ddk_core.resources.SQSFactory.html | 319 + ...ws_ddk_core.stages.GlueTransformStage.html | 364 + .../aws_ddk_core.stages.S3EventStage.html | 392 + .../aws_ddk_core.stages.SqsToLambdaStage.html | 390 + release/0.1.0/api/core/tests.html | 279 + release/0.1.0/api/core/tests.unit.html | 297 + release/0.1.0/api/genindex.html | 835 ++ release/0.1.0/api/index.html | 291 + release/0.1.0/api/objects.inv | Bin 0 -> 1460 bytes release/0.1.0/api/py-modindex.html | 487 + release/0.1.0/api/search.html | 247 + release/0.1.0/api/searchindex.js | 1 + release/0.1.0/how-to/index.html | 1817 +++ release/0.1.0/how-to/spend-first-hour.html | 82 + release/0.1.0/how-to/understand-concepts.html | 98 + release/0.1.0/index.html | 1823 +++ release/0.1.3/api/_static/basic.css | 906 ++ release/0.1.3/api/_static/doctools.js | 326 + .../api/_static/documentation_options.js | 12 + release/0.1.3/api/_static/file.png | Bin 0 -> 286 bytes release/0.1.3/api/_static/jquery-3.5.1.js | 10872 ++++++++++++++++ release/0.1.3/api/_static/jquery.js | 2 + release/0.1.3/api/_static/language_data.js | 297 + release/0.1.3/api/_static/minus.png | Bin 0 -> 90 bytes release/0.1.3/api/_static/plus.png | Bin 0 -> 90 bytes release/0.1.3/api/_static/pygments.css | 250 + .../api/_static/scripts/furo-extensions.js | 0 release/0.1.3/api/_static/scripts/furo.js | 3 + .../api/_static/scripts/furo.js.LICENSE.txt | 7 + release/0.1.3/api/_static/scripts/furo.js.map | 1 + release/0.1.3/api/_static/searchtools.js | 529 + .../api/_static/styles/furo-extensions.css | 2 + .../_static/styles/furo-extensions.css.map | 1 + release/0.1.3/api/_static/styles/furo.css | 2 + release/0.1.3/api/_static/styles/furo.css.map | 1 + .../0.1.3/api/_static/underscore-1.13.1.js | 2042 +++ release/0.1.3/api/_static/underscore.js | 6 + release/0.1.3/api/cli/aws_ddk.html | 486 + release/0.1.3/api/core/aws_ddk_core.html | 398 + .../stubs/aws_ddk_core.base.BaseStack.html | 414 + .../aws_ddk_core.cicd.CICDPipelineStack.html | 539 + .../stubs/aws_ddk_core.config.Config.html | 382 + ...ws_ddk_core.config.JSONConfigStrategy.html | 308 + .../aws_ddk_core.pipelines.Pipeline.html | 365 + .../stubs/aws_ddk_core.pipelines.Stage.html | 379 + .../aws_ddk_core.resources.KMSFactory.html | 320 + .../aws_ddk_core.resources.LambdaFactory.html | 330 + .../aws_ddk_core.resources.S3Factory.html | 321 + .../aws_ddk_core.resources.SQSFactory.html | 320 + ...ws_ddk_core.stages.GlueTransformStage.html | 365 + .../aws_ddk_core.stages.S3EventStage.html | 393 + .../aws_ddk_core.stages.SqsToLambdaStage.html | 391 + release/0.1.3/api/genindex.html | 837 ++ release/0.1.3/api/index.html | 292 + release/0.1.3/api/objects.inv | Bin 0 -> 1465 bytes release/0.1.3/api/search.html | 247 + release/0.1.3/api/searchindex.js | 1 + release/0.1.3/how-to/index.html | 1817 +++ release/0.1.3/how-to/spend-first-hour.html | 82 + release/0.1.3/how-to/understand-concepts.html | 98 + release/0.1.3/index.html | 1823 +++ release/0.2.0/api/_static/basic.css | 906 ++ release/0.2.0/api/_static/doctools.js | 326 + .../api/_static/documentation_options.js | 12 + release/0.2.0/api/_static/file.png | Bin 0 -> 286 bytes release/0.2.0/api/_static/jquery-3.5.1.js | 10872 ++++++++++++++++ release/0.2.0/api/_static/jquery.js | 2 + release/0.2.0/api/_static/language_data.js | 297 + release/0.2.0/api/_static/minus.png | Bin 0 -> 90 bytes release/0.2.0/api/_static/plus.png | Bin 0 -> 90 bytes release/0.2.0/api/_static/pygments.css | 250 + .../api/_static/scripts/furo-extensions.js | 0 release/0.2.0/api/_static/scripts/furo.js | 3 + .../api/_static/scripts/furo.js.LICENSE.txt | 7 + release/0.2.0/api/_static/scripts/furo.js.map | 1 + release/0.2.0/api/_static/searchtools.js | 529 + .../api/_static/styles/furo-extensions.css | 2 + .../_static/styles/furo-extensions.css.map | 1 + release/0.2.0/api/_static/styles/furo.css | 2 + release/0.2.0/api/_static/styles/furo.css.map | 1 + .../0.2.0/api/_static/underscore-1.13.1.js | 2042 +++ release/0.2.0/api/_static/underscore.js | 6 + release/0.2.0/api/cli/aws_ddk.html | 497 + release/0.2.0/api/core/aws_ddk_core.html | 402 + .../stubs/aws_ddk_core.base.BaseStack.html | 415 + .../aws_ddk_core.cicd.CICDPipelineStack.html | 645 + .../stubs/aws_ddk_core.config.Config.html | 383 + ...ws_ddk_core.config.JSONConfigStrategy.html | 309 + .../aws_ddk_core.pipelines.DataPipeline.html | 366 + .../aws_ddk_core.pipelines.DataStage.html | 380 + .../aws_ddk_core.resources.KMSFactory.html | 321 + .../aws_ddk_core.resources.LambdaFactory.html | 331 + .../aws_ddk_core.resources.S3Factory.html | 322 + .../aws_ddk_core.resources.SQSFactory.html | 321 + ...k_core.resources.StepFunctionsFactory.html | 315 + ...ws_ddk_core.stages.GlueTransformStage.html | 352 + .../aws_ddk_core.stages.S3EventStage.html | 394 + .../aws_ddk_core.stages.SqsToLambdaStage.html | 396 + release/0.2.0/api/genindex.html | 853 ++ release/0.2.0/api/index.html | 293 + release/0.2.0/api/objects.inv | Bin 0 -> 1571 bytes release/0.2.0/api/search.html | 248 + release/0.2.0/api/searchindex.js | 1 + release/0.2.0/how-to/custom-stage.html | 197 + release/0.2.0/how-to/index.html | 1823 +++ release/0.2.0/how-to/spend-first-hour.html | 82 + release/0.2.0/how-to/understand-concepts.html | 98 + release/0.2.0/index.html | 1829 +++ release/0.3.0/api/_static/basic.css | 906 ++ release/0.3.0/api/_static/doctools.js | 326 + .../api/_static/documentation_options.js | 12 + release/0.3.0/api/_static/file.png | Bin 0 -> 286 bytes release/0.3.0/api/_static/jquery-3.5.1.js | 10872 ++++++++++++++++ release/0.3.0/api/_static/jquery.js | 2 + release/0.3.0/api/_static/language_data.js | 297 + release/0.3.0/api/_static/minus.png | Bin 0 -> 90 bytes release/0.3.0/api/_static/plus.png | Bin 0 -> 90 bytes release/0.3.0/api/_static/pygments.css | 250 + .../api/_static/scripts/furo-extensions.js | 0 release/0.3.0/api/_static/scripts/furo.js | 3 + .../api/_static/scripts/furo.js.LICENSE.txt | 7 + release/0.3.0/api/_static/scripts/furo.js.map | 1 + release/0.3.0/api/_static/searchtools.js | 529 + .../api/_static/styles/furo-extensions.css | 2 + .../_static/styles/furo-extensions.css.map | 1 + release/0.3.0/api/_static/styles/furo.css | 2 + release/0.3.0/api/_static/styles/furo.css.map | 1 + .../0.3.0/api/_static/underscore-1.13.1.js | 2042 +++ release/0.3.0/api/_static/underscore.js | 6 + release/0.3.0/api/cli/aws_ddk.html | 492 + release/0.3.0/api/core/aws_ddk_core.html | 426 + .../stubs/aws_ddk_core.base.BaseStack.html | 424 + .../aws_ddk_core.cicd.CICDPipelineStack.html | 655 + .../stubs/aws_ddk_core.config.Config.html | 389 + ...ws_ddk_core.config.JSONConfigStrategy.html | 315 + .../aws_ddk_core.pipelines.DataPipeline.html | 391 + .../aws_ddk_core.pipelines.DataStage.html | 419 + .../aws_ddk_core.resources.GlueFactory.html | 331 + .../aws_ddk_core.resources.KMSFactory.html | 327 + ...core.resources.KinesisFirehoseFactory.html | 379 + ..._core.resources.KinesisStreamsFactory.html | 334 + .../aws_ddk_core.resources.LambdaFactory.html | 337 + .../aws_ddk_core.resources.S3Factory.html | 330 + .../aws_ddk_core.resources.SQSFactory.html | 327 + ...k_core.resources.StepFunctionsFactory.html | 321 + ...ddk_core.stages.AppFlowIngestionStage.html | 398 + .../aws_ddk_core.stages.AthenaSQLStage.html | 385 + ...ws_ddk_core.stages.GlueTransformStage.html | 414 + .../aws_ddk_core.stages.KinesisToS3Stage.html | 456 + .../aws_ddk_core.stages.S3EventStage.html | 380 + .../aws_ddk_core.stages.SqsToLambdaStage.html | 411 + release/0.3.0/api/genindex.html | 923 ++ release/0.3.0/api/index.html | 299 + release/0.3.0/api/objects.inv | Bin 0 -> 1990 bytes release/0.3.0/api/search.html | 254 + release/0.3.0/api/searchindex.js | 1 + release/0.3.0/how-to/custom-stage.html | 197 + release/0.3.0/how-to/index.html | 1829 +++ .../how-to/multi-account-deployment.html | 188 + release/0.3.0/how-to/spend-first-hour.html | 82 + release/0.3.0/how-to/understand-concepts.html | 98 + release/0.3.0/index.html | 1835 +++ release/0.4.0/api/_static/basic.css | 906 ++ release/0.4.0/api/_static/doctools.js | 326 + .../api/_static/documentation_options.js | 12 + release/0.4.0/api/_static/file.png | Bin 0 -> 286 bytes release/0.4.0/api/_static/jquery-3.5.1.js | 10872 ++++++++++++++++ release/0.4.0/api/_static/jquery.js | 2 + release/0.4.0/api/_static/language_data.js | 297 + release/0.4.0/api/_static/minus.png | Bin 0 -> 90 bytes release/0.4.0/api/_static/plus.png | Bin 0 -> 90 bytes release/0.4.0/api/_static/pygments.css | 250 + .../api/_static/scripts/furo-extensions.js | 0 release/0.4.0/api/_static/scripts/furo.js | 3 + .../api/_static/scripts/furo.js.LICENSE.txt | 7 + release/0.4.0/api/_static/scripts/furo.js.map | 1 + release/0.4.0/api/_static/searchtools.js | 529 + .../api/_static/styles/furo-extensions.css | 2 + .../_static/styles/furo-extensions.css.map | 1 + release/0.4.0/api/_static/styles/furo.css | 2 + release/0.4.0/api/_static/styles/furo.css.map | 1 + .../0.4.0/api/_static/underscore-1.13.1.js | 2042 +++ release/0.4.0/api/_static/underscore.js | 6 + release/0.4.0/api/cli/aws_ddk.html | 496 + release/0.4.0/api/core/aws_ddk_core.html | 442 + .../stubs/aws_ddk_core.base.BaseStack.html | 437 + .../aws_ddk_core.cicd.CICDPipelineStack.html | 670 + .../stubs/aws_ddk_core.config.Config.html | 393 + ...ws_ddk_core.config.JSONConfigStrategy.html | 319 + .../aws_ddk_core.pipelines.DataPipeline.html | 395 + .../aws_ddk_core.pipelines.DataStage.html | 396 + .../aws_ddk_core.pipelines.EventStage.html | 368 + ..._ddk_core.pipelines.StateMachineStage.html | 398 + .../aws_ddk_core.resources.DMSFactory.html | 471 + .../aws_ddk_core.resources.GlueFactory.html | 335 + .../aws_ddk_core.resources.KMSFactory.html | 331 + ...core.resources.KinesisFirehoseFactory.html | 383 + ..._core.resources.KinesisStreamsFactory.html | 338 + .../aws_ddk_core.resources.LambdaFactory.html | 341 + .../aws_ddk_core.resources.S3Factory.html | 334 + .../aws_ddk_core.resources.SQSFactory.html | 331 + ...k_core.resources.StepFunctionsFactory.html | 325 + ...ddk_core.stages.AppFlowIngestionStage.html | 365 + .../aws_ddk_core.stages.AthenaSQLStage.html | 352 + .../aws_ddk_core.stages.DMSS3ToS3Stage.html | 386 + ...ws_ddk_core.stages.GlueTransformStage.html | 381 + .../aws_ddk_core.stages.KinesisToS3Stage.html | 460 + .../aws_ddk_core.stages.S3EventStage.html | 363 + .../aws_ddk_core.stages.SqsToLambdaStage.html | 415 + release/0.4.0/api/genindex.html | 953 ++ release/0.4.0/api/index.html | 303 + release/0.4.0/api/objects.inv | Bin 0 -> 2172 bytes release/0.4.0/api/search.html | 258 + release/0.4.0/api/searchindex.js | 1 + release/0.4.0/how-to/custom-stage.html | 197 + release/0.4.0/how-to/ddk-configuration.html | 165 + release/0.4.0/how-to/index.html | 1841 +++ .../how-to/multi-account-deployment.html | 188 + release/0.4.0/how-to/private-artifactory.html | 90 + release/0.4.0/how-to/spend-first-hour.html | 82 + release/0.4.0/how-to/understand-concepts.html | 98 + release/0.4.0/index.html | 1847 +++ release/0.5.1/api/_static/basic.css | 906 ++ release/0.5.1/api/_static/doctools.js | 326 + .../api/_static/documentation_options.js | 12 + release/0.5.1/api/_static/file.png | Bin 0 -> 286 bytes release/0.5.1/api/_static/jquery-3.5.1.js | 10872 ++++++++++++++++ release/0.5.1/api/_static/jquery.js | 2 + release/0.5.1/api/_static/language_data.js | 297 + release/0.5.1/api/_static/minus.png | Bin 0 -> 90 bytes release/0.5.1/api/_static/plus.png | Bin 0 -> 90 bytes release/0.5.1/api/_static/pygments.css | 250 + .../api/_static/scripts/furo-extensions.js | 0 release/0.5.1/api/_static/scripts/furo.js | 3 + .../api/_static/scripts/furo.js.LICENSE.txt | 7 + release/0.5.1/api/_static/scripts/furo.js.map | 1 + release/0.5.1/api/_static/searchtools.js | 529 + .../api/_static/styles/furo-extensions.css | 2 + .../_static/styles/furo-extensions.css.map | 1 + release/0.5.1/api/_static/styles/furo.css | 2 + release/0.5.1/api/_static/styles/furo.css.map | 1 + .../0.5.1/api/_static/underscore-1.13.1.js | 2042 +++ release/0.5.1/api/_static/underscore.js | 6 + release/0.5.1/api/cli/aws_ddk.html | 498 + release/0.5.1/api/core/aws_ddk_core.html | 450 + .../stubs/aws_ddk_core.base.BaseStack.html | 439 + .../aws_ddk_core.cicd.CICDPipelineStack.html | 672 + .../stubs/aws_ddk_core.config.Config.html | 395 + ...ws_ddk_core.config.JSONConfigStrategy.html | 321 + .../aws_ddk_core.pipelines.DataPipeline.html | 397 + .../aws_ddk_core.pipelines.DataStage.html | 398 + .../aws_ddk_core.pipelines.EventStage.html | 370 + ..._ddk_core.pipelines.StateMachineStage.html | 400 + .../aws_ddk_core.resources.DMSFactory.html | 473 + ...ws_ddk_core.resources.DataBrewFactory.html | 350 + .../aws_ddk_core.resources.GlueFactory.html | 337 + .../aws_ddk_core.resources.KMSFactory.html | 333 + ...core.resources.KinesisFirehoseFactory.html | 385 + ..._core.resources.KinesisStreamsFactory.html | 340 + .../aws_ddk_core.resources.LambdaFactory.html | 343 + .../aws_ddk_core.resources.S3Factory.html | 336 + .../aws_ddk_core.resources.SQSFactory.html | 333 + ...k_core.resources.StepFunctionsFactory.html | 327 + ...ddk_core.stages.AppFlowIngestionStage.html | 367 + .../aws_ddk_core.stages.AthenaSQLStage.html | 354 + .../aws_ddk_core.stages.DMSS3ToS3Stage.html | 388 + ...dk_core.stages.DataBrewTransformStage.html | 366 + ...ws_ddk_core.stages.GlueTransformStage.html | 383 + .../aws_ddk_core.stages.KinesisToS3Stage.html | 462 + .../aws_ddk_core.stages.S3EventStage.html | 365 + .../aws_ddk_core.stages.SqsToLambdaStage.html | 417 + release/0.5.1/api/genindex.html | 971 ++ release/0.5.1/api/index.html | 305 + release/0.5.1/api/objects.inv | Bin 0 -> 2270 bytes release/0.5.1/api/search.html | 260 + release/0.5.1/api/searchindex.js | 1 + release/0.5.1/how-to/custom-stage.html | 197 + release/0.5.1/how-to/ddk-configuration.html | 165 + release/0.5.1/how-to/index.html | 1841 +++ .../how-to/multi-account-deployment.html | 188 + release/0.5.1/how-to/private-artifactory.html | 89 + release/0.5.1/how-to/spend-first-hour.html | 82 + release/0.5.1/how-to/understand-concepts.html | 98 + release/0.5.1/index.html | 1847 +++ release/0.6.0/api/_static/basic.css | 906 ++ release/0.6.0/api/_static/doctools.js | 326 + .../api/_static/documentation_options.js | 12 + release/0.6.0/api/_static/file.png | Bin 0 -> 286 bytes release/0.6.0/api/_static/jquery-3.5.1.js | 10872 ++++++++++++++++ release/0.6.0/api/_static/jquery.js | 2 + release/0.6.0/api/_static/language_data.js | 297 + release/0.6.0/api/_static/minus.png | Bin 0 -> 90 bytes release/0.6.0/api/_static/plus.png | Bin 0 -> 90 bytes release/0.6.0/api/_static/pygments.css | 253 + .../api/_static/scripts/furo-extensions.js | 0 release/0.6.0/api/_static/scripts/furo.js | 3 + .../api/_static/scripts/furo.js.LICENSE.txt | 7 + release/0.6.0/api/_static/scripts/furo.js.map | 1 + release/0.6.0/api/_static/searchtools.js | 529 + .../api/_static/styles/furo-extensions.css | 2 + .../_static/styles/furo-extensions.css.map | 1 + release/0.6.0/api/_static/styles/furo.css | 2 + release/0.6.0/api/_static/styles/furo.css.map | 1 + .../0.6.0/api/_static/underscore-1.13.1.js | 2042 +++ release/0.6.0/api/_static/underscore.js | 6 + release/0.6.0/api/cli/aws_ddk.html | 504 + release/0.6.0/api/core/aws_ddk_core.html | 450 + .../stubs/aws_ddk_core.base.BaseStack.html | 439 + .../aws_ddk_core.cicd.CICDPipelineStack.html | 695 + .../stubs/aws_ddk_core.config.Config.html | 395 + ...ws_ddk_core.config.JSONConfigStrategy.html | 321 + .../aws_ddk_core.pipelines.DataPipeline.html | 397 + .../aws_ddk_core.pipelines.DataStage.html | 398 + .../aws_ddk_core.pipelines.EventStage.html | 370 + ..._ddk_core.pipelines.StateMachineStage.html | 400 + .../aws_ddk_core.resources.DMSFactory.html | 473 + ...ws_ddk_core.resources.DataBrewFactory.html | 350 + .../aws_ddk_core.resources.GlueFactory.html | 337 + .../aws_ddk_core.resources.KMSFactory.html | 333 + ...core.resources.KinesisFirehoseFactory.html | 385 + ..._core.resources.KinesisStreamsFactory.html | 340 + .../aws_ddk_core.resources.LambdaFactory.html | 343 + .../aws_ddk_core.resources.S3Factory.html | 336 + .../aws_ddk_core.resources.SQSFactory.html | 333 + ...k_core.resources.StepFunctionsFactory.html | 327 + ...ddk_core.stages.AppFlowIngestionStage.html | 367 + .../aws_ddk_core.stages.AthenaSQLStage.html | 354 + .../aws_ddk_core.stages.DMSS3ToS3Stage.html | 388 + ...dk_core.stages.DataBrewTransformStage.html | 366 + ...ws_ddk_core.stages.GlueTransformStage.html | 387 + .../aws_ddk_core.stages.KinesisToS3Stage.html | 462 + .../aws_ddk_core.stages.S3EventStage.html | 365 + .../aws_ddk_core.stages.SqsToLambdaStage.html | 423 + release/0.6.0/api/genindex.html | 982 ++ release/0.6.0/api/index.html | 305 + release/0.6.0/api/objects.inv | Bin 0 -> 2290 bytes release/0.6.0/api/search.html | 260 + release/0.6.0/api/searchindex.js | 1 + release/0.6.0/how-to/custom-stage.html | 197 + release/0.6.0/how-to/ddk-configuration.html | 165 + release/0.6.0/how-to/index.html | 1841 +++ .../how-to/multi-account-deployment.html | 188 + release/0.6.0/how-to/private-artifactory.html | 89 + release/0.6.0/how-to/spend-first-hour.html | 82 + release/0.6.0/how-to/understand-concepts.html | 98 + release/0.6.0/index.html | 1847 +++ release/0.6.1/api/_static/basic.css | 906 ++ release/0.6.1/api/_static/doctools.js | 326 + .../api/_static/documentation_options.js | 12 + release/0.6.1/api/_static/file.png | Bin 0 -> 286 bytes release/0.6.1/api/_static/jquery-3.5.1.js | 10872 ++++++++++++++++ release/0.6.1/api/_static/jquery.js | 2 + release/0.6.1/api/_static/language_data.js | 297 + release/0.6.1/api/_static/minus.png | Bin 0 -> 90 bytes release/0.6.1/api/_static/plus.png | Bin 0 -> 90 bytes release/0.6.1/api/_static/pygments.css | 253 + .../api/_static/scripts/furo-extensions.js | 0 release/0.6.1/api/_static/scripts/furo.js | 3 + .../api/_static/scripts/furo.js.LICENSE.txt | 7 + release/0.6.1/api/_static/scripts/furo.js.map | 1 + release/0.6.1/api/_static/searchtools.js | 529 + .../api/_static/styles/furo-extensions.css | 2 + .../_static/styles/furo-extensions.css.map | 1 + release/0.6.1/api/_static/styles/furo.css | 2 + release/0.6.1/api/_static/styles/furo.css.map | 1 + .../0.6.1/api/_static/underscore-1.13.1.js | 2042 +++ release/0.6.1/api/_static/underscore.js | 6 + release/0.6.1/api/cli/aws_ddk.html | 246 + release/0.6.1/api/core/aws_ddk_core.html | 334 + release/0.6.1/api/genindex.html | 224 + release/0.6.1/api/index.html | 274 + release/0.6.1/api/objects.inv | 6 + release/0.6.1/api/search.html | 232 + release/0.6.1/api/searchindex.js | 1 + release/0.6.1/how-to/custom-stage.html | 197 + release/0.6.1/how-to/ddk-configuration.html | 165 + release/0.6.1/how-to/index.html | 1841 +++ .../how-to/multi-account-deployment.html | 188 + release/0.6.1/how-to/private-artifactory.html | 89 + release/0.6.1/how-to/spend-first-hour.html | 82 + release/0.6.1/how-to/understand-concepts.html | 98 + release/0.6.1/index.html | 1847 +++ release/0.6.2/api/_static/basic.css | 906 ++ release/0.6.2/api/_static/doctools.js | 326 + .../api/_static/documentation_options.js | 12 + release/0.6.2/api/_static/file.png | Bin 0 -> 286 bytes release/0.6.2/api/_static/jquery-3.5.1.js | 10872 ++++++++++++++++ release/0.6.2/api/_static/jquery.js | 2 + release/0.6.2/api/_static/language_data.js | 297 + release/0.6.2/api/_static/minus.png | Bin 0 -> 90 bytes release/0.6.2/api/_static/plus.png | Bin 0 -> 90 bytes release/0.6.2/api/_static/pygments.css | 253 + .../api/_static/scripts/furo-extensions.js | 0 release/0.6.2/api/_static/scripts/furo.js | 3 + .../api/_static/scripts/furo.js.LICENSE.txt | 7 + release/0.6.2/api/_static/scripts/furo.js.map | 1 + release/0.6.2/api/_static/searchtools.js | 529 + .../api/_static/styles/furo-extensions.css | 2 + .../_static/styles/furo-extensions.css.map | 1 + release/0.6.2/api/_static/styles/furo.css | 2 + release/0.6.2/api/_static/styles/furo.css.map | 1 + .../0.6.2/api/_static/underscore-1.13.1.js | 2042 +++ release/0.6.2/api/_static/underscore.js | 6 + release/0.6.2/api/cli/aws_ddk.html | 504 + release/0.6.2/api/core/aws_ddk_core.html | 472 + .../stubs/aws_ddk_core.base.BaseStack.html | 442 + .../aws_ddk_core.cicd.CICDPipelineStack.html | 700 + .../stubs/aws_ddk_core.config.Config.html | 395 + ...ws_ddk_core.config.JSONConfigStrategy.html | 321 + .../aws_ddk_core.pipelines.DataPipeline.html | 401 + .../aws_ddk_core.pipelines.DataStage.html | 400 + .../aws_ddk_core.pipelines.EventStage.html | 370 + ..._ddk_core.pipelines.StateMachineStage.html | 403 + .../aws_ddk_core.resources.DMSFactory.html | 473 + ...ws_ddk_core.resources.DataBrewFactory.html | 350 + .../aws_ddk_core.resources.GlueFactory.html | 337 + .../aws_ddk_core.resources.KMSFactory.html | 333 + ...core.resources.KinesisFirehoseFactory.html | 385 + ..._core.resources.KinesisStreamsFactory.html | 340 + .../aws_ddk_core.resources.LambdaFactory.html | 343 + .../aws_ddk_core.resources.S3Factory.html | 336 + .../aws_ddk_core.resources.SQSFactory.html | 333 + ...k_core.resources.StepFunctionsFactory.html | 327 + ...ddk_core.stages.AppFlowIngestionStage.html | 371 + .../aws_ddk_core.stages.AthenaSQLStage.html | 373 + .../aws_ddk_core.stages.DMSS3ToS3Stage.html | 388 + ...dk_core.stages.DataBrewTransformStage.html | 370 + ...ws_ddk_core.stages.GlueTransformStage.html | 399 + .../aws_ddk_core.stages.KinesisToS3Stage.html | 464 + .../aws_ddk_core.stages.S3EventStage.html | 365 + .../aws_ddk_core.stages.SqsToLambdaStage.html | 429 + release/0.6.2/api/genindex.html | 994 ++ release/0.6.2/api/index.html | 305 + release/0.6.2/api/objects.inv | Bin 0 -> 2314 bytes release/0.6.2/api/search.html | 260 + release/0.6.2/api/searchindex.js | 1 + release/0.6.2/how-to/custom-stage.html | 197 + release/0.6.2/how-to/ddk-configuration.html | 165 + release/0.6.2/how-to/index.html | 1841 +++ .../how-to/multi-account-deployment.html | 188 + release/0.6.2/how-to/private-artifactory.html | 89 + release/0.6.2/how-to/spend-first-hour.html | 82 + release/0.6.2/how-to/understand-concepts.html | 98 + release/0.6.2/index.html | 1847 +++ .../1.0.0-beta.0/how-to/custom-bootstrap.html | 188 + release/1.0.0-beta.0/how-to/custom-stage.html | 286 + .../how-to/ddk-configuration.html | 351 + release/1.0.0-beta.0/how-to/index.html | 1847 +++ .../how-to/multi-account-deployment.html | 278 + .../how-to/private-artifactory.html | 89 + .../1.0.0-beta.0/how-to/spend-first-hour.html | 82 + .../how-to/understand-concepts.html | 98 + release/1.0.0-beta.0/index.html | 1853 +++ .../1.0.0-beta.1/how-to/custom-bootstrap.html | 188 + release/1.0.0-beta.1/how-to/custom-stage.html | 286 + .../how-to/ddk-configuration.html | 351 + release/1.0.0-beta.1/how-to/index.html | 1847 +++ .../how-to/multi-account-deployment.html | 278 + .../how-to/private-artifactory.html | 89 + .../1.0.0-beta.1/how-to/spend-first-hour.html | 82 + .../how-to/understand-concepts.html | 98 + release/1.0.0-beta.1/index.html | 1853 +++ .../1.0.0-rc.0/how-to/custom-bootstrap.html | 188 + release/1.0.0-rc.0/how-to/custom-stage.html | 287 + .../1.0.0-rc.0/how-to/ddk-configuration.html | 307 + release/1.0.0-rc.0/how-to/index.html | 1853 +++ .../how-to/multi-account-deployment.html | 279 + .../how-to/private-artifactory.html | 89 + .../1.0.0-rc.0/how-to/spend-first-hour.html | 82 + .../how-to/understand-concepts.html | 98 + release/1.0.0-rc.0/how-to/upgrade-guide.html | 221 + release/1.0.0-rc.0/index.html | 1859 +++ release/1.0.0/how-to/custom-bootstrap.html | 188 + release/1.0.0/how-to/custom-stage.html | 287 + release/1.0.0/how-to/ddk-configuration.html | 307 + release/1.0.0/how-to/index.html | 1853 +++ .../how-to/multi-account-deployment.html | 279 + release/1.0.0/how-to/private-artifactory.html | 89 + release/1.0.0/how-to/spend-first-hour.html | 82 + release/1.0.0/how-to/understand-concepts.html | 98 + release/1.0.0/how-to/upgrade-guide.html | 221 + release/1.0.0/index.html | 1859 +++ release/1.0.1/how-to/custom-bootstrap.html | 192 + release/1.0.1/how-to/custom-stage.html | 287 + release/1.0.1/how-to/ddk-configuration.html | 307 + release/1.0.1/how-to/index.html | 1853 +++ .../how-to/multi-account-deployment.html | 279 + release/1.0.1/how-to/private-artifactory.html | 89 + release/1.0.1/how-to/spend-first-hour.html | 82 + release/1.0.1/how-to/understand-concepts.html | 98 + release/1.0.1/how-to/upgrade-guide.html | 221 + release/1.0.1/index.html | 1859 +++ release/1.1.0/how-to/custom-bootstrap.html | 192 + release/1.1.0/how-to/custom-stage.html | 287 + release/1.1.0/how-to/ddk-configuration.html | 307 + release/1.1.0/how-to/index.html | 1853 +++ .../how-to/multi-account-deployment.html | 279 + release/1.1.0/how-to/private-artifactory.html | 89 + release/1.1.0/how-to/spend-first-hour.html | 82 + release/1.1.0/how-to/understand-concepts.html | 98 + release/1.1.0/how-to/upgrade-guide.html | 221 + release/1.1.0/index.html | 1859 +++ release/1.2.0/how-to/custom-bootstrap.html | 192 + release/1.2.0/how-to/custom-stage.html | 287 + release/1.2.0/how-to/ddk-configuration.html | 307 + release/1.2.0/how-to/index.html | 1853 +++ .../how-to/multi-account-deployment.html | 279 + release/1.2.0/how-to/private-artifactory.html | 89 + release/1.2.0/how-to/spend-first-hour.html | 82 + release/1.2.0/how-to/understand-concepts.html | 98 + release/1.2.0/how-to/upgrade-guide.html | 221 + release/1.2.0/index.html | 1859 +++ release/1.3.0/how-to/custom-bootstrap.html | 192 + release/1.3.0/how-to/custom-stage.html | 287 + release/1.3.0/how-to/ddk-configuration.html | 307 + release/1.3.0/how-to/index.html | 1853 +++ .../how-to/multi-account-deployment.html | 279 + release/1.3.0/how-to/private-artifactory.html | 89 + release/1.3.0/how-to/spend-first-hour.html | 82 + release/1.3.0/how-to/understand-concepts.html | 98 + release/1.3.0/how-to/upgrade-guide.html | 221 + release/1.3.0/index.html | 1859 +++ release/1.3.1/how-to/custom-bootstrap.html | 192 + release/1.3.1/how-to/custom-stage.html | 287 + release/1.3.1/how-to/ddk-configuration.html | 307 + release/1.3.1/how-to/index.html | 1853 +++ .../how-to/multi-account-deployment.html | 279 + release/1.3.1/how-to/private-artifactory.html | 89 + release/1.3.1/how-to/spend-first-hour.html | 82 + release/1.3.1/how-to/understand-concepts.html | 98 + release/1.3.1/how-to/upgrade-guide.html | 221 + release/1.3.1/index.html | 1859 +++ release/1.4.0/how-to/custom-bootstrap.html | 192 + release/1.4.0/how-to/custom-stage.html | 287 + release/1.4.0/how-to/ddk-configuration.html | 307 + release/1.4.0/how-to/index.html | 1853 +++ .../how-to/multi-account-deployment.html | 279 + release/1.4.0/how-to/private-artifactory.html | 89 + release/1.4.0/how-to/spend-first-hour.html | 82 + release/1.4.0/how-to/understand-concepts.html | 98 + release/1.4.0/how-to/upgrade-guide.html | 221 + release/1.4.0/index.html | 1859 +++ release/beta/api/_static/basic.css | 906 ++ release/beta/api/_static/doctools.js | 326 + .../beta/api/_static/documentation_options.js | 12 + release/beta/api/_static/file.png | Bin 0 -> 286 bytes release/beta/api/_static/jquery-3.5.1.js | 10872 ++++++++++++++++ release/beta/api/_static/jquery.js | 2 + release/beta/api/_static/language_data.js | 297 + release/beta/api/_static/minus.png | Bin 0 -> 90 bytes release/beta/api/_static/plus.png | Bin 0 -> 90 bytes release/beta/api/_static/pygments.css | 250 + .../api/_static/scripts/furo-extensions.js | 0 release/beta/api/_static/scripts/furo.js | 3 + .../api/_static/scripts/furo.js.LICENSE.txt | 7 + release/beta/api/_static/scripts/furo.js.map | 1 + release/beta/api/_static/searchtools.js | 529 + .../api/_static/styles/furo-extensions.css | 2 + .../_static/styles/furo-extensions.css.map | 1 + release/beta/api/_static/styles/furo.css | 2 + release/beta/api/_static/styles/furo.css.map | 1 + release/beta/api/_static/underscore-1.13.1.js | 2042 +++ release/beta/api/_static/underscore.js | 6 + release/beta/api/cli/aws_ddk.commands.html | 299 + release/beta/api/cli/aws_ddk.html | 319 + release/beta/api/cli/aws_ddk.services.html | 281 + release/beta/api/cli/modules.html | 279 + release/beta/api/cli/tests.html | 271 + release/beta/api/cli/tests.unit.html | 265 + release/beta/api/core/aws_ddk_core.base.html | 287 + release/beta/api/core/aws_ddk_core.cicd.html | 291 + .../beta/api/core/aws_ddk_core.config.html | 287 + release/beta/api/core/aws_ddk_core.html | 325 + .../beta/api/core/aws_ddk_core.pipelines.html | 291 + .../beta/api/core/aws_ddk_core.resources.html | 287 + .../beta/api/core/aws_ddk_core.stages.html | 287 + release/beta/api/core/modules.html | 305 + release/beta/api/core/tests.html | 279 + release/beta/api/core/tests.unit.html | 297 + release/beta/api/genindex.html | 236 + release/beta/api/index.html | 289 + release/beta/api/objects.inv | Bin 0 -> 450 bytes release/beta/api/search.html | 244 + release/beta/api/searchindex.js | 1 + release/beta/how-to/index.html | 1814 +++ release/beta/how-to/spend-first-hour.html | 75 + release/beta/how-to/understand-concepts.html | 92 + release/beta/index.html | 1820 +++ release/index.html | 1811 +++ release/latest/how-to/custom-bootstrap.html | 192 + release/latest/how-to/custom-stage.html | 287 + release/latest/how-to/ddk-configuration.html | 307 + release/latest/how-to/index.html | 1853 +++ .../how-to/multi-account-deployment.html | 279 + .../latest/how-to/private-artifactory.html | 89 + release/latest/how-to/spend-first-hour.html | 82 + .../latest/how-to/understand-concepts.html | 98 + release/latest/how-to/upgrade-guide.html | 221 + release/latest/index.html | 1859 +++ release/stable/how-to/custom-bootstrap.html | 192 + release/stable/how-to/custom-stage.html | 287 + release/stable/how-to/ddk-configuration.html | 307 + release/stable/how-to/index.html | 1853 +++ .../how-to/multi-account-deployment.html | 279 + .../stable/how-to/private-artifactory.html | 89 + release/stable/how-to/spend-first-hour.html | 82 + .../stable/how-to/understand-concepts.html | 98 + release/stable/how-to/upgrade-guide.html | 221 + release/stable/index.html | 1859 +++ releases.html | 201 + workshops.html | 97 + 672 files changed, 352976 insertions(+) create mode 100644 .nojekyll create mode 100644 404.html create mode 100644 README.md create mode 100644 about/index.html create mode 100644 assets/css/custom.css create mode 100644 assets/css/style.css create mode 100644 assets/js/tabs.js create mode 100644 favicon.ico create mode 100644 feed.xml create mode 100644 img/ddk-bootstrap-stack.png create mode 100644 img/ddk-logo.svg create mode 100644 img/multi-account-pipeline.png create mode 100644 img/multi-account-stages.png create mode 100644 img/pip-install.gif create mode 100644 img/s3-to-sns.png create mode 100644 img/stack-synthesizer.png create mode 100644 index.html create mode 100644 release/0.1.0/api/_static/basic.css create mode 100644 release/0.1.0/api/_static/doctools.js create mode 100644 release/0.1.0/api/_static/documentation_options.js create mode 100644 release/0.1.0/api/_static/file.png create mode 100644 release/0.1.0/api/_static/jquery-3.5.1.js create mode 100644 release/0.1.0/api/_static/jquery.js create mode 100644 release/0.1.0/api/_static/language_data.js create mode 100644 release/0.1.0/api/_static/minus.png create mode 100644 release/0.1.0/api/_static/plus.png create mode 100644 release/0.1.0/api/_static/pygments.css create mode 100644 release/0.1.0/api/_static/scripts/furo-extensions.js create mode 100644 release/0.1.0/api/_static/scripts/furo.js create mode 100644 release/0.1.0/api/_static/scripts/furo.js.LICENSE.txt create mode 100644 release/0.1.0/api/_static/scripts/furo.js.map create mode 100644 release/0.1.0/api/_static/searchtools.js create mode 100644 release/0.1.0/api/_static/styles/furo-extensions.css create mode 100644 release/0.1.0/api/_static/styles/furo-extensions.css.map create mode 100644 release/0.1.0/api/_static/styles/furo.css create mode 100644 release/0.1.0/api/_static/styles/furo.css.map create mode 100644 release/0.1.0/api/_static/underscore-1.13.1.js create mode 100644 release/0.1.0/api/_static/underscore.js create mode 100644 release/0.1.0/api/cli/aws_ddk.commands.html create mode 100644 release/0.1.0/api/cli/aws_ddk.html create mode 100644 release/0.1.0/api/cli/aws_ddk.services.html create mode 100644 release/0.1.0/api/cli/modules.html create mode 100644 release/0.1.0/api/cli/tests.html create mode 100644 release/0.1.0/api/cli/tests.unit.html create mode 100644 release/0.1.0/api/core/aws_ddk_core.base.html create mode 100644 release/0.1.0/api/core/aws_ddk_core.cicd.html create mode 100644 release/0.1.0/api/core/aws_ddk_core.config.html create mode 100644 release/0.1.0/api/core/aws_ddk_core.html create mode 100644 release/0.1.0/api/core/aws_ddk_core.pipelines.html create mode 100644 release/0.1.0/api/core/aws_ddk_core.resources.html create mode 100644 release/0.1.0/api/core/aws_ddk_core.stages.html create mode 100644 release/0.1.0/api/core/modules.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.base.BaseStack.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.config.Config.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.pipelines.Pipeline.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.pipelines.Stage.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html create mode 100644 release/0.1.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html create mode 100644 release/0.1.0/api/core/tests.html create mode 100644 release/0.1.0/api/core/tests.unit.html create mode 100644 release/0.1.0/api/genindex.html create mode 100644 release/0.1.0/api/index.html create mode 100644 release/0.1.0/api/objects.inv create mode 100644 release/0.1.0/api/py-modindex.html create mode 100644 release/0.1.0/api/search.html create mode 100644 release/0.1.0/api/searchindex.js create mode 100644 release/0.1.0/how-to/index.html create mode 100644 release/0.1.0/how-to/spend-first-hour.html create mode 100644 release/0.1.0/how-to/understand-concepts.html create mode 100644 release/0.1.0/index.html create mode 100644 release/0.1.3/api/_static/basic.css create mode 100644 release/0.1.3/api/_static/doctools.js create mode 100644 release/0.1.3/api/_static/documentation_options.js create mode 100644 release/0.1.3/api/_static/file.png create mode 100644 release/0.1.3/api/_static/jquery-3.5.1.js create mode 100644 release/0.1.3/api/_static/jquery.js create mode 100644 release/0.1.3/api/_static/language_data.js create mode 100644 release/0.1.3/api/_static/minus.png create mode 100644 release/0.1.3/api/_static/plus.png create mode 100644 release/0.1.3/api/_static/pygments.css create mode 100644 release/0.1.3/api/_static/scripts/furo-extensions.js create mode 100644 release/0.1.3/api/_static/scripts/furo.js create mode 100644 release/0.1.3/api/_static/scripts/furo.js.LICENSE.txt create mode 100644 release/0.1.3/api/_static/scripts/furo.js.map create mode 100644 release/0.1.3/api/_static/searchtools.js create mode 100644 release/0.1.3/api/_static/styles/furo-extensions.css create mode 100644 release/0.1.3/api/_static/styles/furo-extensions.css.map create mode 100644 release/0.1.3/api/_static/styles/furo.css create mode 100644 release/0.1.3/api/_static/styles/furo.css.map create mode 100644 release/0.1.3/api/_static/underscore-1.13.1.js create mode 100644 release/0.1.3/api/_static/underscore.js create mode 100644 release/0.1.3/api/cli/aws_ddk.html create mode 100644 release/0.1.3/api/core/aws_ddk_core.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.base.BaseStack.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.config.Config.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.pipelines.Pipeline.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.pipelines.Stage.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.resources.KMSFactory.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.resources.S3Factory.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.resources.SQSFactory.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.stages.S3EventStage.html create mode 100644 release/0.1.3/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html create mode 100644 release/0.1.3/api/genindex.html create mode 100644 release/0.1.3/api/index.html create mode 100644 release/0.1.3/api/objects.inv create mode 100644 release/0.1.3/api/search.html create mode 100644 release/0.1.3/api/searchindex.js create mode 100644 release/0.1.3/how-to/index.html create mode 100644 release/0.1.3/how-to/spend-first-hour.html create mode 100644 release/0.1.3/how-to/understand-concepts.html create mode 100644 release/0.1.3/index.html create mode 100644 release/0.2.0/api/_static/basic.css create mode 100644 release/0.2.0/api/_static/doctools.js create mode 100644 release/0.2.0/api/_static/documentation_options.js create mode 100644 release/0.2.0/api/_static/file.png create mode 100644 release/0.2.0/api/_static/jquery-3.5.1.js create mode 100644 release/0.2.0/api/_static/jquery.js create mode 100644 release/0.2.0/api/_static/language_data.js create mode 100644 release/0.2.0/api/_static/minus.png create mode 100644 release/0.2.0/api/_static/plus.png create mode 100644 release/0.2.0/api/_static/pygments.css create mode 100644 release/0.2.0/api/_static/scripts/furo-extensions.js create mode 100644 release/0.2.0/api/_static/scripts/furo.js create mode 100644 release/0.2.0/api/_static/scripts/furo.js.LICENSE.txt create mode 100644 release/0.2.0/api/_static/scripts/furo.js.map create mode 100644 release/0.2.0/api/_static/searchtools.js create mode 100644 release/0.2.0/api/_static/styles/furo-extensions.css create mode 100644 release/0.2.0/api/_static/styles/furo-extensions.css.map create mode 100644 release/0.2.0/api/_static/styles/furo.css create mode 100644 release/0.2.0/api/_static/styles/furo.css.map create mode 100644 release/0.2.0/api/_static/underscore-1.13.1.js create mode 100644 release/0.2.0/api/_static/underscore.js create mode 100644 release/0.2.0/api/cli/aws_ddk.html create mode 100644 release/0.2.0/api/core/aws_ddk_core.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.base.BaseStack.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.config.Config.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html create mode 100644 release/0.2.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html create mode 100644 release/0.2.0/api/genindex.html create mode 100644 release/0.2.0/api/index.html create mode 100644 release/0.2.0/api/objects.inv create mode 100644 release/0.2.0/api/search.html create mode 100644 release/0.2.0/api/searchindex.js create mode 100644 release/0.2.0/how-to/custom-stage.html create mode 100644 release/0.2.0/how-to/index.html create mode 100644 release/0.2.0/how-to/spend-first-hour.html create mode 100644 release/0.2.0/how-to/understand-concepts.html create mode 100644 release/0.2.0/index.html create mode 100644 release/0.3.0/api/_static/basic.css create mode 100644 release/0.3.0/api/_static/doctools.js create mode 100644 release/0.3.0/api/_static/documentation_options.js create mode 100644 release/0.3.0/api/_static/file.png create mode 100644 release/0.3.0/api/_static/jquery-3.5.1.js create mode 100644 release/0.3.0/api/_static/jquery.js create mode 100644 release/0.3.0/api/_static/language_data.js create mode 100644 release/0.3.0/api/_static/minus.png create mode 100644 release/0.3.0/api/_static/plus.png create mode 100644 release/0.3.0/api/_static/pygments.css create mode 100644 release/0.3.0/api/_static/scripts/furo-extensions.js create mode 100644 release/0.3.0/api/_static/scripts/furo.js create mode 100644 release/0.3.0/api/_static/scripts/furo.js.LICENSE.txt create mode 100644 release/0.3.0/api/_static/scripts/furo.js.map create mode 100644 release/0.3.0/api/_static/searchtools.js create mode 100644 release/0.3.0/api/_static/styles/furo-extensions.css create mode 100644 release/0.3.0/api/_static/styles/furo-extensions.css.map create mode 100644 release/0.3.0/api/_static/styles/furo.css create mode 100644 release/0.3.0/api/_static/styles/furo.css.map create mode 100644 release/0.3.0/api/_static/underscore-1.13.1.js create mode 100644 release/0.3.0/api/_static/underscore.js create mode 100644 release/0.3.0/api/cli/aws_ddk.html create mode 100644 release/0.3.0/api/core/aws_ddk_core.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.base.BaseStack.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.config.Config.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.resources.GlueFactory.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html create mode 100644 release/0.3.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html create mode 100644 release/0.3.0/api/genindex.html create mode 100644 release/0.3.0/api/index.html create mode 100644 release/0.3.0/api/objects.inv create mode 100644 release/0.3.0/api/search.html create mode 100644 release/0.3.0/api/searchindex.js create mode 100644 release/0.3.0/how-to/custom-stage.html create mode 100644 release/0.3.0/how-to/index.html create mode 100644 release/0.3.0/how-to/multi-account-deployment.html create mode 100644 release/0.3.0/how-to/spend-first-hour.html create mode 100644 release/0.3.0/how-to/understand-concepts.html create mode 100644 release/0.3.0/index.html create mode 100644 release/0.4.0/api/_static/basic.css create mode 100644 release/0.4.0/api/_static/doctools.js create mode 100644 release/0.4.0/api/_static/documentation_options.js create mode 100644 release/0.4.0/api/_static/file.png create mode 100644 release/0.4.0/api/_static/jquery-3.5.1.js create mode 100644 release/0.4.0/api/_static/jquery.js create mode 100644 release/0.4.0/api/_static/language_data.js create mode 100644 release/0.4.0/api/_static/minus.png create mode 100644 release/0.4.0/api/_static/plus.png create mode 100644 release/0.4.0/api/_static/pygments.css create mode 100644 release/0.4.0/api/_static/scripts/furo-extensions.js create mode 100644 release/0.4.0/api/_static/scripts/furo.js create mode 100644 release/0.4.0/api/_static/scripts/furo.js.LICENSE.txt create mode 100644 release/0.4.0/api/_static/scripts/furo.js.map create mode 100644 release/0.4.0/api/_static/searchtools.js create mode 100644 release/0.4.0/api/_static/styles/furo-extensions.css create mode 100644 release/0.4.0/api/_static/styles/furo-extensions.css.map create mode 100644 release/0.4.0/api/_static/styles/furo.css create mode 100644 release/0.4.0/api/_static/styles/furo.css.map create mode 100644 release/0.4.0/api/_static/underscore-1.13.1.js create mode 100644 release/0.4.0/api/_static/underscore.js create mode 100644 release/0.4.0/api/cli/aws_ddk.html create mode 100644 release/0.4.0/api/core/aws_ddk_core.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.base.BaseStack.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.config.Config.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.EventStage.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.resources.DMSFactory.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.resources.GlueFactory.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html create mode 100644 release/0.4.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html create mode 100644 release/0.4.0/api/genindex.html create mode 100644 release/0.4.0/api/index.html create mode 100644 release/0.4.0/api/objects.inv create mode 100644 release/0.4.0/api/search.html create mode 100644 release/0.4.0/api/searchindex.js create mode 100644 release/0.4.0/how-to/custom-stage.html create mode 100644 release/0.4.0/how-to/ddk-configuration.html create mode 100644 release/0.4.0/how-to/index.html create mode 100644 release/0.4.0/how-to/multi-account-deployment.html create mode 100644 release/0.4.0/how-to/private-artifactory.html create mode 100644 release/0.4.0/how-to/spend-first-hour.html create mode 100644 release/0.4.0/how-to/understand-concepts.html create mode 100644 release/0.4.0/index.html create mode 100644 release/0.5.1/api/_static/basic.css create mode 100644 release/0.5.1/api/_static/doctools.js create mode 100644 release/0.5.1/api/_static/documentation_options.js create mode 100644 release/0.5.1/api/_static/file.png create mode 100644 release/0.5.1/api/_static/jquery-3.5.1.js create mode 100644 release/0.5.1/api/_static/jquery.js create mode 100644 release/0.5.1/api/_static/language_data.js create mode 100644 release/0.5.1/api/_static/minus.png create mode 100644 release/0.5.1/api/_static/plus.png create mode 100644 release/0.5.1/api/_static/pygments.css create mode 100644 release/0.5.1/api/_static/scripts/furo-extensions.js create mode 100644 release/0.5.1/api/_static/scripts/furo.js create mode 100644 release/0.5.1/api/_static/scripts/furo.js.LICENSE.txt create mode 100644 release/0.5.1/api/_static/scripts/furo.js.map create mode 100644 release/0.5.1/api/_static/searchtools.js create mode 100644 release/0.5.1/api/_static/styles/furo-extensions.css create mode 100644 release/0.5.1/api/_static/styles/furo-extensions.css.map create mode 100644 release/0.5.1/api/_static/styles/furo.css create mode 100644 release/0.5.1/api/_static/styles/furo.css.map create mode 100644 release/0.5.1/api/_static/underscore-1.13.1.js create mode 100644 release/0.5.1/api/_static/underscore.js create mode 100644 release/0.5.1/api/cli/aws_ddk.html create mode 100644 release/0.5.1/api/core/aws_ddk_core.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.base.BaseStack.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.config.Config.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.DataStage.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.EventStage.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.resources.DMSFactory.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.resources.DataBrewFactory.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.resources.GlueFactory.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.resources.KMSFactory.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.resources.S3Factory.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.resources.SQSFactory.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.stages.DataBrewTransformStage.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.stages.S3EventStage.html create mode 100644 release/0.5.1/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html create mode 100644 release/0.5.1/api/genindex.html create mode 100644 release/0.5.1/api/index.html create mode 100644 release/0.5.1/api/objects.inv create mode 100644 release/0.5.1/api/search.html create mode 100644 release/0.5.1/api/searchindex.js create mode 100644 release/0.5.1/how-to/custom-stage.html create mode 100644 release/0.5.1/how-to/ddk-configuration.html create mode 100644 release/0.5.1/how-to/index.html create mode 100644 release/0.5.1/how-to/multi-account-deployment.html create mode 100644 release/0.5.1/how-to/private-artifactory.html create mode 100644 release/0.5.1/how-to/spend-first-hour.html create mode 100644 release/0.5.1/how-to/understand-concepts.html create mode 100644 release/0.5.1/index.html create mode 100644 release/0.6.0/api/_static/basic.css create mode 100644 release/0.6.0/api/_static/doctools.js create mode 100644 release/0.6.0/api/_static/documentation_options.js create mode 100644 release/0.6.0/api/_static/file.png create mode 100644 release/0.6.0/api/_static/jquery-3.5.1.js create mode 100644 release/0.6.0/api/_static/jquery.js create mode 100644 release/0.6.0/api/_static/language_data.js create mode 100644 release/0.6.0/api/_static/minus.png create mode 100644 release/0.6.0/api/_static/plus.png create mode 100644 release/0.6.0/api/_static/pygments.css create mode 100644 release/0.6.0/api/_static/scripts/furo-extensions.js create mode 100644 release/0.6.0/api/_static/scripts/furo.js create mode 100644 release/0.6.0/api/_static/scripts/furo.js.LICENSE.txt create mode 100644 release/0.6.0/api/_static/scripts/furo.js.map create mode 100644 release/0.6.0/api/_static/searchtools.js create mode 100644 release/0.6.0/api/_static/styles/furo-extensions.css create mode 100644 release/0.6.0/api/_static/styles/furo-extensions.css.map create mode 100644 release/0.6.0/api/_static/styles/furo.css create mode 100644 release/0.6.0/api/_static/styles/furo.css.map create mode 100644 release/0.6.0/api/_static/underscore-1.13.1.js create mode 100644 release/0.6.0/api/_static/underscore.js create mode 100644 release/0.6.0/api/cli/aws_ddk.html create mode 100644 release/0.6.0/api/core/aws_ddk_core.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.base.BaseStack.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.config.Config.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.EventStage.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.resources.DMSFactory.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.resources.DataBrewFactory.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.resources.GlueFactory.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.stages.DataBrewTransformStage.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html create mode 100644 release/0.6.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html create mode 100644 release/0.6.0/api/genindex.html create mode 100644 release/0.6.0/api/index.html create mode 100644 release/0.6.0/api/objects.inv create mode 100644 release/0.6.0/api/search.html create mode 100644 release/0.6.0/api/searchindex.js create mode 100644 release/0.6.0/how-to/custom-stage.html create mode 100644 release/0.6.0/how-to/ddk-configuration.html create mode 100644 release/0.6.0/how-to/index.html create mode 100644 release/0.6.0/how-to/multi-account-deployment.html create mode 100644 release/0.6.0/how-to/private-artifactory.html create mode 100644 release/0.6.0/how-to/spend-first-hour.html create mode 100644 release/0.6.0/how-to/understand-concepts.html create mode 100644 release/0.6.0/index.html create mode 100644 release/0.6.1/api/_static/basic.css create mode 100644 release/0.6.1/api/_static/doctools.js create mode 100644 release/0.6.1/api/_static/documentation_options.js create mode 100644 release/0.6.1/api/_static/file.png create mode 100644 release/0.6.1/api/_static/jquery-3.5.1.js create mode 100644 release/0.6.1/api/_static/jquery.js create mode 100644 release/0.6.1/api/_static/language_data.js create mode 100644 release/0.6.1/api/_static/minus.png create mode 100644 release/0.6.1/api/_static/plus.png create mode 100644 release/0.6.1/api/_static/pygments.css create mode 100644 release/0.6.1/api/_static/scripts/furo-extensions.js create mode 100644 release/0.6.1/api/_static/scripts/furo.js create mode 100644 release/0.6.1/api/_static/scripts/furo.js.LICENSE.txt create mode 100644 release/0.6.1/api/_static/scripts/furo.js.map create mode 100644 release/0.6.1/api/_static/searchtools.js create mode 100644 release/0.6.1/api/_static/styles/furo-extensions.css create mode 100644 release/0.6.1/api/_static/styles/furo-extensions.css.map create mode 100644 release/0.6.1/api/_static/styles/furo.css create mode 100644 release/0.6.1/api/_static/styles/furo.css.map create mode 100644 release/0.6.1/api/_static/underscore-1.13.1.js create mode 100644 release/0.6.1/api/_static/underscore.js create mode 100644 release/0.6.1/api/cli/aws_ddk.html create mode 100644 release/0.6.1/api/core/aws_ddk_core.html create mode 100644 release/0.6.1/api/genindex.html create mode 100644 release/0.6.1/api/index.html create mode 100644 release/0.6.1/api/objects.inv create mode 100644 release/0.6.1/api/search.html create mode 100644 release/0.6.1/api/searchindex.js create mode 100644 release/0.6.1/how-to/custom-stage.html create mode 100644 release/0.6.1/how-to/ddk-configuration.html create mode 100644 release/0.6.1/how-to/index.html create mode 100644 release/0.6.1/how-to/multi-account-deployment.html create mode 100644 release/0.6.1/how-to/private-artifactory.html create mode 100644 release/0.6.1/how-to/spend-first-hour.html create mode 100644 release/0.6.1/how-to/understand-concepts.html create mode 100644 release/0.6.1/index.html create mode 100644 release/0.6.2/api/_static/basic.css create mode 100644 release/0.6.2/api/_static/doctools.js create mode 100644 release/0.6.2/api/_static/documentation_options.js create mode 100644 release/0.6.2/api/_static/file.png create mode 100644 release/0.6.2/api/_static/jquery-3.5.1.js create mode 100644 release/0.6.2/api/_static/jquery.js create mode 100644 release/0.6.2/api/_static/language_data.js create mode 100644 release/0.6.2/api/_static/minus.png create mode 100644 release/0.6.2/api/_static/plus.png create mode 100644 release/0.6.2/api/_static/pygments.css create mode 100644 release/0.6.2/api/_static/scripts/furo-extensions.js create mode 100644 release/0.6.2/api/_static/scripts/furo.js create mode 100644 release/0.6.2/api/_static/scripts/furo.js.LICENSE.txt create mode 100644 release/0.6.2/api/_static/scripts/furo.js.map create mode 100644 release/0.6.2/api/_static/searchtools.js create mode 100644 release/0.6.2/api/_static/styles/furo-extensions.css create mode 100644 release/0.6.2/api/_static/styles/furo-extensions.css.map create mode 100644 release/0.6.2/api/_static/styles/furo.css create mode 100644 release/0.6.2/api/_static/styles/furo.css.map create mode 100644 release/0.6.2/api/_static/underscore-1.13.1.js create mode 100644 release/0.6.2/api/_static/underscore.js create mode 100644 release/0.6.2/api/cli/aws_ddk.html create mode 100644 release/0.6.2/api/core/aws_ddk_core.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.base.BaseStack.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.config.Config.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.DataStage.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.EventStage.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.resources.DMSFactory.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.resources.DataBrewFactory.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.resources.GlueFactory.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.resources.KMSFactory.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.resources.S3Factory.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.resources.SQSFactory.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.stages.DataBrewTransformStage.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.stages.S3EventStage.html create mode 100644 release/0.6.2/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html create mode 100644 release/0.6.2/api/genindex.html create mode 100644 release/0.6.2/api/index.html create mode 100644 release/0.6.2/api/objects.inv create mode 100644 release/0.6.2/api/search.html create mode 100644 release/0.6.2/api/searchindex.js create mode 100644 release/0.6.2/how-to/custom-stage.html create mode 100644 release/0.6.2/how-to/ddk-configuration.html create mode 100644 release/0.6.2/how-to/index.html create mode 100644 release/0.6.2/how-to/multi-account-deployment.html create mode 100644 release/0.6.2/how-to/private-artifactory.html create mode 100644 release/0.6.2/how-to/spend-first-hour.html create mode 100644 release/0.6.2/how-to/understand-concepts.html create mode 100644 release/0.6.2/index.html create mode 100644 release/1.0.0-beta.0/how-to/custom-bootstrap.html create mode 100644 release/1.0.0-beta.0/how-to/custom-stage.html create mode 100644 release/1.0.0-beta.0/how-to/ddk-configuration.html create mode 100644 release/1.0.0-beta.0/how-to/index.html create mode 100644 release/1.0.0-beta.0/how-to/multi-account-deployment.html create mode 100644 release/1.0.0-beta.0/how-to/private-artifactory.html create mode 100644 release/1.0.0-beta.0/how-to/spend-first-hour.html create mode 100644 release/1.0.0-beta.0/how-to/understand-concepts.html create mode 100644 release/1.0.0-beta.0/index.html create mode 100644 release/1.0.0-beta.1/how-to/custom-bootstrap.html create mode 100644 release/1.0.0-beta.1/how-to/custom-stage.html create mode 100644 release/1.0.0-beta.1/how-to/ddk-configuration.html create mode 100644 release/1.0.0-beta.1/how-to/index.html create mode 100644 release/1.0.0-beta.1/how-to/multi-account-deployment.html create mode 100644 release/1.0.0-beta.1/how-to/private-artifactory.html create mode 100644 release/1.0.0-beta.1/how-to/spend-first-hour.html create mode 100644 release/1.0.0-beta.1/how-to/understand-concepts.html create mode 100644 release/1.0.0-beta.1/index.html create mode 100644 release/1.0.0-rc.0/how-to/custom-bootstrap.html create mode 100644 release/1.0.0-rc.0/how-to/custom-stage.html create mode 100644 release/1.0.0-rc.0/how-to/ddk-configuration.html create mode 100644 release/1.0.0-rc.0/how-to/index.html create mode 100644 release/1.0.0-rc.0/how-to/multi-account-deployment.html create mode 100644 release/1.0.0-rc.0/how-to/private-artifactory.html create mode 100644 release/1.0.0-rc.0/how-to/spend-first-hour.html create mode 100644 release/1.0.0-rc.0/how-to/understand-concepts.html create mode 100644 release/1.0.0-rc.0/how-to/upgrade-guide.html create mode 100644 release/1.0.0-rc.0/index.html create mode 100644 release/1.0.0/how-to/custom-bootstrap.html create mode 100644 release/1.0.0/how-to/custom-stage.html create mode 100644 release/1.0.0/how-to/ddk-configuration.html create mode 100644 release/1.0.0/how-to/index.html create mode 100644 release/1.0.0/how-to/multi-account-deployment.html create mode 100644 release/1.0.0/how-to/private-artifactory.html create mode 100644 release/1.0.0/how-to/spend-first-hour.html create mode 100644 release/1.0.0/how-to/understand-concepts.html create mode 100644 release/1.0.0/how-to/upgrade-guide.html create mode 100644 release/1.0.0/index.html create mode 100644 release/1.0.1/how-to/custom-bootstrap.html create mode 100644 release/1.0.1/how-to/custom-stage.html create mode 100644 release/1.0.1/how-to/ddk-configuration.html create mode 100644 release/1.0.1/how-to/index.html create mode 100644 release/1.0.1/how-to/multi-account-deployment.html create mode 100644 release/1.0.1/how-to/private-artifactory.html create mode 100644 release/1.0.1/how-to/spend-first-hour.html create mode 100644 release/1.0.1/how-to/understand-concepts.html create mode 100644 release/1.0.1/how-to/upgrade-guide.html create mode 100644 release/1.0.1/index.html create mode 100644 release/1.1.0/how-to/custom-bootstrap.html create mode 100644 release/1.1.0/how-to/custom-stage.html create mode 100644 release/1.1.0/how-to/ddk-configuration.html create mode 100644 release/1.1.0/how-to/index.html create mode 100644 release/1.1.0/how-to/multi-account-deployment.html create mode 100644 release/1.1.0/how-to/private-artifactory.html create mode 100644 release/1.1.0/how-to/spend-first-hour.html create mode 100644 release/1.1.0/how-to/understand-concepts.html create mode 100644 release/1.1.0/how-to/upgrade-guide.html create mode 100644 release/1.1.0/index.html create mode 100644 release/1.2.0/how-to/custom-bootstrap.html create mode 100644 release/1.2.0/how-to/custom-stage.html create mode 100644 release/1.2.0/how-to/ddk-configuration.html create mode 100644 release/1.2.0/how-to/index.html create mode 100644 release/1.2.0/how-to/multi-account-deployment.html create mode 100644 release/1.2.0/how-to/private-artifactory.html create mode 100644 release/1.2.0/how-to/spend-first-hour.html create mode 100644 release/1.2.0/how-to/understand-concepts.html create mode 100644 release/1.2.0/how-to/upgrade-guide.html create mode 100644 release/1.2.0/index.html create mode 100644 release/1.3.0/how-to/custom-bootstrap.html create mode 100644 release/1.3.0/how-to/custom-stage.html create mode 100644 release/1.3.0/how-to/ddk-configuration.html create mode 100644 release/1.3.0/how-to/index.html create mode 100644 release/1.3.0/how-to/multi-account-deployment.html create mode 100644 release/1.3.0/how-to/private-artifactory.html create mode 100644 release/1.3.0/how-to/spend-first-hour.html create mode 100644 release/1.3.0/how-to/understand-concepts.html create mode 100644 release/1.3.0/how-to/upgrade-guide.html create mode 100644 release/1.3.0/index.html create mode 100644 release/1.3.1/how-to/custom-bootstrap.html create mode 100644 release/1.3.1/how-to/custom-stage.html create mode 100644 release/1.3.1/how-to/ddk-configuration.html create mode 100644 release/1.3.1/how-to/index.html create mode 100644 release/1.3.1/how-to/multi-account-deployment.html create mode 100644 release/1.3.1/how-to/private-artifactory.html create mode 100644 release/1.3.1/how-to/spend-first-hour.html create mode 100644 release/1.3.1/how-to/understand-concepts.html create mode 100644 release/1.3.1/how-to/upgrade-guide.html create mode 100644 release/1.3.1/index.html create mode 100644 release/1.4.0/how-to/custom-bootstrap.html create mode 100644 release/1.4.0/how-to/custom-stage.html create mode 100644 release/1.4.0/how-to/ddk-configuration.html create mode 100644 release/1.4.0/how-to/index.html create mode 100644 release/1.4.0/how-to/multi-account-deployment.html create mode 100644 release/1.4.0/how-to/private-artifactory.html create mode 100644 release/1.4.0/how-to/spend-first-hour.html create mode 100644 release/1.4.0/how-to/understand-concepts.html create mode 100644 release/1.4.0/how-to/upgrade-guide.html create mode 100644 release/1.4.0/index.html create mode 100644 release/beta/api/_static/basic.css create mode 100644 release/beta/api/_static/doctools.js create mode 100644 release/beta/api/_static/documentation_options.js create mode 100644 release/beta/api/_static/file.png create mode 100644 release/beta/api/_static/jquery-3.5.1.js create mode 100644 release/beta/api/_static/jquery.js create mode 100644 release/beta/api/_static/language_data.js create mode 100644 release/beta/api/_static/minus.png create mode 100644 release/beta/api/_static/plus.png create mode 100644 release/beta/api/_static/pygments.css create mode 100644 release/beta/api/_static/scripts/furo-extensions.js create mode 100644 release/beta/api/_static/scripts/furo.js create mode 100644 release/beta/api/_static/scripts/furo.js.LICENSE.txt create mode 100644 release/beta/api/_static/scripts/furo.js.map create mode 100644 release/beta/api/_static/searchtools.js create mode 100644 release/beta/api/_static/styles/furo-extensions.css create mode 100644 release/beta/api/_static/styles/furo-extensions.css.map create mode 100644 release/beta/api/_static/styles/furo.css create mode 100644 release/beta/api/_static/styles/furo.css.map create mode 100644 release/beta/api/_static/underscore-1.13.1.js create mode 100644 release/beta/api/_static/underscore.js create mode 100644 release/beta/api/cli/aws_ddk.commands.html create mode 100644 release/beta/api/cli/aws_ddk.html create mode 100644 release/beta/api/cli/aws_ddk.services.html create mode 100644 release/beta/api/cli/modules.html create mode 100644 release/beta/api/cli/tests.html create mode 100644 release/beta/api/cli/tests.unit.html create mode 100644 release/beta/api/core/aws_ddk_core.base.html create mode 100644 release/beta/api/core/aws_ddk_core.cicd.html create mode 100644 release/beta/api/core/aws_ddk_core.config.html create mode 100644 release/beta/api/core/aws_ddk_core.html create mode 100644 release/beta/api/core/aws_ddk_core.pipelines.html create mode 100644 release/beta/api/core/aws_ddk_core.resources.html create mode 100644 release/beta/api/core/aws_ddk_core.stages.html create mode 100644 release/beta/api/core/modules.html create mode 100644 release/beta/api/core/tests.html create mode 100644 release/beta/api/core/tests.unit.html create mode 100644 release/beta/api/genindex.html create mode 100644 release/beta/api/index.html create mode 100644 release/beta/api/objects.inv create mode 100644 release/beta/api/search.html create mode 100644 release/beta/api/searchindex.js create mode 100644 release/beta/how-to/index.html create mode 100644 release/beta/how-to/spend-first-hour.html create mode 100644 release/beta/how-to/understand-concepts.html create mode 100644 release/beta/index.html create mode 100644 release/index.html create mode 100644 release/latest/how-to/custom-bootstrap.html create mode 100644 release/latest/how-to/custom-stage.html create mode 100644 release/latest/how-to/ddk-configuration.html create mode 100644 release/latest/how-to/index.html create mode 100644 release/latest/how-to/multi-account-deployment.html create mode 100644 release/latest/how-to/private-artifactory.html create mode 100644 release/latest/how-to/spend-first-hour.html create mode 100644 release/latest/how-to/understand-concepts.html create mode 100644 release/latest/how-to/upgrade-guide.html create mode 100644 release/latest/index.html create mode 100644 release/stable/how-to/custom-bootstrap.html create mode 100644 release/stable/how-to/custom-stage.html create mode 100644 release/stable/how-to/ddk-configuration.html create mode 100644 release/stable/how-to/index.html create mode 100644 release/stable/how-to/multi-account-deployment.html create mode 100644 release/stable/how-to/private-artifactory.html create mode 100644 release/stable/how-to/spend-first-hour.html create mode 100644 release/stable/how-to/understand-concepts.html create mode 100644 release/stable/how-to/upgrade-guide.html create mode 100644 release/stable/index.html create mode 100644 releases.html create mode 100644 workshops.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/404.html b/404.html new file mode 100644 index 00000000..7bf94fce --- /dev/null +++ b/404.html @@ -0,0 +1,93 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + +
+

404

+

Page not found :(

+

The requested page could not be found.

+
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/README.md b/README.md new file mode 100644 index 00000000..980fb6ec --- /dev/null +++ b/README.md @@ -0,0 +1,43 @@ +# AWS DataOps Development Kit (DDK) Documentation + +## Contributing a How-To Guide + +- All new How-To guides should be created in the `release/next/how-to` directory. +- The guide should include the following front matter at the top of the file, you will need to update the title and possibly the category: + +``` +title: +layout: default +tags: how-to +order: 1 +category: Advanced +``` +- The allowed values for `category` are held in `_data\how-to-categories.yaml`. If you think your how-to guide doesn't fit into one of the existing categories, then add a new entry to this file. +- In `_data\how-to-categories.yaml`, 'name' is displayed as the group header on the How-To indexes and `category` matches to the category in the how-to guide. The `order` variable determines the order of the how-to guide within the category. +- After the front matter, add your how-to guide to the file + +# How to Release + +## 2) Copy the directory +- Snapshot the `next` directory by creating a copy to a new directory under `release` + +```shell +cp -R ./release/next/ ./release/${releaseVersion} +``` + +## 3) Update the config file + +- Edit `_data\versions.yaml` adding a new entry to the end of the array. + +```yaml +- name: # the name of the release - should be the same as ${releaseVersion} + root: ${releaseVersion} +``` + +## Testing Locally with Jekyll +- jekyll install: https://jekyllrb.com/docs/installation/ +``` +cd docs +bundle install +bundle exec jekyll serve +``` diff --git a/about/index.html b/about/index.html new file mode 100644 index 00000000..d5a2b780 --- /dev/null +++ b/about/index.html @@ -0,0 +1,10 @@ +<p>This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at <a href="https://jekyllrb.com/">jekyllrb.com</a></p> + +<p>You can find the source code for Minima at GitHub: +<a href="https://github.com/jekyll">jekyll</a> / +<a href="https://github.com/jekyll/minima">minima</a></p> + +<p>You can find the source code for Jekyll at GitHub: +<a href="https://github.com/jekyll">jekyll</a> / +<a href="https://github.com/jekyll/jekyll">jekyll</a></p> + diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 00000000..2ade2325 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,48 @@ +.tab { + display: flex; + flex-wrap: wrap; + margin-left: -20px; + padding: 0; + list-style: none; + position: relative; +} + +.tab > * { + flex: none; + padding-left: 20px; + position: relative; +} + +.tab > * > a { + display: block; + text-align: center; + padding: 9px 20px; + color: #999; + border-bottom: 2px solid transparent; + border-bottom-color: transparent; + font-size: 12px; + text-transform: uppercase; + transition: color .1s ease-in-out; + line-height: 20px; +} + +.tab > .active > a { + color:#222; + border-color: #1e87f0; +} + +.tab > li > a { + text-decoration: none; + cursor: pointer; +} + +.tab-content { + padding: 0; +} + +.tab-content > li { + display: none; +} +.tab-content > li.active { + display: initial; +} \ No newline at end of file diff --git a/assets/css/style.css b/assets/css/style.css new file mode 100644 index 00000000..2269665a --- /dev/null +++ b/assets/css/style.css @@ -0,0 +1 @@ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap");html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.highlight table td{padding:5px}.highlight table pre{margin:0}.highlight .cm{color:#999988;font-style:italic}.highlight .cp{color:#999999;font-weight:bold}.highlight .c1{color:#999988;font-style:italic}.highlight .cs{color:#999999;font-weight:bold;font-style:italic}.highlight .c,.highlight .cd{color:#999988;font-style:italic}.highlight .err{color:#a61717;background-color:#e3d2d2}.highlight .gd{color:#000000;background-color:#ffdddd}.highlight .ge{color:#000000;font-style:italic}.highlight .gr{color:#aa0000}.highlight .gh{color:#999999}.highlight .gi{color:#000000;background-color:#ddffdd}.highlight .go{color:#888888}.highlight .gp{color:#555555}.highlight .gs{font-weight:bold}.highlight .gu{color:#aaaaaa}.highlight .gt{color:#aa0000}.highlight .kc{color:#000000;font-weight:bold}.highlight .kd{color:#000000;font-weight:bold}.highlight .kn{color:#000000;font-weight:bold}.highlight .kp{color:#000000;font-weight:bold}.highlight .kr{color:#000000;font-weight:bold}.highlight .kt{color:#445588;font-weight:bold}.highlight .k,.highlight .kv{color:#000000;font-weight:bold}.highlight .mf{color:#009999}.highlight .mh{color:#009999}.highlight .il{color:#009999}.highlight .mi{color:#009999}.highlight .mo{color:#009999}.highlight .m,.highlight .mb,.highlight .mx{color:#009999}.highlight .sb{color:#d14}.highlight .sc{color:#d14}.highlight .sd{color:#d14}.highlight .s2{color:#d14}.highlight .se{color:#d14}.highlight .sh{color:#d14}.highlight .si{color:#d14}.highlight .sx{color:#d14}.highlight .sr{color:#009926}.highlight .s1{color:#d14}.highlight .ss{color:#990073}.highlight .s{color:#d14}.highlight .na{color:#008080}.highlight .bp{color:#999999}.highlight .nb{color:#0086B3}.highlight .nc{color:#445588;font-weight:bold}.highlight .no{color:#008080}.highlight .nd{color:#3c5d5d;font-weight:bold}.highlight .ni{color:#800080}.highlight .ne{color:#990000;font-weight:bold}.highlight .nf{color:#990000;font-weight:bold}.highlight .nl{color:#990000;font-weight:bold}.highlight .nn{color:#555555}.highlight .nt{color:#000080}.highlight .vc{color:#008080}.highlight .vg{color:#008080}.highlight .vi{color:#008080}.highlight .nv{color:#008080}.highlight .ow{color:#000000;font-weight:bold}.highlight .o{color:#000000;font-weight:bold}.highlight .w{color:#bbbbbb}.highlight{background-color:#f8f8f8}*{box-sizing:border-box}body{padding:0;margin:0;font-family:"Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;line-height:1.5;color:#606c71}#skip-to-content{height:1px;width:1px;position:absolute;overflow:hidden;top:-10px}#skip-to-content:focus{position:fixed;top:10px;left:10px;height:auto;width:auto;background:#e19447;outline:thick solid #e19447}a{color:#1e6bb8;text-decoration:none}a:hover{text-decoration:underline}.btn{display:inline-block;margin-bottom:1rem;color:rgba(255,255,255,0.7);background-color:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.2);border-style:solid;border-width:1px;border-radius:0.3rem;transition:color 0.2s, background-color 0.2s, border-color 0.2s}.btn:hover{color:rgba(255,255,255,0.8);text-decoration:none;background-color:rgba(255,255,255,0.2);border-color:rgba(255,255,255,0.3)}.btn+.btn{margin-left:1rem}@media screen and (min-width: 72rem){.btn{padding:0.75rem 1rem}}@media screen and (min-width: 42rem) and (max-width: 72rem){.btn{padding:0.6rem 0.9rem;font-size:0.9rem}}@media screen and (max-width: 42rem){.btn{display:block;width:100%;padding:0.75rem;font-size:0.9rem}.btn+.btn{margin-top:1rem;margin-left:0}}.page-header{color:#fff;text-align:center;background-color:#159957;background-image:linear-gradient(120deg, #155799, #159957)}@media screen and (min-width: 72rem){.page-header{padding:5rem 6rem}}@media screen and (min-width: 42rem) and (max-width: 72rem){.page-header{padding:3rem 4rem}}@media screen and (max-width: 42rem){.page-header{padding:2rem 1rem}}.project-name{margin-top:0;margin-bottom:0.1rem}@media screen and (min-width: 72rem){.project-name{font-size:3.25rem}}@media screen and (min-width: 42rem) and (max-width: 72rem){.project-name{font-size:2.25rem}}@media screen and (max-width: 42rem){.project-name{font-size:1.75rem}}.project-tagline{margin-bottom:2rem;font-weight:normal;opacity:0.7}@media screen and (min-width: 72rem){.project-tagline{font-size:1.25rem}}@media screen and (min-width: 42rem) and (max-width: 72rem){.project-tagline{font-size:1.15rem}}@media screen and (max-width: 42rem){.project-tagline{font-size:1rem}}.main-content{word-wrap:break-word}.main-content :first-child{margin-top:0}@media screen and (min-width: 72rem){.main-content{max-width:64rem;padding:2rem 6rem;margin:0 auto;font-size:1.1rem}}@media screen and (min-width: 42rem) and (max-width: 72rem){.main-content{padding:2rem 4rem;font-size:1.1rem}}@media screen and (max-width: 42rem){.main-content{padding:2rem 1rem;font-size:1rem}}.main-content kbd{background-color:#fafbfc;border:1px solid #c6cbd1;border-bottom-color:#959da5;border-radius:3px;box-shadow:inset 0 -1px 0 #959da5;color:#444d56;display:inline-block;font-size:11px;line-height:10px;padding:3px 5px;vertical-align:middle}.main-content img{max-width:100%}.main-content h1,.main-content h2,.main-content h3,.main-content h4,.main-content h5,.main-content h6{margin-top:2rem;margin-bottom:1rem;font-weight:normal;color:#159957}.main-content p{margin-bottom:1em}.main-content code{padding:2px 4px;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:0.9rem;color:#567482;background-color:#f3f6fa;border-radius:0.3rem}.main-content pre{padding:0.8rem;margin-top:0;margin-bottom:1rem;font:1rem Consolas, "Liberation Mono", Menlo, Courier, monospace;color:#567482;word-wrap:normal;background-color:#f3f6fa;border:solid 1px #dce6f0;border-radius:0.3rem}.main-content pre>code{padding:0;margin:0;font-size:0.9rem;color:#567482;word-break:normal;white-space:pre;background:transparent;border:0}.main-content .highlight{margin-bottom:1rem}.main-content .highlight pre{margin-bottom:0;word-break:normal}.main-content .highlight pre,.main-content pre{padding:0.8rem;overflow:auto;font-size:0.9rem;line-height:1.45;border-radius:0.3rem;-webkit-overflow-scrolling:touch}.main-content pre code,.main-content pre tt{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.main-content pre code:before,.main-content pre code:after,.main-content pre tt:before,.main-content pre tt:after{content:normal}.main-content ul,.main-content ol{margin-top:0}.main-content blockquote{padding:0 1rem;margin-left:0;color:#819198;border-left:0.3rem solid #dce6f0}.main-content blockquote>:first-child{margin-top:0}.main-content blockquote>:last-child{margin-bottom:0}.main-content table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;-webkit-overflow-scrolling:touch}.main-content table th{font-weight:bold}.main-content table th,.main-content table td{padding:0.5rem 1rem;border:1px solid #e9ebec}.main-content dl{padding:0}.main-content dl dt{padding:0;margin-top:1rem;font-size:1rem;font-weight:bold}.main-content dl dd{padding:0;margin-bottom:1rem}.main-content hr{height:2px;padding:0;margin:1rem 0;background-color:#eff0f1;border:0}.site-footer{padding-top:2rem;margin-top:2rem;border-top:solid 1px #eff0f1}@media screen and (min-width: 72rem){.site-footer{font-size:1rem}}@media screen and (min-width: 42rem) and (max-width: 72rem){.site-footer{font-size:1rem}}@media screen and (max-width: 42rem){.site-footer{font-size:0.9rem}}.site-footer-owner{display:block;font-weight:bold}.site-footer-credits{color:#819198}.main-content h2{color:#c9208a}.main-content h1{color:#c9208a}body{color:#232F3E}.menu-bar{margin-left:auto;margin-right:auto;display:flex;align-items:center;justify-content:flex-start}.menu-background{position:fixed;left:0;right:0;top:0;z-index:9999}.menu-background-berry{background-color:#504bab}nav a{text-decoration:none}nav ul{list-style:none;margin:0;padding-left:0}nav li{color:#f1f3f3;display:block;float:left;padding:0.7rem;position:relative;text-decoration:none;transition-duration:0.5s}nav li a{color:#f1f3f3}nav li:hover,nav li:focus-within{color:#d4dada;cursor:pointer;transition-duration:0.5s}nav li:focus-within a{outline:none;color:#d4dada;text-decoration:none}nav li:hover a{color:#d4dada;transition-duration:0.5s;text-decoration:none}nav ul li:hover ul li a{color:#232F3E;transition-duration:0.5s;text-decoration:none}nav ul li:hover ul li:hover a{color:#d4dada;transition-duration:0.5s;text-decoration:none}nav ul li ul{background:#262262;visibility:hidden;opacity:0;min-width:5rem;position:absolute;transition:all 0.5s ease;margin-top:1rem;left:0;display:none}nav ul li:hover>ul,nav ul li:focus-within>ul,nav ul li ul:hover,nav ul li ul:focus{visibility:visible;opacity:1;display:block;animation:fadeIn linear 0.25s;-webkit-animation:fadeIn linear 0.25s;-moz-animation:fadeIn linear 0.25s;-o-animation:fadeIn linear 0.25s;-ms-animation:fadeIn linear 0.25s}.nav-title{font-weight:500;font-size:1rem}.nav-item{font-weight:400;font-size:0.9rem}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-ms-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}nav ul li ul li{clear:both;width:100%}.default-content-margin-top{margin-top:48px}.page-header{padding-top:5rem;background-color:#504bab;background-image:none;color:#f1f3f3;text-align:start}.page-header h1{margin-top:-12px;margin-bottom:0}.page-header h3{margin-bottom:0}.title-container{display:flex;flex-direction:column;margin-left:3rem}.image-container{width:10%}.header-container{display:flex;align-items:flex-start;flex-wrap:nowrap;margin-top:1rem;margin-bottom:1rem}.main-areas{display:flex;justify-content:space-around;align-items:stretch}a.box-link{text-decoration:none;color:#c9208a}.box{border:solid 1px #c9208a;border-top-width:0;flex:1;display:flex;flex-direction:column;position:relative;margin-left:1rem;margin-right:1rem}.box h3{margin-top:0;color:#c9208a}.box h5{margin-top:1rem;color:#c9208a}.box-content{text-align:center;padding:1rem}.box-top{border:solid 1px #c9208a;width:100%;height:4px;background-color:#c9208a}.icon{height:90px;width:90px}.btn-div{margin-top:1rem}.button-container{display:flex;align-items:center}.button-item{margin-right:10px;display:flex;flex-direction:row}.header-actions{margin-top:1rem}.header-actions a{text-decoration:none;color:#f1f3f3}.release-links{display:flex;flex-direction:row;font-weight:200}.release-links div:not(:first-child){margin-left:1rem}.btn:hover{color:rgba(212,218,218,0.8);text-decoration:none;background-color:rgba(212,218,218,0.2);border-color:rgba(212,218,218,0.3)}.highlight-link{color:#f1f3f3}.highlight-link:hover{color:#d4dada;cursor:pointer;transition-duration:0.5s}.footer-content{font-size:small;color:#999999;display:flex;justify-content:space-between;flex-direction:row}.how-to-header>li:not(:first-child){margin-top:1rem} diff --git a/assets/js/tabs.js b/assets/js/tabs.js new file mode 100644 index 00000000..669752df --- /dev/null +++ b/assets/js/tabs.js @@ -0,0 +1,182 @@ +/** + * Configure the tabs behavior. + */ +const jekyllTabsConfiguration = { + syncTabsWithSameLabels: false, + addCopyToClipboardButton: false, + copyToClipboardButtonHtml: '<button>Copy</button>', +}; + +const jekyllTabsModule = (function() { + + /** + * Remove all "active" classes on li elements that belong to the given ul element. + */ + const removeActiveClasses = function (ulElement) { + const liElements = ulElement.querySelectorAll('ul > li'); + + Array.prototype.forEach.call(liElements, function(liElement) { + liElement.classList.remove('active'); + }); + } + + /** + * Get the element position looking from the perspective of the parent element. + * + * Considering the following html: + * + * <ul> + * <li class="zero">0</li> + * <li class="one">1</li> + * <li class="two">2</li> + * </ul> + * + * Then getChildPosition(document.querySelector('.one')) would return 1. + */ + const getChildPosition = function (element) { + var parent = element.parentNode; + var i = 0; + + for (var i = 0; i < parent.children.length; i++) { + if (parent.children[i] === element) { + return i; + } + } + + throw new Error('No parent found'); + } + + /** + * Returns a list of elements of the given tag that contains the given text. + */ + const findElementsContaining = function(elementTag, text) { + const elements = document.querySelectorAll(elementTag); + const elementsThatContainText = []; + + for (let i = 0; i < elements.length; i++) { + const element = elements[i]; + + if (element.textContent.includes(text)) { + elementsThatContainText.push(element); + } + } + + return elementsThatContainText; + } + + /** + * Handle adding or removing active classes on tab list items. + */ + const handleTabClicked = function(link) { + liTab = link.parentNode; + ulTab = liTab.parentNode; + liPositionInUl = getChildPosition(liTab); + + if (liTab.className.includes('active')) { + return; + } + + tabContentId = ulTab.getAttribute('data-tab'); + tabContentElement = document.getElementById(tabContentId); + + // Remove all "active" classes first. + removeActiveClasses(ulTab); + removeActiveClasses(tabContentElement); + + // Then add back active classes depending on the tab (ul element) that was clicked on. + tabContentElement.querySelectorAll('ul > li')[liPositionInUl].classList.add('active'); + liTab.classList.add('active'); + } + + /** + * Create a javascript element from html markup. + */ + const createElementFromHtml = function(html) { + const template = document.createElement('template'); + template.innerHTML = html.trim(); + + return template.content.firstChild; + } + + /** + * Copy the given text in the clipboard. + * + * See https://stackoverflow.com/questions/51805395/navigator-clipboard-is-undefined + */ + const copyToClipboard = function(text) { + if (navigator.clipboard && window.isSecureContext) { + navigator.clipboard.writeText(text); + } else { + // Use the 'out of viewport hidden text area' trick + const textArea = document.createElement("textarea"); + textArea.value = text; + + // Move textarea out of the viewport so it's not visible + textArea.style.position = "absolute"; + textArea.style.left = "-999999px"; + + document.body.prepend(textArea); + textArea.select(); + + try { + document.execCommand('copy'); + } catch (error) { + console.error(error); + } finally { + textArea.remove(); + } + }; + } + + return { + findElementsContaining, + handleTabClicked, + createElementFromHtml, + copyToClipboard, + }; + +})(); + +window.addEventListener('load', function () { + const tabLinks = document.querySelectorAll('ul.tab > li > a'); + + Array.prototype.forEach.call(tabLinks, function(link) { + link.addEventListener('click', function (event) { + event.preventDefault(); + + jekyllTabsModule.handleTabClicked(link); + + if (jekyllTabsConfiguration.syncTabsWithSameLabels) { + const linksWithSameName = jekyllTabsModule.findElementsContaining('a', link.textContent); + + for(let i = 0; i < linksWithSameName.length; i++) { + if (linksWithSameName[i] !== link) { + jekyllTabsModule.handleTabClicked(linksWithSameName[i]); + } + } + } + }, false); + }); + + if (jekyllTabsConfiguration.addCopyToClipboardButton) { + const preElements = document.querySelectorAll('ul.tab-content > li pre'); + + for(let i = 0; i < preElements.length; i++) { + const preElement = preElements[i]; + const preParentNode = preElement.parentNode; + const button = jekyllTabsModule.createElementFromHtml(jekyllTabsConfiguration.copyToClipboardButtonHtml); + + preParentNode.style.position = 'relative'; + button.style.position = 'absolute'; + button.style.top = '0px'; + button.style.right = '0px'; + + preParentNode.appendChild(button); + + button.addEventListener('click', function () { + jekyllTabsModule.copyToClipboard(preElement.innerText); + }); + } + } + +}); \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..a7d3e88d195463e7bd74afd1139011e435615e97 GIT binary patch literal 114663 zcmeFa2{=_<`#-+V<QS5fGM(d?XG!Kbipms<km;BUAtEHsF+>!SP%>l+O(aUBLqt?0 zp(IC{Gezd<x6b=M&-dT^exIS9dfvX*^?&zut?TS__TFoK?)!7Ed#!b^djml*hz6n_ zFbE3;szQ(pI42VS`CW__2K9p9@c3W8?|>lmP8cL7_s{PI!Vn}I37*9M@|_uiI*VWs zGx(&|cL)hVp_MS`wDI2EjP%^}plU|lJ=*)ISE+@T+O)M#0kut-m(N~PSWEWtOAw^G zRaaZfG~mtngFtWV*M3(Q(^F2TBgv?@Ttc*2b2?>>`wmM!+4oxF33szw+%7AQ8t-dI zS|YNyvyG3Gi{|I>@gJ`|@p$`(;i;~S&534tiEr{#lBLStjwb5m<(W#ns!lLN(h5aK zB6Y{~;TIR*UDSN84|lQ`hE=6BE^m=%-6KR!o9~&g9LhK`p+fOi=G_?esPB(IVwex> z^39IxKZD04Ac7Ngv9iO;38>A8d}BTu5oSIUCkrzg)B~YmZw=b#MngV=<bcriPS@-; zZzVnb(P1<Z1HlgQ(=t!nhZ-PWhPl*MH)W~94REToPNsQw=ft&I=v23-H>W>CYjJKG zom>xMo*k<Ew03yehBB`;O_WVQ2XnX()r)fQ8#mER!&6{(FMNrz66yGa`CPWfM+=9s z!(-|y{Ijl-9EqL5vcCMb3wt8sg^W2hnn?6ntOam4;`L|`8GVuPh=4l^Wfx*up(67P z1jaO~K?WWE2;sIq5Nk4DqgT<UIsJT%Zh4OcKD;>8^m-`kY3=L->ateJd-@MvdIL8J zh8|3h4RH*3%!@y4T-r4l$i5^(@V|V)5oZEh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qz3MZ@!l>EoUp{dhaH#KeE{EoV6XGA<D>wZcZp+3MRtSNzTOtI|DiOX zG<rUE$qO&{?*5l-B^#du&CCjo@}wQFXr99@iO~O2dG|G()^Ba+PPaT)JIc@;3(Ynj zH0wfhCGLFO(a>xKO=#c4%O0!ynZ^rRn$H|=$_*|iZaGE~aI-t#9UR!^#i4=i?jAa^ zH&;4!R&Lp;yO!OeS<TB9&B`xZ)H_^uvwHD2nfIbC5oYMbUCtB_@v8DA4#lN7_0u@T z1Y8HMI!?hzt9w5gdfgelZj4@`bkao!&$gf(arDf+$}sKk(HMe5WB>6^=|k!3A)MM} zv<01KYHNIp^0Bkx7tL*q_tuOb@a!*@_a>cDf7a}oP`!0Wh2{b~Zry`x6W-bVmPPmv z#wkAWq@UZf9@qP*m!0w(OsYfs>8m;HxIYSK;$K9$r2Jv}3*~aM((fa_4S9E0h5j>Q z06(SWzgC_(WAencHGW}ORn8ZBHpTyJg--F^;{f1~`)exCo$&Mp)E1F$?C`2bl?NZk zU5wk?3V#}Y@pQuLIrl?2JG{#J>9m<mu<DiPU&Xn@-(`m<olHj7Db+yM4Rp%O)$p{X z6#t8Mc<zN?I(ZbQcK)7X0pHQwi?$jb{cVoltv}6~K3Aa=?Y#=m^$6=(MgPuvaM3vO zlXjgpfn?y>-4*)%uxC5>uT}g`{M_%2TTywYaT2xpegmeB%XoX_Uq~L2jchy$|6|-c zINi%BAKX&8KU?ALU*);zp2i)AJGb)eJ+9Z2c0W?_i{|$p`DY*620h5<)QQk2jqM6% zGtQ>``)TY}gr+9%3CBd8U?k1xI*#$u19Q2v2XeXJ;eLM<?zr;3o}JA*=VS4eFbezs E06-qoNB{r; literal 0 HcmV?d00001 diff --git a/feed.xml b/feed.xml new file mode 100644 index 00000000..180824ec --- /dev/null +++ b/feed.xml @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.3">Jekyll</generator><link href="https://github.com/awslabs/aws-ddk/aws-ddk/feed.xml" rel="self" type="application/atom+xml" /><link href="https://github.com/awslabs/aws-ddk/aws-ddk/" rel="alternate" type="text/html" /><updated>2024-05-16T20:20:05+00:00</updated><id>https://github.com/awslabs/aws-ddk/aws-ddk/feed.xml</id><title type="html">AWS DataOps Development KitAn open source development framework to help you build data workflows and modern data architecture on AWS. \ No newline at end of file diff --git a/img/ddk-bootstrap-stack.png b/img/ddk-bootstrap-stack.png new file mode 100644 index 0000000000000000000000000000000000000000..88fc5faab53cc7e82d9619e53e0a52765f8fc96a GIT binary patch literal 66367 zcmeFYWmFtn^e;#f90H9yG#1>0ySqCC5AN>n65KTq+}+(JxVuAe3vScgd;d50z4B-Mvi`?D0LS9bf; zpDS2kGigowwzS3X_%aLmkTKAEag$<)NgO}mPP{|=-WfA8f>EPyK>Utc@Oph@83!z8 zRu%8-msg9|3gI}q!TonWy#ncD5F@QsJrB57K6@G6x#697KL>f&jg{_2+iDyv2sKVj69jRRhqYh#& zdnh&OYYFu`(V?g!G(%DnK`Gyb9JyrFk5$;ck@xHuND^t2!s^Gr2ysF`%b<5a^xD3c zSBv%|p!yjd&`)t9d371wA8t8>Y?qU8$H%WC&`89qMioUBMGy(mLJg=w4t4>*-zEy~ z@5TTRChw2Dh87CFkjT8<^83yvtdmYO_Dy+d+sJQ)K4lGFzu~Fd#ZZT<2uwx{f;W?p zHbh#kHx$FrexR3ft4q~KtP`@!2PRi;stYyxW59{$N6&NVNo3eYzW0p2U~J^fg50sY zG(>k1P{JFsA>csoMxE$ZWiZ(6myt@93kNW)%Q*qpDBN?@EiS-2yUiA*HObG%G%#Gg z*qgkq_SxsUtxa-YPhPcobD#6|_@#3di1985l?bXyf&l)Zo4s;5G*&*3+wCqS9*_dI zU2QgJ*|r`vWL%^U0DPo!6b_gMGPrP3ULh<94nprjMvQ~?{r3%i>8CD$Q>aBkrm@bC zJ|9jYpDWM7el6meEeWekux--CsO~TPiRIbc2)QS0~UU!mh4WA`JiS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+ Produced by OmniGraffle 7.19.4\n2022-02-14 14:47:13 +0000 + + Canvas 2 + + Layer 2 + + + + + + + + + + + + + + + + + + + + + diff --git a/img/multi-account-pipeline.png b/img/multi-account-pipeline.png new file mode 100644 index 0000000000000000000000000000000000000000..62dd33ea33fdd44c877efd4e948e7bd65ed9ef7c GIT binary patch literal 206671 zcmeGEbyQp3_6Cdsg(7W{QlQY{P{C5XI24BhMS{DvxH}|BTZ$LABE<<-+zC?LiUzmh z?iL7lbKdvJy?2an^qeui|9%-G**iPS_FQw#^~`6^ouGG$(hu+`@X*lE9>~f_r~n5D z8XCq|oV&o4DDwa{G_?C>7UJUXWW~j4-Z|QtTUeW+p~(crYGCU|OFx0TnMVDlyav{q>%0`6;8{{m*Ccfy;(lOi& z`^a9He*5@Q6V2?$O?^WXKA{V=U7`PE@Zg5&^P9*wz?g9zs@~DQ_*jF5)}TfcO@=Od zKhSg9LXv}Mnh^b$04(Ds!X?u$(vL_Lm4AB>3W#};|E#Ame-CX*MDn7xX(7TQZa7wl z6oig7612<FS#=+-bE1MH}P~y#zIWDP(3Y$K4@9&zQ#R%J(ZvG;{$pO zDiRD9e7s$`3>^eZPx<0AQ*;L73C_XO)h~}!Uu&b1jfw2O-hhK%^F1(TLVH}P8AX9z z%Jx$#_$uph*aLG_y48*cQ(dt^o98<;<{??iMidYhPHC#dyvleIrn^V&JwG4neVH_G$=E+xoluVw!ic{`inp}^w3H)o|6d?m#29_W0o-i4J?gf z^2V6#-ySQ3GVuR4cYj6orL*<@3+vR^PtK@APs@cC*}n(u``U-4)6FEYyo`mC^lGO2 zUqw!Zmc#oVyZL?-c7IHTIZ4Yo@U!3d$?k(|`+dUoNo>p7shY9ca+E@}XT;I#&3=f4yQ+#h`!qwWrIxKq-wk#5fjPM?B zZ@^xVwyNm|r@4g3FK(eVMGO`azF29epe%+EE=-FO?7mPn#I^P#?&~5x_ZKC^qicRl zNDw8)pMbf=@_9=OKgUnYQ250i5<@=CJL3WUhEFE2PW|ts6F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g$&k97-Ck5tY6BI9gUN`OPvtsl21zfAj~ZhvTHFjakDDrH&M^B-V#YQv&*If$gWM zdca)^o8~pKMhfbd2W!U2w?_BplKCxa)CP-=yqgqQ`rvZYQKG;;i-2UP#t zzuEwna~I?DpZQGcu=Yj@rju%QXYe{`eMEN&AciA_tPa{<%2T#V`=gT2I_5E(o3xJD z?(Myzq?4nfKcZH$b1GYq?XZ$H-ZVukMrJ)j*T&X8J;NJvtAHn=+_+Exx_b#OPhlZ4 zo+VMrof#;$QQ<=Uw2d$CihnpWXZITfp553zm%!Trtq`E915*`uDM6j%Xoa|fez9aq zuB1sIP!#VW=lr@ za7WOY?rNDMH3_uFk7do%QuqICy8XHK_FtmY*7wY%)&375`3JQA=d1sZ-!a?zzW|U- Bvkm|N literal 0 HcmV?d00001 diff --git a/img/s3-to-sns.png b/img/s3-to-sns.png new file mode 100644 index 0000000000000000000000000000000000000000..b79bfe13388fac80d8617f51ffc9d7a89b249074 GIT binary patch literal 18763 zcmb5VWmFtbum_4u&_I9y!GgQHyDkok6Wm$cSuBL$7A&|255XZwaCZriWEW>~*9G4G z@4fGw_w{|4o}QZOI#t!xzwYU-iPhFr#(PEa3JD1bPgO-h7YPYj8d0~y!a$VbgWE}n z8?v{qvK&(V^g9?568bM6MI#@#0DC7_J0wPa`Twmk^6@x=ynPt?6&U&WtUNrpY@Mte zysX^3x!mo15G2HVH;}E9y_22o|MKwh@bPi-@N@Er==1P0^2_pzAPNCtE)jknlmF$n za>aNp?O~4*zG4k*J%hwz964pSOy7fWC?@NFVgS zX8758c{_pJ|Cfzd2q6?<3m+rDBEon7=OlzAr~h+{uc5KLi>Q;4j%8KOw?~jy~3c-u{Z(0tkwnt%JIaoVt*+0Kf$(Z0qakVWP&b zFCZi!C-3LzqOGi^tcfl6H`)ov@v!t+kC0$k-KRtsJOe&7&);rDE*httO&pB&!ax3NWy zDkh@duHJsC4l2I7sv^clg8BhLUdlioCj$k4H5X+>oXW`y3mR&9IohfzyK4Y>gm{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Z}P zm;qp*yzrs_E!%!B#`*C0xNToo2p6VIHs+@R>Qi3Uh~ySHNlP(paFe8%X|o501XHuxJW? zLcg_}zYEUi%Klzk<6jZ@NxML342ylf9GIV2sd(QCr*4$gFL)56lg2k=;}Q->Po)0D zIV(f^{PZUIMt%BAob$nIeYtjlA5~WP=TcCXWv2VY$L^rbklA*LizRDM@BF!4K`meR z`2tj4;(>qfnhLc-t;kUCjO*74C>3-NRwfO*4)`EjdI8UeS0 zeB4pYNT61&*8Zt@TrQnwB+33@TY}1^+%=WLTa-Kj^<`H6*-0_kC%KE78CzQ0Rg%+LNb#a5A-J)|RbW6Z30auoQ8~j{Zd+xfs fCE%8T-4gg8rVoUCO=8t-00000NkvXXu0mjf_UNJe literal 0 HcmV?d00001 diff --git a/img/stack-synthesizer.png b/img/stack-synthesizer.png new file mode 100644 index 0000000000000000000000000000000000000000..370cf87cab2c041896d3ad53322099dc300fc575 GIT binary patch literal 249358 zcmbTe1zeMF+cyp&R2PY7J}iD z_`3$Visbg8jFQi|@ZNo*0cbhHb8z_GwPl8Cv8o=(+@H>wK)-z{sZVhmxT-?9(OB;1 z)QXrnL8S0p3c2m{%{;;yO>21T!cmMZnOP`FO7Y+aby92(qsI;EL2UBu_L$yYit4v! z4A{@5k@LONR9G=%x-{lSm-d(CvT>Zh*Rg|sNTovt)>mKp-NI`A#GH5^OEP}5zkvLs z#Y4iu#C9xtEbPbC2@e_D+eG2GPA`zGw0b zM>2z;GSGPLzW5KDyVH_XTtB!2$`27<+?T&n#QVBeEs4#3>aEB!=_PYQRw2g{BYSO1 z#%1om!^rR3CNheu@>?d?8477WF;6CR$$BOxjQ5uPx&Nk#R6A4*bn>l*`b@%H7DU%@}-Vc{Syg2wkWnJ zx=7rn=XWbf!@O>uEI$eR^_}8o*t1`e$Xhbudy1K;rFYqavL@+IAQ9SA%a-qEUZl+3 zd0Th(-OIv6vcbuPqlrS{{zU$} zDnq1%^^!Q;!B~RN_@u>RSJ|H&f5DesQ2TiEab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J|p<#m6ibQ0jx`{3f2d~p+7b?c7U%ivgFYRl3#8Y{)VrZ9&P!m4aSx|0JY zk$IXocypFi*iC&g!|)D*cE^~kJLHWUvUfe~p)2Vd8<*WJ zRZb-c7a+JjY4Y)2P~5G*I6(fzBxLV)yk=nm0q71l00mx5FRO8XPb~T1?D|oX4MlI; zHW(1{i?~}Q(&SprO97)6c4eWC{)qlQtf jbN_iKe^F#Qd|yKh1>SbuOFcKf1$^``8tGtvw!iy-G0c^6 literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 00000000..66920dd0 --- /dev/null +++ b/index.html @@ -0,0 +1,241 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +

+ + + } +
+
+ +
+
+ +
+

We have recently upgraded to 1.0.0 of the DDK library. See the upgrade guide for more details.

+
+ +
+ +

Overview

+ +

The AWS DataOps Development Kit is an open source development framework for customers that build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +
+ +

The DDK Core is a library of CDK constructs that you can use to build data workflows and modern data architecture on AWS, following our best practice. The DDK Core is modular and extensible, if our best practice doesn’t work for you, then you can update and share your own version with the rest of your organisation by leveraging a private AWS Code Artifact repository.

+ +

You can compose constructs from the DDK Core into a DDK App. Your DDK App can also add contain constructs from the CDK Framework or the AWS Construct Library.

+ +

For a detailed walk-through, check out our Workshop or +take a look at examples.

+ +

Install

+ +

You can install or update the AWS DDK library from the following:

+
    +
  • PyPi +
    pip install aws-ddk-core
    +
    +
  • +
  • NPM +
    npm install aws-ddk-core
    +
    +
  • +
+ +

Build Data Pipelines

+ +

One of the core features of DDK is ability to create Data Pipelines. A DDK DataPipeline +is a chained series of stages. It automatically “wires” the stages together using +AWS EventBridge Rules .

+ +

DDK comes with a library of stages, however users can also create their own based on their use cases, +and are encouraged to share them with the community.

+ +

Let’s take a look at an example below:

+ +
...
+
+firehose_s3_stage = FirehoseToS3Stage(
+    self,
+    "ddk-firehose-s3",
+    bucket=ddk_bucket,
+    data_output_prefix="raw/",
+)
+sqs_lambda_stage = SqsToLambdaStage(
+    scope=self,
+    id="ddk-sqs-lambda",
+    code=Code.from_asset("./lambda"),
+    handler="index.lambda_handler",
+    layers=[
+        LayerVersion.from_layer_version_arn(
+            self,
+            "ddk-lambda-layer-wrangler",
+            f"arn:aws:lambda:{self.region}:336392948345:layer:AWSSDKPandas-Python39:1",
+        )
+    ]
+)
+
+(
+    DataPipeline(scope=self, id="ddk-pipeline")
+    .add_stage(firehose_s3_stage)
+    .add_stage(sqs_lambda_stage)
+)
+...
+
+ +

First, we import the required resources from the aws_ddk_core library, including the two stage constructs: +FirehoseToS3Stage(), and +SqsToLambdaStage(). +These two classes are then instantiated and the delivery stream is configured with the S3 prefix (raw/). +Finally, the DDK DataPipeline construct is used to chain these two stages together into a data pipeline.

+ +

Complete source code of the data pipeline above can be found in +AWS DDK Examples - Basic Data Pipeline.

+ +
+
+ +
+
+ +
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.1.0/api/_static/basic.css b/release/0.1.0/api/_static/basic.css new file mode 100644 index 00000000..bf18350b --- /dev/null +++ b/release/0.1.0/api/_static/basic.css @@ -0,0 +1,906 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 450px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a.brackets:before, +span.brackets > a:before{ + content: "["; +} + +a.brackets:after, +span.brackets > a:after { + content: "]"; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +dl.footnote > dt, +dl.citation > dt { + float: left; + margin-right: 0.5em; +} + +dl.footnote > dd, +dl.citation > dd { + margin-bottom: 0em; +} + +dl.footnote > dd:after, +dl.citation > dd:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dt:after { + content: ":"; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/release/0.1.0/api/_static/doctools.js b/release/0.1.0/api/_static/doctools.js new file mode 100644 index 00000000..e509e483 --- /dev/null +++ b/release/0.1.0/api/_static/doctools.js @@ -0,0 +1,326 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated === 'undefined') + return string; + return (typeof translated === 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated === 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) === 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this === '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keydown(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box, textarea, dropdown or button + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' + && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey + && !event.shiftKey) { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + break; + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + break; + } + } + }); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/release/0.1.0/api/_static/documentation_options.js b/release/0.1.0/api/_static/documentation_options.js new file mode 100644 index 00000000..87d81882 --- /dev/null +++ b/release/0.1.0/api/_static/documentation_options.js @@ -0,0 +1,12 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: '0.1.0', + LANGUAGE: 'None', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false +}; \ No newline at end of file diff --git a/release/0.1.0/api/_static/file.png b/release/0.1.0/api/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/release/0.1.0/api/_static/jquery-3.5.1.js b/release/0.1.0/api/_static/jquery-3.5.1.js new file mode 100644 index 00000000..50937333 --- /dev/null +++ b/release/0.1.0/api/_static/jquery-3.5.1.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk.commands package

+
+

Submodules

+
+
+

aws_ddk.commands.bootstrap module

+
+
+

aws_ddk.commands.create module

+
+
+

aws_ddk.commands.deploy module

+
+
+

aws_ddk.commands.init module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/cli/aws_ddk.html b/release/0.1.0/api/cli/aws_ddk.html new file mode 100644 index 00000000..c0cce554 --- /dev/null +++ b/release/0.1.0/api/cli/aws_ddk.html @@ -0,0 +1,485 @@ + + + + + + + + aws_ddk package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk package

+
+

ddk

+

AWS DDK CLI.

+
ddk [OPTIONS] COMMAND [ARGS]...
+
+
+

Options

+
+
+--version
+

Show the version and exit.

+
+
+
+--debug, --no-debug
+

Turn debug logging on/off.

+
+
Default
+

False

+
+
+
+
+

bootstrap

+

Bootstrap the AWS account with DDK resources.

+
ddk bootstrap [OPTIONS]
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
Default
+

default

+
+
+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+--prefix <prefix>
+

The prefix to resource names.

+
+
Default
+

ddk

+
+
+
+
+
+--qualifier <qualifier>
+

The CDK bootstrap qualifier.

+
+
+
+-a, --trusted-accounts <trusted_accounts>
+

List of trusted AWS accounts to perform deployments (e.g. -a 111111111111 -a 222222222222).

+
+
+
+-i, --iam-policies <iam_policies>
+

List of IAM managed policy ARNs that should be attached to the role performing deployments. +(e.g. -i arn1 -i arn2)

+
+
+
+--permissions-boundary <permissions_boundary>
+

IAM managed permissions boundary policy ARN that should be attached to the role performing deployments.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the stack (e.g -t CostCenter 1984 -t Framework DDK).

+
+
+
+

create-repository

+

Create a code repository from the source system provider.

+

NAME is the name of the repository.

+
ddk create-repository [OPTIONS] NAME
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
Default
+

default

+
+
+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+-d, --description <description>
+

The description of the repository.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the repository (e.g -t CostCenter 1984 -t Framework DDK).

+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+

deploy

+

Deploy DDK stacks to AWS account.

+
ddk deploy [OPTIONS]
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
Default
+

default

+
+
+
+
+
+--require-approval <require_approval>
+

What security-sensitive changes need manual approval.

+
+
Options
+

never | any-change | broadening

+
+
+
+
+
+-f, --force
+

Always deploy stack even if templates are identical.

+
+
+
+-o, --output-dir <output_dir>
+

Directory where cloud assembly is synthesized.

+
+
+
+

init

+

Create the local structure for a new AWS DDK Python project.

+

NAME is the name of the project.

+
ddk init [OPTIONS] NAME
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-t, --template <template>
+

A directory containing a project template directory, or a URL to a git repository

+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/cli/aws_ddk.services.html b/release/0.1.0/api/cli/aws_ddk.services.html new file mode 100644 index 00000000..3d6346e2 --- /dev/null +++ b/release/0.1.0/api/cli/aws_ddk.services.html @@ -0,0 +1,281 @@ + + + + + + + + aws_ddk.services package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk.services package

+
+

Submodules

+
+
+

aws_ddk.services.cfn module

+
+
+

aws_ddk.services.codecommit module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/cli/modules.html b/release/0.1.0/api/cli/modules.html new file mode 100644 index 00000000..feebf3ee --- /dev/null +++ b/release/0.1.0/api/cli/modules.html @@ -0,0 +1,279 @@ + + + + + + + + cli - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ + +
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/cli/tests.html b/release/0.1.0/api/cli/tests.html new file mode 100644 index 00000000..be48afa9 --- /dev/null +++ b/release/0.1.0/api/cli/tests.html @@ -0,0 +1,271 @@ + + + + + + + + tests package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/cli/tests.unit.html b/release/0.1.0/api/cli/tests.unit.html new file mode 100644 index 00000000..67f77d64 --- /dev/null +++ b/release/0.1.0/api/cli/tests.unit.html @@ -0,0 +1,265 @@ + + + + + + + + tests.unit package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

tests.unit package

+
+

Submodules

+
+
+

tests.unit.test_cli module

+
+
+

Module contents

+
+
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/aws_ddk_core.base.html b/release/0.1.0/api/core/aws_ddk_core.base.html new file mode 100644 index 00000000..910e9eaf --- /dev/null +++ b/release/0.1.0/api/core/aws_ddk_core.base.html @@ -0,0 +1,287 @@ + + + + + + + + aws_ddk_core.base package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.base package

+
+

Submodules

+
+
+

aws_ddk_core.base.stack module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/aws_ddk_core.cicd.html b/release/0.1.0/api/core/aws_ddk_core.cicd.html new file mode 100644 index 00000000..9622363d --- /dev/null +++ b/release/0.1.0/api/core/aws_ddk_core.cicd.html @@ -0,0 +1,291 @@ + + + + + + + + aws_ddk_core.cicd package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.cicd package

+
+

Submodules

+
+
+

aws_ddk_core.cicd.actions module

+
+
+

aws_ddk_core.cicd.pipeline module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/aws_ddk_core.config.html b/release/0.1.0/api/core/aws_ddk_core.config.html new file mode 100644 index 00000000..a09aa73c --- /dev/null +++ b/release/0.1.0/api/core/aws_ddk_core.config.html @@ -0,0 +1,287 @@ + + + + + + + + aws_ddk_core.config package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config package

+
+

Submodules

+
+
+

aws_ddk_core.config.config module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/aws_ddk_core.html b/release/0.1.0/api/core/aws_ddk_core.html new file mode 100644 index 00000000..39b3fd86 --- /dev/null +++ b/release/0.1.0/api/core/aws_ddk_core.html @@ -0,0 +1,397 @@ + + + + + + + + aws_ddk_core package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core package

+ +
+

Base

+
++++ + + + + + +

BaseStack(*args, **kwargs)

Base Stack to inherit from.

+
+
+

CICD

+
++++ + + + + + +

CICDPipelineStack(*args, **kwargs)

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+
+
+

Config

+
++++ + + + + + + + + +

Config([config_strategy])

Class used to read configuration with a configurable strategy.

JSONConfigStrategy([path])

Read config from ddk.json in the root of the repo.

+
+
+

Pipelines

+
++++ + + + + + + + + +

Pipeline(*args, **kwargs)

Class that represents a data pipeline.

Stage(*args, **kwargs)

Class that represents a stage within a data pipeline.

+
+
+

Resources

+
++++ + + + + + + + + + + + + + + +

KMSFactory()

Class factory to create and configure Key Management Service DDK resources, including Keys.

LambdaFactory()

Class factory to create and configure Lambda DDK resources, including Functions.

S3Factory()

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

SQSFactory()

Class factory create and configure Simple Queue Service DDK resources, including Queues.

+
+
+

Stages

+
++++ + + + + + + + + + + + +

GlueTransformStage(*args, **kwargs)

Class that represents a Glue Transform DDK Stage.

S3EventStage(*args, **kwargs)

Class that represents an S3 Event DDK Stage.

SqsToLambdaStage(*args, **kwargs)

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/aws_ddk_core.pipelines.html b/release/0.1.0/api/core/aws_ddk_core.pipelines.html new file mode 100644 index 00000000..89cc6f7e --- /dev/null +++ b/release/0.1.0/api/core/aws_ddk_core.pipelines.html @@ -0,0 +1,291 @@ + + + + + + + + aws_ddk_core.pipelines package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines package

+
+

Submodules

+
+
+

aws_ddk_core.pipelines.pipeline module

+
+
+

aws_ddk_core.pipelines.stage module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/aws_ddk_core.resources.html b/release/0.1.0/api/core/aws_ddk_core.resources.html new file mode 100644 index 00000000..4af48127 --- /dev/null +++ b/release/0.1.0/api/core/aws_ddk_core.resources.html @@ -0,0 +1,287 @@ + + + + + + + + aws_ddk_core.resources package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources package

+
+

Submodules

+
+
+

aws_ddk_core.resources.commons module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/aws_ddk_core.stages.html b/release/0.1.0/api/core/aws_ddk_core.stages.html new file mode 100644 index 00000000..dece7a58 --- /dev/null +++ b/release/0.1.0/api/core/aws_ddk_core.stages.html @@ -0,0 +1,287 @@ + + + + + + + + aws_ddk_core.stages package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages package

+
+

Submodules

+
+
+

aws_ddk_core.stages.sqs_lambda module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/modules.html b/release/0.1.0/api/core/modules.html new file mode 100644 index 00000000..629178d9 --- /dev/null +++ b/release/0.1.0/api/core/modules.html @@ -0,0 +1,305 @@ + + + + + + + + core - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ + +
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.base.BaseStack.html b/release/0.1.0/api/core/stubs/aws_ddk_core.base.BaseStack.html new file mode 100644 index 00000000..1c7916e9 --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.base.BaseStack.html @@ -0,0 +1,413 @@ + + + + + + + + aws_ddk_core.base.BaseStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.base.BaseStack

+
+
+class aws_ddk_core.base.BaseStack(*args: Any, **kwargs)
+

Base Stack to inherit from.

+

Includes configurable termination protection, synthesizer, permissions boundary and tags.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, termination_protection: Optional[bool] = None, permissions_boundary_arn: Optional[str] = None, synthesizer: Optional[aws_cdk.DefaultStackSynthesizer] = None, **kwargs: Any) None
+

Create a stack.

+

Includes termination protection settings, multi-level (application, environment, and stack-level) tags, +and permissions boundary.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stack

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • termination_protection (Optional[bool]) – Stack termination protection

  • +
  • permissions_boundary_arn (Optional[str]) – ARN of the permissions boundary managed policy

  • +
  • synthesizer (Optional[DefaultStackSynthesizer]) – CDK synthesizer configuration +https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html#bootstrapping-synthesizers

  • +
  • kwargs (Any) – Additional arguments

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Create a stack.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_transform(transform)

Add a Transform to this stack.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

(deprecated) Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html b/release/0.1.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html new file mode 100644 index 00000000..cbb4a4db --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html @@ -0,0 +1,520 @@ + + + + + + + + aws_ddk_core.cicd.CICDPipelineStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.cicd.CICDPipelineStack

+
+
+class aws_ddk_core.cicd.CICDPipelineStack(*args: Any, **kwargs)
+

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+

The pipeline is based on CDK self-mutating pipeline but includes +several DDK-specific features, including:

+
    +
  • Ability to configure some properties via JSON config e.g. manual approvals for application stages

  • +
  • Defaults for source/synth - CodeCommit & cdk synth, with ability to override them

  • +
  • Ability to connect to private artifactory to pull artifacts from at synth

  • +
  • Security best practices - ensures pipeline buckets block non-SSL, and are KMS-encrypted with rotated keys

  • +
  • Builder interface to avoid chunky constructor methods

  • +
+

The user should be able to reuse the pipeline in multiple DDK applications hoping to save LOC.

+

Example:

+
pipeline = (
+    CICDPipelineStack(
+        app,
+        id="my-pipeline",
+        environment_id="cicd",
+        pipeline_name="MyPipeline",
+    )
+    .add_source_action(repository_name="my-repo")
+    .add_synth_action()
+    .build()
+    .add_stage("dev", DevStage(app, "dev"))
+)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, pipeline_name: Optional[str] = None, env: Optional[aws_cdk.Environment] = None, **kwargs: Any) None
+

Start building Code Pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • environment_id (str) – Identifier of the environment that will contain the pipeline

  • +
  • pipeline_name (Optional[str]) – Name of the pipeline

  • +
  • env (Optional[Environment]) – Environment

  • +
  • kwargs (Any) – Additional args

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Start building Code Pipeline.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_source_action([repository_name, branch, ...])

Add source action.

add_stage(stage_id, stage[, manual_approvals])

Add application stage to the CICD pipeline.

add_synth_action([codeartifact_repository, ...])

Add synth action.

add_transform(transform)

Add a Transform to this stack.

build()

Build the pipeline structure.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

(deprecated) Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+add_source_action(repository_name: Optional[str] = None, branch: str = 'main', source_action: Optional[aws_cdk.pipelines.CodePipelineSource] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add source action.

+
+
Parameters
+
    +
  • repository_name (Optional[str]) – Name of the SCM repository

  • +
  • branch (str) – Branch of the SCM repository

  • +
  • source_action (Optional[CodePipelineSource]) – Override source action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_stage(stage_id: str, stage: aws_cdk.Stage, manual_approvals: Optional[bool] = False) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add application stage to the CICD pipeline. This stage deploys your application infrastructure.

+
+
Parameters
+
    +
  • stage_id (str) – Identifier of the stage

  • +
  • stage (Stage) – Application stage instance

  • +
  • manual_approvals (Optional[bool]) – Configure manual approvals. False by default

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_synth_action(codeartifact_repository: Optional[str] = None, codeartifact_domain: Optional[str] = None, codeartifact_domain_owner: Optional[str] = None, role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, synth_action: Optional[aws_cdk.pipelines.CodeBuildStep] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add synth action. During synth can connect and pull artifacts from a private artifactory.

+
+
Parameters
+
    +
  • codeartifact_repository (Optional[str]) – Name of the CodeArtifact repository to pull artifacts from

  • +
  • codeartifact_domain (Optional[str]) – Name of the CodeArtifact domain

  • +
  • codeartifact_domain_owner (Optional[str]) – CodeArtifact domain owner account

  • +
  • role_policy_statements (Optional[List[PolicyStatement]]) – Additional policies to add to the synth action role

  • +
  • synth_action (Optional[CodeBuildStep]) – Override synth action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+build() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Build the pipeline structure.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.config.Config.html b/release/0.1.0/api/core/stubs/aws_ddk_core.config.Config.html new file mode 100644 index 00000000..2aa14248 --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.config.Config.html @@ -0,0 +1,381 @@ + + + + + + + + aws_ddk_core.config.Config - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.Config

+
+
+class aws_ddk_core.config.Config(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None)
+

Class used to read configuration with a configurable strategy.

+
+
+__init__(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None) None
+

Create Config class instance.

+

Provide ConfigStrategy to determine how/where the config should be read from. +Reads from cdk.json in the root of the repo by default.

+
+
Parameters
+

config_strategy (Optional[ConfigStrategy]) – Strategy that determines how and where to read config from. JSONConfigStrategy by default

+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__([config_strategy])

Create Config class instance.

get_cdk_version()

Return CDK version.

get_env(environment_id)

Get environment representing AWS account and region.

get_env_config(environment_id)

Get environment config.

get_resource_config(environment_id, id)

Get resource config of the resource with given id in the environment with the given environment id.

get_tags()

Return tags.

+
+
+get_cdk_version() Optional[str]
+

Return CDK version.

+
+
Returns
+

cdk_version – CDK version

+
+
Return type
+

Optional[str]

+
+
+
+
+
+get_env(environment_id: str) aws_cdk.Environment
+

Get environment representing AWS account and region.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env – CDK Environment(account, region)

+
+
Return type
+

Environment

+
+
+
+
+
+get_env_config(environment_id: str) Dict[str, Any]
+

Get environment config.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env_config – Dictionary that contains config for the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_resource_config(environment_id: str, id: str) Dict[str, Any]
+

Get resource config of the resource with given id in the environment with the given environment id.

+
+
Parameters
+
    +
  • environment_id (str) – Identifier of the environment

  • +
  • id (str) – Identifier of the resource

  • +
+
+
Returns
+

config – Dictionary that contains config for the given resource in the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_tags() Dict[str, str]
+

Return tags.

+
+
Returns
+

tags – Dict of a form {‘tag_key’: ‘value’}

+
+
Return type
+

Dict[str, str]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html b/release/0.1.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html new file mode 100644 index 00000000..27d040c8 --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html @@ -0,0 +1,307 @@ + + + + + + + + aws_ddk_core.config.JSONConfigStrategy - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.JSONConfigStrategy

+
+
+class aws_ddk_core.config.JSONConfigStrategy(path: str = './ddk.json')
+

Read config from ddk.json in the root of the repo.

+

Can be used to read from any JSON file by specifying a different path.

+
+
+__init__(path: str = './ddk.json') None
+

Load the JSON file in the given path.

+
+
Parameters
+

path (str) – Path to the JSON config, ‘./ddk.json’ by default

+
+
+
+

Methods

+
++++ + + + + + + + + +

__init__([path])

Load the JSON file in the given path.

get_config(key)

Get config by key.

+
+
+get_config(key: str) Any
+

Get config by key.

+
+
Parameters
+

key (str) – Key

+
+
Returns
+

config – Dictionary that contains the configuration

+
+
Return type
+

Any

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.pipelines.Pipeline.html b/release/0.1.0/api/core/stubs/aws_ddk_core.pipelines.Pipeline.html new file mode 100644 index 00000000..a0e98b6c --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.pipelines.Pipeline.html @@ -0,0 +1,364 @@ + + + + + + + + aws_ddk_core.pipelines.Pipeline - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.Pipeline

+
+
+class aws_ddk_core.pipelines.Pipeline(*args: Any, **kwargs)
+

Class that represents a data pipeline. Used to wire stages via Event Rules. For example:

+
Pipeline(self, id, description="My pipeline")
+    .add_stage(my_lambda_stage)
+    .add_stage(my_glue_stage)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a data pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • name (Optional[str]) – Name of the pipeline

  • +
  • description (Optional[str]) – Description of the pipeline

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a data pipeline.

add_rule([id, event_pattern, event_targets, ...])

Create a rule that matches specificed event pattern with the specified target.

add_stage(stage[, skip_rule, override_rule])

Add a stage to the data pipeline.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+add_rule(id: Optional[str] = None, event_pattern: Optional[aws_cdk.aws_events.EventPattern] = None, event_targets: Optional[List[aws_cdk.aws_events.IRuleTarget]] = None, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.Pipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+
    +
  • id (Optional[str]) – Identifier of the rule

  • +
  • event_pattern (Optional[EventPattern]) – Event pattern of the rule

  • +
  • event_targets (Optional[List[IRuleTarget]]) – Target of the rule - usually previous_stage.get_targets()

  • +
  • override_rule (Optional[Rule]) – Custom rule

  • +
+
+
Returns
+

pipeline – Pipeline

+
+
Return type
+

Pipeline

+
+
+
+
+
+add_stage(stage: aws_ddk_core.pipelines.stage.Stage, skip_rule: bool = False, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.Pipeline
+

Add a stage to the data pipeline.

+

By default, creates an Event Rule that matches output event pattern of the previous stage +with targets of the next one.

+
+
Parameters
+
    +
  • stage (Stage) – Stage instance

  • +
  • skip_rule (bool) – Skip creation of the default rule

  • +
  • override_rule (Optional[Rule]) – Override the default rule by the rule specified in this parameter

  • +
+
+
Returns
+

pipeline – Pipeline

+
+
Return type
+

Pipeline

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.pipelines.Stage.html b/release/0.1.0/api/core/stubs/aws_ddk_core.pipelines.Stage.html new file mode 100644 index 00000000..88f463c9 --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.pipelines.Stage.html @@ -0,0 +1,378 @@ + + + + + + + + aws_ddk_core.pipelines.Stage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.Stage

+
+
+class aws_ddk_core.pipelines.Stage(*args: Any, **kwargs)
+

Class that represents a stage within a data pipeline.

+

To create a Stage, inherit from this class, add infrastructure required by the stage, and implement +get_event_pattern and get_targets methods. For example:

+
class MyStage(Stage):
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+    ) -> None:
+        # Define stage infrastructure, for example a queue
+        self._queue = SQSFactory.queue(
+            self,
+            id,
+            environment_id,
+        )
+
+    @property
+    def queue(self) -> Queue:
+        '''
+        Return: Queue
+            The SQS queue
+        '''
+        return self._queue
+
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=["my-detail-type"],
+        )
+
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SqsQueue(self._queue)]
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+abstract get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+abstract get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html b/release/0.1.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html new file mode 100644 index 00000000..c194c07b --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html @@ -0,0 +1,319 @@ + + + + + + + + aws_ddk_core.resources.KMSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KMSFactory

+
+
+class aws_ddk_core.resources.KMSFactory
+

Class factory to create and configure Key Management Service DDK resources, including Keys.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

key(scope, id, environment_id[, alias, ...])

Create and configure KMS key.

+
+
+static key(scope: constructs.Construct, id: str, environment_id: str, alias: Optional[str] = None, enable_key_rotation: Optional[bool] = None, pending_window: Optional[aws_cdk.Duration] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, **key_props: Any) aws_cdk.aws_kms.IKey
+

Create and configure KMS key.

+

This construct allows to configure parameters of the key using ddk.json configuration file +depending on the environment_id in which the key is used. Supported parameters are: +enable_key_rotation,`pending_window`, and removal_policy.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the key

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • alias (Optional[str]) – Key alias

  • +
  • enable_key_rotation (Optional[bool]) – Indicates whether AWS KMS rotates the key. True by default.

  • +
  • pending_window (Optional[Duration]) – Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been +removed from a CloudFormation stack. aws_cdk.Duration.days(30) by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Whether the encryption key should be retained when it is removed from the Stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • key_props (Any) – Additional key properties. For complete list of properties refer to CDK Documentation - +KMS Key: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_kms/Key.html

  • +
+
+
Returns
+

key – KMS key

+
+
Return type
+

aws_cdk.aws_kms.Key

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html b/release/0.1.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html new file mode 100644 index 00000000..836b22f4 --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html @@ -0,0 +1,329 @@ + + + + + + + + aws_ddk_core.resources.LambdaFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.LambdaFactory

+
+
+class aws_ddk_core.resources.LambdaFactory
+

Class factory to create and configure Lambda DDK resources, including Functions.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

add_vpc_permissions(fn)

function(scope, id, environment_id, code, ...)

Create and configure Lambda function.

+
+
+static function(scope: constructs.Construct, id: str, environment_id: str, code: aws_cdk.aws_lambda.Code, handler: str, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, function_name: typing.Optional[str] = None, description: typing.Optional[str] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, dead_letter_queue_enabled: typing.Optional[bool] = None, dead_letter_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, **function_props: typing.Any) aws_cdk.aws_lambda.IFunction
+

Create and configure Lambda function.

+

This construct allows to configure parameters of the function using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +dead_letter_queue_enabled,`memory_size`, environment, profiling, +reserved_concurrent_executions, timeout, tracing, max_event_age, retry_attempts, +allow_all_outbound, and allow_public_subnet.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Lambda function

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Code) – The source code of the Lambda function

  • +
  • handler (str) – The name of the method within the code that Lambda calls to execute the function

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function

  • +
  • function_name (Optional[str]) – The name of the Lambda function

  • +
  • description (Optional[str]) – The description of the Lambda function

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • dead_letter_queue_enabled (Optional[bool]) – Determines if DLQ is enabled. False by default.

  • +
  • dead_letter_queue (Optional[IQueue]) – The SQS queue to use if DLQ is enabled

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default.

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default.

  • +
  • function_props (Any) – Additional function properties. For complete list of properties refer to CDK Documentation - +Lambda Function: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_lambda/Function.html

  • +
+
+
Returns
+

fn – Lambda function

+
+
Return type
+

aws_cdk.aws_lambda.Function

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html b/release/0.1.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html new file mode 100644 index 00000000..be0b3fa2 --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html @@ -0,0 +1,320 @@ + + + + + + + + aws_ddk_core.resources.S3Factory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.S3Factory

+
+
+class aws_ddk_core.resources.S3Factory
+

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

bucket(scope, id, environment_id[, ...])

Create and configure S3 bucket.

+
+
+static bucket(scope: constructs.Construct, id: str, environment_id: str, bucket_name: Optional[str] = None, versioned: Optional[bool] = None, access_control: Optional[aws_cdk.aws_s3.BucketAccessControl] = None, block_public_access: Optional[aws_cdk.aws_s3.BlockPublicAccess] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, encryption: Optional[aws_cdk.aws_s3.BucketEncryption] = None, enforce_ssl: Optional[bool] = None, **bucket_props: Any) aws_cdk.aws_s3.IBucket
+

Create and configure S3 bucket.

+

This construct allows to configure parameters of the bucket using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +versioned,`auto_delete_objects`, enforce_ssl, access_control, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the bucket

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket_name (Optional[str]) – The name of the bucket

  • +
  • versioned (Optional[bool]) – Whether this bucket should have versioning turned on or not. True by default.

  • +
  • access_control (Optional[BucketAccessControl]) – Specifies a canned ACL that grants predefined permissions to the bucket +aws_cdk.aws_s3.BucketAccessControl.BUCKET_OWNER_FULL_CONTROL by default.

  • +
  • block_public_access (Optional[BlockPublicAccess]) – The block public access configuration of this bucket. +aws_cdk.aws_s3.BucketAccessControl.BUCKET_OWNER_FULL_CONTROL by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • encryption (Optional[BucketEncryption]) – The kind of server-side encryption to apply to this bucket. +aws_cdk.aws_s3.BucketEncryption.S3_MANAGED by default.

  • +
  • enforce_ssl (Optional[bool]) – Enforces SSL for requests. True by default.

  • +
  • bucket_props (Any) – Additional bucket properties. For complete list of properties refer to CDK Documentation - +S3 Bucket: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_s3/Bucket.html

  • +
+
+
Returns
+

bucket – S3 bucket

+
+
Return type
+

aws_cdk.aws_s3.Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html b/release/0.1.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html new file mode 100644 index 00000000..2e865d78 --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html @@ -0,0 +1,319 @@ + + + + + + + + aws_ddk_core.resources.SQSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.SQSFactory

+
+
+class aws_ddk_core.resources.SQSFactory
+

Class factory create and configure Simple Queue Service DDK resources, including Queues.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

apply_secure_queue_policy(queue)

queue(scope, environment_id, id[, ...])

Create and configure SQS queue.

+
+
+static queue(scope: constructs.Construct, environment_id: str, id: str, queue_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_sqs.QueueEncryption] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, dead_letter_queue: Optional[aws_cdk.aws_sqs.DeadLetterQueue] = None, **queue_props: Any) aws_cdk.aws_sqs.IQueue
+

Create and configure SQS queue.

+

This construct allows to configure parameters of the queue using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +content_based_deduplication,`data_key_reuse`, delivery_delay, max_message_size_bytes, +retention_period, visibility_timeout, receive_message_wait_time, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the queue

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • queue_name (Optional[str]) – Name of the queue

  • +
  • encryption (Optional[QueueEncryption]) – Whether the contents of the queue are encrypted, and by what type of key. +aws_cdk.aws_sqs.QueueEncryption.KMS_MANAGED by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • dead_letter_queue (Optional[DeadLetterQueue]) – Send messages to this queue if they were unsuccessfully dequeued a number of times.

  • +
  • queue_props (Any) – Additional queue properties. For complete list of properties refer to CDK Documentation - +SQS Queue: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_sqs/Queue.html

  • +
+
+
Returns
+

queue – SQS queue

+
+
Return type
+

aws_cdk.aws_sqs.Queue

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html b/release/0.1.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html new file mode 100644 index 00000000..02ffc00a --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html @@ -0,0 +1,364 @@ + + + + + + + + aws_ddk_core.stages.GlueTransformStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.GlueTransformStage

+
+
+class aws_ddk_core.stages.GlueTransformStage(*args: Any, **kwargs)
+

Class that represents a Glue Transform DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, job_name: str, crawler_name: str, job_args: Optional[Dict[str, Any]] = None, state_machine_input: Optional[Dict[str, Any]] = None) None
+

DDK Glue Transform stage.

+

Stage that contains a step function that runs Glue job, and a Glue crawler afterwards. +Both the Glue job and the crawler must be pre-created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • job_name (str) – Name of the Glue job to run

  • +
  • crawler_name (str) – Name of the Glue crawler to run

  • +
  • job_args (Optional[Dict[str, Any]]) – Glue job arguments

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK Glue Transform stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + +

node

The tree node.

state_machine

StateMachine The StateMachine

+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property state_machine: aws_cdk.aws_stepfunctions.StateMachine
+

StateMachine +The StateMachine

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html b/release/0.1.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html new file mode 100644 index 00000000..8cbdc738 --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html @@ -0,0 +1,392 @@ + + + + + + + + aws_ddk_core.stages.S3EventStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.S3EventStage

+
+
+class aws_ddk_core.stages.S3EventStage(*args: Any, **kwargs)
+

Class that represents an S3 Event DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, event_names: List[str], bucket_name: str, key_prefix: Optional[str] = None, **kwargs: Any) None
+

DDK S3 Event stage.

+

It implements an S3 event pattern based on event names, a bucket name and optional key prefix. +A CloudTrail Trail and associated bucket are created to enable S3 object level tracking.

+
+
Parameters
+
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK S3 Event stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

event_pattern

EventPattern The S3 event pattern

node

The tree node.

trail

Trail The CloudTrail Trail

trail_bucket

IBucket The CloudTrail Trail bucket

+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property trail: aws_cdk.aws_cloudtrail.Trail
+

Trail +The CloudTrail Trail

+
+
Type
+

Return

+
+
+
+
+
+property trail_bucket: aws_cdk.aws_s3.IBucket
+

IBucket +The CloudTrail Trail bucket

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html b/release/0.1.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html new file mode 100644 index 00000000..c14b4e8d --- /dev/null +++ b/release/0.1.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html @@ -0,0 +1,390 @@ + + + + + + + + aws_ddk_core.stages.SqsToLambdaStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.SqsToLambdaStage

+
+
+class aws_ddk_core.stages.SqsToLambdaStage(*args: Any, **kwargs)
+

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, code: aws_cdk.aws_lambda.Code, handler: str, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, visibility_timeout: typing.Optional[aws_cdk.Duration] = None, dead_letter_queue_enabled: bool = False, max_receive_count: int = 1, batch_size: typing.Optional[int] = None) None
+

DDK SQS to Lambda stage.

+

It implements an Amazon SQS queue connected to an AWS Lambda function, with an optional DLQ.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Code) – The source code of the Lambda function

  • +
  • handler (str) – The name of the method within the code that Lambda calls to execute the function

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function. PYTHON_3_9 by default

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default

  • +
  • visibility_timeout (Optional[Duration]) – Timeout of processing a single message in the queue. Default: Duration.seconds(120).

  • +
  • dead_letter_queue_enabled (Optional[bool]) – Determines if DLQ is enabled. False by default

  • +
  • max_receive_count (int) – he number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue. +1 by default

  • +
  • batch_size (Optional[int]) – The maximum number of records retrieved from the event source at the function invocation time. +10 by default

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, code, ...)

DDK SQS to Lambda stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

dlq

DeadLetterQueue The SQS dead letter queue

function

Function The Lambda function

node

The tree node.

queue

Queue The SQS queue

+
+
+property dlq: Optional[aws_cdk.aws_sqs.DeadLetterQueue]
+

DeadLetterQueue +The SQS dead letter queue

+
+
Type
+

Return

+
+
+
+
+
+property function: aws_cdk.aws_lambda.IFunction
+

Function +The Lambda function

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property queue: aws_cdk.aws_sqs.IQueue
+

Queue +The SQS queue

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/tests.html b/release/0.1.0/api/core/tests.html new file mode 100644 index 00000000..1ceafd77 --- /dev/null +++ b/release/0.1.0/api/core/tests.html @@ -0,0 +1,279 @@ + + + + + + + + tests package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/core/tests.unit.html b/release/0.1.0/api/core/tests.unit.html new file mode 100644 index 00000000..74e60426 --- /dev/null +++ b/release/0.1.0/api/core/tests.unit.html @@ -0,0 +1,297 @@ + + + + + + + + tests.unit package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

tests.unit package

+
+

Submodules

+
+
+

tests.unit.conftest module

+
+
+

tests.unit.test_base_stack module

+
+
+

tests.unit.test_cicd_pipeline_stack module

+
+
+

tests.unit.test_config module

+
+
+

tests.unit.test_kms module

+
+
+

tests.unit.test_lambda module

+
+
+

tests.unit.test_s3 module

+
+
+

tests.unit.test_sqs module

+
+
+

tests.unit.test_sqs_lambda_stage module

+
+
+

Module contents

+
+
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/genindex.html b/release/0.1.0/api/genindex.html new file mode 100644 index 00000000..3837099f --- /dev/null +++ b/release/0.1.0/api/genindex.html @@ -0,0 +1,835 @@ + + + + + + + Index - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+

Index

+
Symbols | _ | A | B | C | D | E | F | G | J | K | L | N | P | Q | S | T
+
+
+

Symbols

+ + + +
+
+ +
+

_

+ + +
+
+ +
+

A

+ + + +
+
+ +
+

B

+ + + +
+
+ +
+

C

+ + + +
+
+ +
+

D

+ + + +
+
+ +
+

E

+ + +
+
+ +
+

F

+ + + +
+
+ +
+

G

+ + + +
+
+ +
+

J

+ + +
+
+ +
+

K

+ + + +
+
+ +
+

L

+ + +
+
+ +
+

N

+ + +
+
+ +
+

P

+ + +
+
+ +
+

Q

+ + + +
+
+ +
+

S

+ + + +
+
+ +
+

T

+ + + +
+
+ + +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/index.html b/release/0.1.0/api/index.html new file mode 100644 index 00000000..afacd73c --- /dev/null +++ b/release/0.1.0/api/index.html @@ -0,0 +1,291 @@ + + + + + + + + Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/objects.inv b/release/0.1.0/api/objects.inv new file mode 100644 index 0000000000000000000000000000000000000000..ed60ce232fa20b6ee4a6f8971656b0b3134be252 GIT binary patch literal 1460 zcmV;l1xxxPAX9K?X>NERX>N99Zgg*Qc_4OWa&u{KZXhxWBOp+6Z)#;@bUGkGS5qKF zL`w=IAXa5^b7^mGIv@%oAXI2&AaZ4GVQFq;WpW^IW*~HEX>%ZEX>4U6X>%ZBZ*6dL zWpi_7WFU2OX>MmAdTeQ8E(&sJuiUg<@V+uqV-Tcq1;v+x2v3N%UE zge8$CDYyRj)x)x_H#w4gi34-y`$ofgkuv$$gp3_RDm7nih~cZ>vOjA}=mDwo7a9>` z(61<8{%mZzF`r4l#%gcl=+iF<2SY+(C=y}AFvpL%-AgtLfhhz!tjB)n0|HH6DkxjM zyuG}B2*o3jxcjYJv*+=8guVPY2O(iBG&0qchlE-olgBb!vg40sJSTSl=tte8B4P`% zsf*xH%wia!OI|chlF3%=RxibeQ_|ck^gU-y#xF&@;dk7IG+R1xZJc8S#KM!)vgjeb zZo@((nqO+i;!IhgFmuEIx&HfmDYv$oSiU=ZL~L8xmkboiGtd?h?!8~W#66V&d+ppn zZ5d=8+F1;KRL2-dfeS1=oME}i1LQ2(}+KW$bD7-Fs&7w;zLo?{1Z=XsED;(Ckt~~qO%XP2+MV*X=e=f-}bR=>@}l^xMpZz&&M1LxCV9A zPR;7u`}+56NR`^DC3WfbIJr~QD?F!?9r$@Up1(-EVFcv5nyMcW)PYkdw`t;jh=EeB zpFpm>s<{(DT?nDtr1Ze;azsC1xqH*|paA;~M0QMh%9mpb4{>+t!;msDURwJNiHbDo zD<>G3X--9}-zf9cm5>+^y`$+qV8pRI!Z9Qk#xtm4NYRqb>W?VpKQ&3rR_fS!cI#E{ z3Cwf zk>l<|AmgNXoxll*Q6O7(<`>aJd|5Dsx6x%0!lU^q%WmWy{tZ<>B3K$sqh!(1(~r~m z?g#dVkxt9N>D-V^oW^<`QJ3=ZF6$?uts2VUD1yPw$#LlEw$MD4d*0K^FrZ?LHp(7L zj;0!=`)dmZZje(2!vT#%1&WMiUznr?t3B$W1ozXs;edwYoAIlL|chs*f>UEg88;2AKffNNG)00@Vs* zo}7f1Nt{_-7(intRWT{IyY#2)BCf&Uywf*<1&Ohek)VPbII`$K&IZd^nEdx4Ci^~3 z7`endh@lg$gH-da_-_JDsow=Gw<6*bkUKz+DT%~Za1DpOLA2pD-{ojv>@LjWHzr_2 z+l8o8V>!cw(rjPt1a#6yC$pmQS#wX!nr~{>(A2X=jh!AbRP$^W%tBg8BZ?M?G2@16 zQ9^nWwBRrsAOa?Tn?wzez_PW?p$9l1+1q9q*b}zsMyN%1KriZhyQJU0KfiySj!*Os z7f2-y<0_JQ)MP^&^$z}08*iInGPNqTm + + + + + + Python Module Index - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+

Python Module Index

+
a | t
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
a
+ aws_ddk +
    + aws_ddk.commands +
    + aws_ddk.commands.bootstrap +
    + aws_ddk.commands.create +
    + aws_ddk.commands.deploy +
    + aws_ddk.commands.init +
    + aws_ddk.exceptions +
    + aws_ddk.services +
    + aws_ddk.services.cfn +
    + aws_ddk.services.codecommit +
    + aws_ddk.sh +
    + aws_ddk.utils +
+ aws_ddk_core +
    + aws_ddk_core.base +
    + aws_ddk_core.base.stack +
    + aws_ddk_core.cicd +
    + aws_ddk_core.cicd.actions +
    + aws_ddk_core.cicd.pipeline +
    + aws_ddk_core.config +
    + aws_ddk_core.config.config +
    + aws_ddk_core.pipelines +
    + aws_ddk_core.pipelines.pipeline +
    + aws_ddk_core.pipelines.stage +
    + aws_ddk_core.resources +
    + aws_ddk_core.resources.commons +
    + aws_ddk_core.stages +
    + aws_ddk_core.stages.glue_transform +
    + aws_ddk_core.stages.s3_event +
    + aws_ddk_core.stages.sqs_lambda +
 
t
+ tests +
    + tests.unit +
    + tests.unit.test_base_stack +
    + tests.unit.test_cicd_pipeline_stack +
    + tests.unit.test_config +
    + tests.unit.test_kms +
    + tests.unit.test_lambda +
    + tests.unit.test_s3 +
    + tests.unit.test_sqs +
    + tests.unit.test_sqs_lambda_stage +
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/search.html b/release/0.1.0/api/search.html new file mode 100644 index 00000000..3687c96c --- /dev/null +++ b/release/0.1.0/api/search.html @@ -0,0 +1,247 @@ + + + + + + + Search - Contents + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ + + +
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + + + + \ No newline at end of file diff --git a/release/0.1.0/api/searchindex.js b/release/0.1.0/api/searchindex.js new file mode 100644 index 00000000..318e3db3 --- /dev/null +++ b/release/0.1.0/api/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({docnames:["cli/aws_ddk","core/aws_ddk_core","core/stubs/aws_ddk_core.base.BaseStack","core/stubs/aws_ddk_core.cicd.CICDPipelineStack","core/stubs/aws_ddk_core.config.Config","core/stubs/aws_ddk_core.config.JSONConfigStrategy","core/stubs/aws_ddk_core.pipelines.Pipeline","core/stubs/aws_ddk_core.pipelines.Stage","core/stubs/aws_ddk_core.resources.KMSFactory","core/stubs/aws_ddk_core.resources.LambdaFactory","core/stubs/aws_ddk_core.resources.S3Factory","core/stubs/aws_ddk_core.resources.SQSFactory","core/stubs/aws_ddk_core.stages.GlueTransformStage","core/stubs/aws_ddk_core.stages.S3EventStage","core/stubs/aws_ddk_core.stages.SqsToLambdaStage","index"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["cli/aws_ddk.rst","core/aws_ddk_core.rst","core/stubs/aws_ddk_core.base.BaseStack.rst","core/stubs/aws_ddk_core.cicd.CICDPipelineStack.rst","core/stubs/aws_ddk_core.config.Config.rst","core/stubs/aws_ddk_core.config.JSONConfigStrategy.rst","core/stubs/aws_ddk_core.pipelines.Pipeline.rst","core/stubs/aws_ddk_core.pipelines.Stage.rst","core/stubs/aws_ddk_core.resources.KMSFactory.rst","core/stubs/aws_ddk_core.resources.LambdaFactory.rst","core/stubs/aws_ddk_core.resources.S3Factory.rst","core/stubs/aws_ddk_core.resources.SQSFactory.rst","core/stubs/aws_ddk_core.stages.GlueTransformStage.rst","core/stubs/aws_ddk_core.stages.S3EventStage.rst","core/stubs/aws_ddk_core.stages.SqsToLambdaStage.rst","index.rst"],objects:{"aws_ddk_core.base":[[2,0,1,"","BaseStack"]],"aws_ddk_core.base.BaseStack":[[2,1,1,"","__init__"]],"aws_ddk_core.cicd":[[3,0,1,"","CICDPipelineStack"]],"aws_ddk_core.cicd.CICDPipelineStack":[[3,1,1,"","__init__"],[3,1,1,"","add_source_action"],[3,1,1,"","add_stage"],[3,1,1,"","add_synth_action"],[3,1,1,"","build"]],"aws_ddk_core.config":[[4,0,1,"","Config"],[5,0,1,"","JSONConfigStrategy"]],"aws_ddk_core.config.Config":[[4,1,1,"","__init__"],[4,1,1,"","get_cdk_version"],[4,1,1,"","get_env"],[4,1,1,"","get_env_config"],[4,1,1,"","get_resource_config"],[4,1,1,"","get_tags"]],"aws_ddk_core.config.JSONConfigStrategy":[[5,1,1,"","__init__"],[5,1,1,"","get_config"]],"aws_ddk_core.pipelines":[[6,0,1,"","Pipeline"],[7,0,1,"","Stage"]],"aws_ddk_core.pipelines.Pipeline":[[6,1,1,"","__init__"],[6,1,1,"","add_rule"],[6,1,1,"","add_stage"]],"aws_ddk_core.pipelines.Stage":[[7,1,1,"","__init__"],[7,1,1,"","get_event_pattern"],[7,1,1,"","get_targets"]],"aws_ddk_core.resources":[[8,0,1,"","KMSFactory"],[9,0,1,"","LambdaFactory"],[10,0,1,"","S3Factory"],[11,0,1,"","SQSFactory"]],"aws_ddk_core.resources.KMSFactory":[[8,1,1,"","__init__"],[8,1,1,"","key"]],"aws_ddk_core.resources.LambdaFactory":[[9,1,1,"","__init__"],[9,1,1,"","function"]],"aws_ddk_core.resources.S3Factory":[[10,1,1,"","__init__"],[10,1,1,"","bucket"]],"aws_ddk_core.resources.SQSFactory":[[11,1,1,"","__init__"],[11,1,1,"","queue"]],"aws_ddk_core.stages":[[12,0,1,"","GlueTransformStage"],[13,0,1,"","S3EventStage"],[14,0,1,"","SqsToLambdaStage"]],"aws_ddk_core.stages.GlueTransformStage":[[12,1,1,"","__init__"],[12,1,1,"","get_event_pattern"],[12,1,1,"","get_targets"],[12,2,1,"","state_machine"]],"aws_ddk_core.stages.S3EventStage":[[13,1,1,"","__init__"],[13,2,1,"","event_pattern"],[13,1,1,"","get_event_pattern"],[13,1,1,"","get_targets"],[13,2,1,"","trail"],[13,2,1,"","trail_bucket"]],"aws_ddk_core.stages.SqsToLambdaStage":[[14,1,1,"","__init__"],[14,2,1,"","dlq"],[14,2,1,"","function"],[14,1,1,"","get_event_pattern"],[14,1,1,"","get_targets"],[14,2,1,"","queue"]],"ddk-bootstrap":[[0,3,1,"cmdoption-ddk-bootstrap-e","--environment"],[0,3,1,"cmdoption-ddk-bootstrap-i","--iam-policies"],[0,3,1,"cmdoption-ddk-bootstrap-permissions-boundary","--permissions-boundary"],[0,3,1,"cmdoption-ddk-bootstrap-prefix","--prefix"],[0,3,1,"cmdoption-ddk-bootstrap-p","--profile"],[0,3,1,"cmdoption-ddk-bootstrap-qualifier","--qualifier"],[0,3,1,"cmdoption-ddk-bootstrap-r","--region"],[0,3,1,"cmdoption-ddk-bootstrap-t","--tags"],[0,3,1,"cmdoption-ddk-bootstrap-a","--trusted-accounts"],[0,3,1,"cmdoption-ddk-bootstrap-a","-a"],[0,3,1,"cmdoption-ddk-bootstrap-e","-e"],[0,3,1,"cmdoption-ddk-bootstrap-i","-i"],[0,3,1,"cmdoption-ddk-bootstrap-p","-p"],[0,3,1,"cmdoption-ddk-bootstrap-r","-r"],[0,3,1,"cmdoption-ddk-bootstrap-t","-t"]],"ddk-create-repository":[[0,3,1,"cmdoption-ddk-create-repository-d","--description"],[0,3,1,"cmdoption-ddk-create-repository-p","--profile"],[0,3,1,"cmdoption-ddk-create-repository-r","--region"],[0,3,1,"cmdoption-ddk-create-repository-t","--tags"],[0,3,1,"cmdoption-ddk-create-repository-d","-d"],[0,3,1,"cmdoption-ddk-create-repository-p","-p"],[0,3,1,"cmdoption-ddk-create-repository-r","-r"],[0,3,1,"cmdoption-ddk-create-repository-t","-t"],[0,3,1,"cmdoption-ddk-create-repository-arg-NAME","NAME"]],"ddk-deploy":[[0,3,1,"cmdoption-ddk-deploy-f","--force"],[0,3,1,"cmdoption-ddk-deploy-o","--output-dir"],[0,3,1,"cmdoption-ddk-deploy-p","--profile"],[0,3,1,"cmdoption-ddk-deploy-require-approval","--require-approval"],[0,3,1,"cmdoption-ddk-deploy-f","-f"],[0,3,1,"cmdoption-ddk-deploy-o","-o"],[0,3,1,"cmdoption-ddk-deploy-p","-p"]],"ddk-init":[[0,3,1,"cmdoption-ddk-init-e","--environment"],[0,3,1,"cmdoption-ddk-init-t","--template"],[0,3,1,"cmdoption-ddk-init-e","-e"],[0,3,1,"cmdoption-ddk-init-t","-t"],[0,3,1,"cmdoption-ddk-init-arg-NAME","NAME"]],ddk:[[0,3,1,"cmdoption-ddk-debug","--debug"],[0,3,1,"cmdoption-ddk-debug","--no-debug"],[0,3,1,"cmdoption-ddk-version","--version"]]},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"],"2":["py","property","Python property"],"3":["std","cmdoption","program option"]},objtypes:{"0":"py:class","1":"py:method","2":"py:property","3":"std:cmdoption"},terms:{"1":[0,8,9,14],"10":14,"111111111111":0,"120":[9,14],"1984":0,"2":[8,9],"222222222222":0,"256":[9,14],"3":[8,9],"30":8,"abstract":7,"class":[2,3,4,5,6,7,8,9,10,11,12,13,14],"default":[0,3,4,5,6,8,9,10,11,13,14],"function":[9,10,11,12,14],"int":[9,14],"new":0,"public":10,"return":[3,4,5,6,7,8,9,10,11,12,13,14],"static":[8,9,10,11],"true":[8,10],A:[0,13],By:6,For:[6,7,8,9,10,11],If:0,It:[13,14],The:[0,3,7,8,9,10,12,13,14],To:7,__init__:[2,3,4,5,6,7,8,9,10,11,12,13,14],_queue:7,abil:3,abl:3,access:10,access_control:10,account:[0,3,4],acl:10,action:3,add:[3,6,7],add_rul:6,add_source_act:3,add_stag:[3,6],add_synth_act:3,addit:[2,3,8,9,10,11],after:[9,14],afterward:12,alia:8,alloc:[9,14],allow:[8,9,10,11],allow_all_outbound:9,allow_public_subnet:9,alwai:[0,8,9],amazon:[2,8,9,10,11,13,14],amazons3:13,amount:[9,14],an:[6,7,12,13,14],ani:[0,2,3,4,5,6,7,8,9,10,11,12,13,14],api:[8,9,10,11],app:3,appli:[0,10,11],applic:[2,3],approv:[0,3],ar:[0,3,7,8,9,10,11,12,13,14],arg:[0,2,3,6,7,12,13,14],argument:[0,2,8,9,12],arn1:0,arn2:0,arn:[0,2],artifact:3,artifactori:3,assembl:0,associ:13,attach:0,attribut:[2,3,6,7,12,13,14],auto_delete_object:10,avoid:3,aw:[0,2,4,8,9,10,11,13,14],aws_cdk:[2,3,4,6,7,8,9,10,11,12,13,14],aws_cloudtrail:13,aws_ddk:15,aws_ddk_cor:15,aws_ev:[6,7,12,13,14],aws_iam:[3,9,14],aws_km:8,aws_lambda:[9,14],aws_s3:[10,13],aws_sq:[9,11,14],aws_stepfunct:12,base:[3,13,15],batch_siz:14,been:8,befor:[8,14],being:14,best:3,block:[3,10],block_public_access:10,blockpublicaccess:10,bool:[2,3,6,8,9,10,14],bootstrap:2,both:12,boundari:[0,2],branch:3,broaden:0,bucket:[3,10,11,13],bucket_nam:[10,13],bucket_owner_full_control:10,bucket_prop:10,bucketaccesscontrol:10,bucketencrypt:10,build:3,builder:3,call:[9,14],can:[3,5,10,14],captur:13,cd:3,cdk:[0,2,3,4,8,9,10,11],cdk_version:4,cfn:[],chang:0,chunki:3,ci:3,cicd:15,cli:0,cloud:0,cloudform:8,cloudtrail:13,cmk:8,code:[0,3,9,14],codeartifact:3,codeartifact_domain:3,codeartifact_domain_own:3,codeartifact_repositori:3,codebuildstep:3,codecommit:3,codepipelinesourc:3,com:[2,8,9,10,11,13],command:0,common:[],complet:[8,9,10,11],config:[3,15],config_strategi:4,configstrategi:4,configur:[2,3,4,5,8,9,10,11],conftest:[],connect:[3,14],construct:[2,3,6,7,8,9,10,11,12,13,14],constructor:3,contain:[0,3,4,5,12],content:11,content_based_dedupl:11,continu:3,costcent:0,crawler:12,crawler_nam:12,creat:[2,3,4,6,7,8,9,10,11,12,13],creation:6,credenti:0,custom:6,d:0,dai:8,data:[6,7],data_key_reus:11,ddk:[3,5,8,9,10,11,12,13,14],dead:14,dead_letter_queu:[9,11],dead_letter_queue_en:[9,14],deadletterqueu:[11,14],debug:0,def:7,defaultstacksynthes:2,defin:[2,3,6,7,8,9,10,11,12,13,14],delet:8,deliveri:3,delivery_delai:11,depend:[8,9,10,11],deploi:3,deploy:0,dequeu:[11,14],describ:[7,12,13,14],descript:[0,6,7,9],detail:7,detail_typ:7,determin:[4,9,14],dev:[0,3],devstag:3,dict:[4,12],dictionari:[4,5],differ:5,dir:0,directori:0,dlq:[9,14],doc:[2,8,9,10,11,13],document:[8,9,10,11],domain:3,durat:[8,9,14],dure:3,e:[0,3],east:0,enabl:[9,13,14],enable_key_rot:8,encrypt:[3,8,10,11],enforc:10,enforce_ssl:10,ensur:3,env:[3,4],env_config:4,environ:[0,2,3,4,8,9,10,11,12,13,14],environment_id:[2,3,4,7,8,9,10,11,12,13,14],even:0,event:[6,7,12,13,14],event_nam:13,event_pattern:[6,7,12,13,14],event_target:6,eventpattern:[6,7,12,13,14],exampl:[3,6,7],except:[],execut:[9,14],exit:0,explicit:[8,9],f:0,factori:[8,9,10,11],fals:[0,3,6,9,14],featur:3,file:[0,5,8,9,10,11],fn:9,follow:[8,9],forc:0,form:4,framework:0,from:[0,2,3,4,5,7,8,9,10,11,14],function_nam:9,function_prop:9,g:[0,3],get:[4,5,7,12,13,14],get_cdk_vers:4,get_config:5,get_env:4,get_env_config:4,get_event_pattern:[7,12,13,14],get_resource_config:4,get_tag:4,get_target:[6,7,12,13,14],git:0,given:[4,5],glue:12,grant:10,guid:2,ha:8,handler:[9,14],have:10,he:14,hope:3,how:4,html:[2,8,9,10,11,13],http:[2,8,9,10,11,13],i:0,iam:0,iam_polici:0,ibucket:[10,13],id:[0,2,3,4,6,7,8,9,10,11,12,13,14],ident:0,identifi:[2,3,4,6,7,8,9,10,11,12,13,14],ifunct:[9,14],ikei:8,implement:[7,13,14],includ:[2,3,8,9,10,11],index:15,indic:8,infer:0,info:13,infrastructur:[3,7],inherit:[2,7],init:[],input:[7,12,13,14],instanc:[3,4,6],integr:3,interfac:3,invoc:14,invok:[7,12,13,14],iqueu:[9,11,14],irol:[9,14],iruletarget:[6,7,12,13,14],job:12,job_arg:12,job_nam:12,json:[3,4,5,8,9,10,11],jsonconfigstrategi:4,kei:[3,5,8,11,13],key_prefix:13,key_prop:8,kind:10,km:[3,8],kms_manag:11,kwarg:[2,3,6,7,12,13,14],lambda:[9,14],latest:13,letter:14,level:[2,13],list:[0,3,6,7,8,9,10,11,12,13,14],load:5,loc:3,local:0,log:[0,13],machin:12,main:3,manag:[0,2,8],manual:[0,3],manual_approv:3,match:[6,7,12,13,14],max_event_ag:9,max_message_size_byt:11,max_receive_count:14,maximum:14,mb:[9,14],memori:[9,14],memory_s:[9,14],messag:[11,14],method:[2,3,4,5,6,7,8,9,10,11,12,13,14],modul:15,move:14,multi:2,multipl:3,must:12,mutat:3,my:[3,6,7],my_glue_stag:6,my_lambda_stag:6,mypipelin:3,mystag:7,name:[0,3,6,7,9,10,11,12,13,14],need:0,never:0,next:6,non:3,none:[0,2,3,4,5,6,7,8,9,10,11,12,13,14],number:[8,11,14],o:0,object:[9,13,14],off:0,one:6,option:[0,2,3,4,6,7,8,9,10,11,12,13,14],order:[8,9],otherwis:[8,9],output:[0,6,7,12,13,14],output_dir:0,overrid:[3,6],override_rul:6,owner:3,p:0,packag:[],page:15,paramet:[2,3,4,5,6,7,8,9,10,11,12,13,14],path:5,pattern:[6,7,12,13,14],pending_window:8,perform:0,period:8,permiss:[0,2,10],permissions_boundari:0,permissions_boundary_arn:2,pipelin:[3,15],pipeline_nam:3,polici:[0,2,3,10,11],policystat:3,practic:3,pre:12,predefin:10,prefer:[8,9],prefix:[0,13],previou:6,previous_stag:6,privat:3,process:14,produc:[7,12,13,14],profil:[0,9],project:0,properti:[3,7,8,9,10,11,12,13,14],protect:2,provid:[0,4],pull:3,python:[0,8,9,10,11],python_3_9:14,qualifi:0,queue:[7,9,11,14],queue_nam:11,queue_prop:11,queueencrypt:11,r:0,read:[4,5],receive_message_wait_tim:11,record:14,refer:[8,9,10,11],region:[0,4],remov:[8,10,11],removal_polici:[8,10,11],removalpolici:[8,10,11],repo:[3,4,5],repositori:3,repository_nam:3,repres:[4,6,7,12,13,14],request:10,requir:[0,7],require_approv:0,reserved_concurrent_execut:9,resourc:[0,4,15],respect:[8,9],retain:[8,10,11],retention_period:11,retriev:14,retry_attempt:9,reus:3,role:[0,3,9,14],role_policy_stat:3,root:[4,5,13],rotat:[3,8],rout:[7,12,13,14],rule:[6,7,12,13,14],run:12,runtim:[9,14],s3:[10,13],s3_manag:10,s:[7,12,13,14],save:3,scm:3,scope:[2,3,6,7,8,9,10,11,12,13,14],search:15,second:[9,14],secur:[0,3],select:[7,12,13,14],self:[3,6,7],send:11,sensit:0,server:10,servic:[8,10,11],set:2,sever:3,sh:[],should:[0,3,4,7,8,10,12,13,14],show:0,side:10,simpl:[10,11],singl:14,skip:6,skip_rul:6,some:3,sourc:[0,3,9,14],source_act:3,specif:[0,3,6],specifi:[5,6,8,10],sq:[7,9,11,14],sqs_lambda:[],sqsfactori:7,sqsqueue:7,ssl:[3,10],stack:[0,2,3,8,10,11],stage:[3,6,15],stage_id:3,start:3,state:12,state_machin:12,state_machine_input:12,statemachin:12,step:12,storag:10,str:[2,3,4,5,6,7,8,9,10,11,12,13,14],strategi:4,structur:[0,3,7,12,13,14],submodul:[],subpackag:[],support:[8,9,10,11],synth:3,synth_act:3,synthes:[0,2],system:0,t:0,tag:[0,2,4],tag_kei:4,target:[6,7,12,13,14],templat:0,termin:[2,9,14],termination_protect:2,test:[],test_base_stack:[],test_cicd_pipeline_stack:[],test_cli:[],test_config:[],test_km:[],test_lambda:[],test_s3:[],test_sq:[],test_sqs_lambda_stag:[],thei:11,them:[3,7,12,13,14],thi:[2,3,6,7,8,9,10,11,12,13,14],time:[9,11,14],timeout:[9,14],trace:9,track:13,trail:13,trail_bucket:13,transform:[12,14],trust:0,trusted_account:0,turn:[0,10],type:[3,4,5,6,7,8,9,10,11,12,13,14],unit:[],unsuccessfulli:[11,14],url:0,us:[0,4,5,6,7,8,9,10,11,12,13,14],user:3,userguid:13,usual:6,util:[],v2:[2,8,9,10,11],valu:[4,8,9],version:[0,4,10],via:[3,6],visibility_timeout:[11,14],wait:8,were:11,what:[0,7,11,12,13,14],when:[7,8,10,11,12,13,14],where:[0,4],whether:[8,10,11],which:[2,3,6,7,8,9,10,11,12,13,14],wire:6,within:[2,3,6,7,8,9,10,11,12,13,14],your:[0,3]},titles:["aws_ddk package","aws_ddk_core package","aws_ddk_core.base.BaseStack","aws_ddk_core.cicd.CICDPipelineStack","aws_ddk_core.config.Config","aws_ddk_core.config.JSONConfigStrategy","aws_ddk_core.pipelines.Pipeline","aws_ddk_core.pipelines.Stage","aws_ddk_core.resources.KMSFactory","aws_ddk_core.resources.LambdaFactory","aws_ddk_core.resources.S3Factory","aws_ddk_core.resources.SQSFactory","aws_ddk_core.stages.GlueTransformStage","aws_ddk_core.stages.S3EventStage","aws_ddk_core.stages.SqsToLambdaStage","AWS DDK API Documentation"],titleterms:{action:[],api:15,aw:15,aws_ddk:0,aws_ddk_cor:[1,2,3,4,5,6,7,8,9,10,11,12,13,14],base:[1,2],basestack:2,bootstrap:0,cfn:[],cicd:[1,3],cicdpipelinestack:3,cli:[],codecommit:[],command:[],common:[],config:[1,4,5],conftest:[],content:[],core:[],creat:0,ddk:[0,15],deploi:0,document:15,except:[],gluetransformstag:12,indic:15,init:0,jsonconfigstrategi:5,kmsfactori:8,lambdafactori:9,modul:[],packag:[0,1,15],pipelin:[1,6,7],repositori:0,resourc:[1,8,9,10,11],s3eventstag:13,s3factori:10,servic:[],sh:[],sqs_lambda:[],sqsfactori:11,sqstolambdastag:14,stack:[],stage:[1,7,12,13,14],submodul:[],subpackag:[],tabl:15,test:[],test_base_stack:[],test_cicd_pipeline_stack:[],test_cli:[],test_config:[],test_km:[],test_lambda:[],test_s3:[],test_sq:[],test_sqs_lambda_stag:[],unit:[],util:[]}}) \ No newline at end of file diff --git a/release/0.1.0/how-to/index.html b/release/0.1.0/how-to/index.html new file mode 100644 index 00000000..c10559e2 --- /dev/null +++ b/release/0.1.0/how-to/index.html @@ -0,0 +1,1817 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.1.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.1.0/how-to/spend-first-hour.html b/release/0.1.0/how-to/spend-first-hour.html new file mode 100644 index 00000000..89f91d43 --- /dev/null +++ b/release/0.1.0/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.1.0/how-to/understand-concepts.html b/release/0.1.0/how-to/understand-concepts.html new file mode 100644 index 00000000..a20db509 --- /dev/null +++ b/release/0.1.0/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK over the AWS CDK?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.1.0/index.html b/release/0.1.0/index.html new file mode 100644 index 00000000..4767668f --- /dev/null +++ b/release/0.1.0/index.html @@ -0,0 +1,1823 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.1.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.1.3/api/_static/basic.css b/release/0.1.3/api/_static/basic.css new file mode 100644 index 00000000..bf18350b --- /dev/null +++ b/release/0.1.3/api/_static/basic.css @@ -0,0 +1,906 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 450px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a.brackets:before, +span.brackets > a:before{ + content: "["; +} + +a.brackets:after, +span.brackets > a:after { + content: "]"; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +dl.footnote > dt, +dl.citation > dt { + float: left; + margin-right: 0.5em; +} + +dl.footnote > dd, +dl.citation > dd { + margin-bottom: 0em; +} + +dl.footnote > dd:after, +dl.citation > dd:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dt:after { + content: ":"; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/release/0.1.3/api/_static/doctools.js b/release/0.1.3/api/_static/doctools.js new file mode 100644 index 00000000..e509e483 --- /dev/null +++ b/release/0.1.3/api/_static/doctools.js @@ -0,0 +1,326 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated === 'undefined') + return string; + return (typeof translated === 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated === 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) === 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this === '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keydown(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box, textarea, dropdown or button + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' + && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey + && !event.shiftKey) { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + break; + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + break; + } + } + }); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/release/0.1.3/api/_static/documentation_options.js b/release/0.1.3/api/_static/documentation_options.js new file mode 100644 index 00000000..d7da0029 --- /dev/null +++ b/release/0.1.3/api/_static/documentation_options.js @@ -0,0 +1,12 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: '0.1.3', + LANGUAGE: 'None', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false +}; \ No newline at end of file diff --git a/release/0.1.3/api/_static/file.png b/release/0.1.3/api/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/release/0.1.3/api/_static/jquery-3.5.1.js b/release/0.1.3/api/_static/jquery-3.5.1.js new file mode 100644 index 00000000..50937333 --- /dev/null +++ b/release/0.1.3/api/_static/jquery-3.5.1.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk package

+
+

ddk

+

AWS DDK CLI.

+
ddk [OPTIONS] COMMAND [ARGS]...
+
+
+

Options

+
+
+--version
+

Show the version and exit.

+
+
+
+--debug, --no-debug
+

Turn debug logging on/off.

+
+
Default
+

False

+
+
+
+
+

bootstrap

+

Bootstrap the AWS account with DDK resources.

+
ddk bootstrap [OPTIONS]
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
Default
+

default

+
+
+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+--prefix <prefix>
+

The prefix to resource names.

+
+
Default
+

ddk

+
+
+
+
+
+--qualifier <qualifier>
+

The CDK bootstrap qualifier.

+
+
+
+-a, --trusted-accounts <trusted_accounts>
+

List of trusted AWS accounts to perform deployments (e.g. -a 111111111111 -a 222222222222).

+
+
+
+-i, --iam-policies <iam_policies>
+

List of IAM managed policy ARNs that should be attached to the role performing deployments. +(e.g. -i arn1 -i arn2)

+
+
+
+--permissions-boundary <permissions_boundary>
+

IAM managed permissions boundary policy ARN that should be attached to the role performing deployments.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the stack (e.g -t CostCenter 1984 -t Framework DDK).

+
+
+
+

create-repository

+

Create a code repository from the source system provider.

+

NAME is the name of the repository.

+
ddk create-repository [OPTIONS] NAME
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
Default
+

default

+
+
+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+-d, --description <description>
+

The description of the repository.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the repository (e.g -t CostCenter 1984 -t Framework DDK).

+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+

deploy

+

Deploy DDK stacks to AWS account.

+
ddk deploy [OPTIONS]
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
Default
+

default

+
+
+
+
+
+--require-approval <require_approval>
+

What security-sensitive changes need manual approval.

+
+
Options
+

never | any-change | broadening

+
+
+
+
+
+-f, --force
+

Always deploy stack even if templates are identical.

+
+
+
+-o, --output-dir <output_dir>
+

Directory where cloud assembly is synthesized.

+
+
+
+

init

+

Create the local structure for a new AWS DDK Python project.

+

NAME is the name of the project.

+
ddk init [OPTIONS] NAME
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-t, --template <template>
+

A directory containing a project template directory, or a URL to a git repository

+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/aws_ddk_core.html b/release/0.1.3/api/core/aws_ddk_core.html new file mode 100644 index 00000000..743499bb --- /dev/null +++ b/release/0.1.3/api/core/aws_ddk_core.html @@ -0,0 +1,398 @@ + + + + + + + + + aws_ddk_core package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core package

+ +
+

Base

+
++++ + + + + + +

BaseStack(*args, **kwargs)

Base Stack to inherit from.

+
+
+

CICD

+
++++ + + + + + +

CICDPipelineStack(*args, **kwargs)

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+
+
+

Config

+
++++ + + + + + + + + +

Config([config_strategy])

Class used to read configuration with a configurable strategy.

JSONConfigStrategy([path])

Read config from ddk.json in the root of the repo.

+
+
+

Pipelines

+
++++ + + + + + + + + +

Pipeline(*args, **kwargs)

Class that represents a data pipeline.

Stage(*args, **kwargs)

Class that represents a stage within a data pipeline.

+
+
+

Resources

+
++++ + + + + + + + + + + + + + + +

KMSFactory()

Class factory to create and configure Key Management Service DDK resources, including Keys.

LambdaFactory()

Class factory to create and configure Lambda DDK resources, including Functions.

S3Factory()

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

SQSFactory()

Class factory create and configure Simple Queue Service DDK resources, including Queues.

+
+
+

Stages

+
++++ + + + + + + + + + + + +

GlueTransformStage(*args, **kwargs)

Class that represents a Glue Transform DDK Stage.

S3EventStage(*args, **kwargs)

Class that represents an S3 Event DDK Stage.

SqsToLambdaStage(*args, **kwargs)

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.base.BaseStack.html b/release/0.1.3/api/core/stubs/aws_ddk_core.base.BaseStack.html new file mode 100644 index 00000000..d06d6ac8 --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.base.BaseStack.html @@ -0,0 +1,414 @@ + + + + + + + + + aws_ddk_core.base.BaseStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.base.BaseStack

+
+
+class aws_ddk_core.base.BaseStack(*args: Any, **kwargs)
+

Base Stack to inherit from.

+

Includes configurable termination protection, synthesizer, permissions boundary and tags.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, termination_protection: Optional[bool] = None, permissions_boundary_arn: Optional[str] = None, synthesizer: Optional[aws_cdk.DefaultStackSynthesizer] = None, **kwargs: Any) None
+

Create a stack.

+

Includes termination protection settings, multi-level (application, environment, and stack-level) tags, +and permissions boundary.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stack

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • termination_protection (Optional[bool]) – Stack termination protection

  • +
  • permissions_boundary_arn (Optional[str]) – ARN of the permissions boundary managed policy

  • +
  • synthesizer (Optional[DefaultStackSynthesizer]) – CDK synthesizer configuration +https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html#bootstrapping-synthesizers

  • +
  • kwargs (Any) – Additional arguments

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Create a stack.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_transform(transform)

Add a Transform to this stack.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

(deprecated) Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html b/release/0.1.3/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html new file mode 100644 index 00000000..be994690 --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html @@ -0,0 +1,539 @@ + + + + + + + + + aws_ddk_core.cicd.CICDPipelineStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.cicd.CICDPipelineStack

+
+
+class aws_ddk_core.cicd.CICDPipelineStack(*args: Any, **kwargs)
+

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+

The pipeline is based on CDK self-mutating pipeline but includes +several DDK-specific features, including:

+
    +
  • Ability to configure some properties via JSON config e.g. manual approvals for application stages

  • +
  • Defaults for source/synth - CodeCommit & cdk synth, with ability to override them

  • +
  • Ability to connect to private artifactory to pull artifacts from at synth

  • +
  • Security best practices - ensures pipeline buckets block non-SSL, and are KMS-encrypted with rotated keys

  • +
  • Builder interface to avoid chunky constructor methods

  • +
+

The user should be able to reuse the pipeline in multiple DDK applications hoping to save LOC.

+

Example:

+
pipeline = (
+    CICDPipelineStack(
+        app,
+        id="my-pipeline",
+        environment_id="cicd",
+        pipeline_name="MyPipeline",
+    )
+    .add_source_action(repository_name="my-repo")
+    .add_synth_action()
+    .build()
+    .add_stage("dev", DevStage(app, "dev"))
+    .synth()
+)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, pipeline_name: Optional[str] = None, env: Optional[aws_cdk.Environment] = None, **kwargs: Any) None
+

Start building Code Pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • environment_id (str) – Identifier of the environment that will contain the pipeline

  • +
  • pipeline_name (Optional[str]) – Name of the pipeline

  • +
  • env (Optional[Environment]) – Environment

  • +
  • kwargs (Any) – Additional args

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Start building Code Pipeline.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_source_action([repository_name, branch, ...])

Add source action.

add_stage(stage_id, stage[, manual_approvals])

Add application stage to the CICD pipeline.

add_synth_action([codeartifact_repository, ...])

Add synth action.

add_transform(transform)

Add a Transform to this stack.

build()

Build the pipeline structure.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

(deprecated) Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

synth()

Synthesize the pipeline.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+add_source_action(repository_name: Optional[str] = None, branch: str = 'main', source_action: Optional[aws_cdk.pipelines.CodePipelineSource] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add source action.

+
+
Parameters
+
    +
  • repository_name (Optional[str]) – Name of the SCM repository

  • +
  • branch (str) – Branch of the SCM repository

  • +
  • source_action (Optional[CodePipelineSource]) – Override source action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_stage(stage_id: str, stage: aws_cdk.Stage, manual_approvals: Optional[bool] = False) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add application stage to the CICD pipeline. This stage deploys your application infrastructure.

+
+
Parameters
+
    +
  • stage_id (str) – Identifier of the stage

  • +
  • stage (Stage) – Application stage instance

  • +
  • manual_approvals (Optional[bool]) – Configure manual approvals. False by default

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_synth_action(codeartifact_repository: Optional[str] = None, codeartifact_domain: Optional[str] = None, codeartifact_domain_owner: Optional[str] = None, role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, synth_action: Optional[aws_cdk.pipelines.CodeBuildStep] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add synth action. During synth can connect and pull artifacts from a private artifactory.

+
+
Parameters
+
    +
  • codeartifact_repository (Optional[str]) – Name of the CodeArtifact repository to pull artifacts from

  • +
  • codeartifact_domain (Optional[str]) – Name of the CodeArtifact domain

  • +
  • codeartifact_domain_owner (Optional[str]) – CodeArtifact domain owner account

  • +
  • role_policy_statements (Optional[List[PolicyStatement]]) – Additional policies to add to the synth action role

  • +
  • synth_action (Optional[CodeBuildStep]) – Override synth action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+build() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Build the pipeline structure.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+synth() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Synthesize the pipeline.

+

It is not possible to modify the pipeline after calling this method.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.config.Config.html b/release/0.1.3/api/core/stubs/aws_ddk_core.config.Config.html new file mode 100644 index 00000000..70f27269 --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.config.Config.html @@ -0,0 +1,382 @@ + + + + + + + + + aws_ddk_core.config.Config - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.Config

+
+
+class aws_ddk_core.config.Config(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None)
+

Class used to read configuration with a configurable strategy.

+
+
+__init__(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None) None
+

Create Config class instance.

+

Provide ConfigStrategy to determine how/where the config should be read from. +Reads from cdk.json in the root of the repo by default.

+
+
Parameters
+

config_strategy (Optional[ConfigStrategy]) – Strategy that determines how and where to read config from. JSONConfigStrategy by default

+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__([config_strategy])

Create Config class instance.

get_cdk_version()

Return CDK version.

get_env(environment_id)

Get environment representing AWS account and region.

get_env_config(environment_id)

Get environment config.

get_resource_config(environment_id, id)

Get resource config of the resource with given id in the environment with the given environment id.

get_tags()

Return tags.

+
+
+get_cdk_version() Optional[str]
+

Return CDK version.

+
+
Returns
+

cdk_version – CDK version

+
+
Return type
+

Optional[str]

+
+
+
+
+
+get_env(environment_id: str) aws_cdk.Environment
+

Get environment representing AWS account and region.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env – CDK Environment(account, region)

+
+
Return type
+

Environment

+
+
+
+
+
+get_env_config(environment_id: str) Dict[str, Any]
+

Get environment config.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env_config – Dictionary that contains config for the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_resource_config(environment_id: str, id: str) Dict[str, Any]
+

Get resource config of the resource with given id in the environment with the given environment id.

+
+
Parameters
+
    +
  • environment_id (str) – Identifier of the environment

  • +
  • id (str) – Identifier of the resource

  • +
+
+
Returns
+

config – Dictionary that contains config for the given resource in the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_tags() Dict[str, str]
+

Return tags.

+
+
Returns
+

tags – Dict of a form {‘tag_key’: ‘value’}

+
+
Return type
+

Dict[str, str]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html b/release/0.1.3/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html new file mode 100644 index 00000000..11cad4d7 --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html @@ -0,0 +1,308 @@ + + + + + + + + + aws_ddk_core.config.JSONConfigStrategy - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.JSONConfigStrategy

+
+
+class aws_ddk_core.config.JSONConfigStrategy(path: str = './ddk.json')
+

Read config from ddk.json in the root of the repo.

+

Can be used to read from any JSON file by specifying a different path.

+
+
+__init__(path: str = './ddk.json') None
+

Load the JSON file in the given path.

+
+
Parameters
+

path (str) – Path to the JSON config, ‘./ddk.json’ by default

+
+
+
+

Methods

+
++++ + + + + + + + + +

__init__([path])

Load the JSON file in the given path.

get_config(key)

Get config by key.

+
+
+get_config(key: str) Any
+

Get config by key.

+
+
Parameters
+

key (str) – Key

+
+
Returns
+

config – Dictionary that contains the configuration

+
+
Return type
+

Any

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.pipelines.Pipeline.html b/release/0.1.3/api/core/stubs/aws_ddk_core.pipelines.Pipeline.html new file mode 100644 index 00000000..140493cd --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.pipelines.Pipeline.html @@ -0,0 +1,365 @@ + + + + + + + + + aws_ddk_core.pipelines.Pipeline - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.Pipeline

+
+
+class aws_ddk_core.pipelines.Pipeline(*args: Any, **kwargs)
+

Class that represents a data pipeline. Used to wire stages via Event Rules. For example:

+
Pipeline(self, id, description="My pipeline")
+    .add_stage(my_lambda_stage)
+    .add_stage(my_glue_stage)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a data pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • name (Optional[str]) – Name of the pipeline

  • +
  • description (Optional[str]) – Description of the pipeline

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a data pipeline.

add_rule([id, event_pattern, event_targets, ...])

Create a rule that matches specificed event pattern with the specified target.

add_stage(stage[, skip_rule, override_rule])

Add a stage to the data pipeline.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+add_rule(id: Optional[str] = None, event_pattern: Optional[aws_cdk.aws_events.EventPattern] = None, event_targets: Optional[List[aws_cdk.aws_events.IRuleTarget]] = None, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.Pipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+
    +
  • id (Optional[str]) – Identifier of the rule

  • +
  • event_pattern (Optional[EventPattern]) – Event pattern of the rule

  • +
  • event_targets (Optional[List[IRuleTarget]]) – Target of the rule - usually previous_stage.get_targets()

  • +
  • override_rule (Optional[Rule]) – Custom rule

  • +
+
+
Returns
+

pipeline – Pipeline

+
+
Return type
+

Pipeline

+
+
+
+
+
+add_stage(stage: aws_ddk_core.pipelines.stage.Stage, skip_rule: bool = False, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.Pipeline
+

Add a stage to the data pipeline.

+

By default, creates an Event Rule that matches output event pattern of the previous stage +with targets of the next one.

+
+
Parameters
+
    +
  • stage (Stage) – Stage instance

  • +
  • skip_rule (bool) – Skip creation of the default rule

  • +
  • override_rule (Optional[Rule]) – Override the default rule by the rule specified in this parameter

  • +
+
+
Returns
+

pipeline – Pipeline

+
+
Return type
+

Pipeline

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.pipelines.Stage.html b/release/0.1.3/api/core/stubs/aws_ddk_core.pipelines.Stage.html new file mode 100644 index 00000000..31bedad7 --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.pipelines.Stage.html @@ -0,0 +1,379 @@ + + + + + + + + + aws_ddk_core.pipelines.Stage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.Stage

+
+
+class aws_ddk_core.pipelines.Stage(*args: Any, **kwargs)
+

Class that represents a stage within a data pipeline.

+

To create a Stage, inherit from this class, add infrastructure required by the stage, and implement +get_event_pattern and get_targets methods. For example:

+
class MyStage(Stage):
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+    ) -> None:
+        # Define stage infrastructure, for example a queue
+        self._queue = SQSFactory.queue(
+            self,
+            id,
+            environment_id,
+        )
+
+    @property
+    def queue(self) -> Queue:
+        '''
+        Return: Queue
+            The SQS queue
+        '''
+        return self._queue
+
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=["my-detail-type"],
+        )
+
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SqsQueue(self._queue)]
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+abstract get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+abstract get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.resources.KMSFactory.html b/release/0.1.3/api/core/stubs/aws_ddk_core.resources.KMSFactory.html new file mode 100644 index 00000000..055e4461 --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.resources.KMSFactory.html @@ -0,0 +1,320 @@ + + + + + + + + + aws_ddk_core.resources.KMSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KMSFactory

+
+
+class aws_ddk_core.resources.KMSFactory
+

Class factory to create and configure Key Management Service DDK resources, including Keys.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

key(scope, id, environment_id[, alias, ...])

Create and configure KMS key.

+
+
+static key(scope: constructs.Construct, id: str, environment_id: str, alias: Optional[str] = None, enable_key_rotation: Optional[bool] = None, pending_window: Optional[aws_cdk.Duration] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, **key_props: Any) aws_cdk.aws_kms.IKey
+

Create and configure KMS key.

+

This construct allows to configure parameters of the key using ddk.json configuration file +depending on the environment_id in which the key is used. Supported parameters are: +enable_key_rotation,`pending_window`, and removal_policy.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the key

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • alias (Optional[str]) – Key alias

  • +
  • enable_key_rotation (Optional[bool]) – Indicates whether AWS KMS rotates the key. True by default.

  • +
  • pending_window (Optional[Duration]) – Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been +removed from a CloudFormation stack. aws_cdk.Duration.days(30) by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Whether the encryption key should be retained when it is removed from the Stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • key_props (Any) – Additional key properties. For complete list of properties refer to CDK Documentation - +KMS Key: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_kms/Key.html

  • +
+
+
Returns
+

key – KMS key

+
+
Return type
+

aws_cdk.aws_kms.Key

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html b/release/0.1.3/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html new file mode 100644 index 00000000..c698714b --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html @@ -0,0 +1,330 @@ + + + + + + + + + aws_ddk_core.resources.LambdaFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.LambdaFactory

+
+
+class aws_ddk_core.resources.LambdaFactory
+

Class factory to create and configure Lambda DDK resources, including Functions.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

add_vpc_permissions(fn)

function(scope, id, environment_id, code, ...)

Create and configure Lambda function.

+
+
+static function(scope: constructs.Construct, id: str, environment_id: str, code: aws_cdk.aws_lambda.Code, handler: str, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, function_name: typing.Optional[str] = None, description: typing.Optional[str] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, dead_letter_queue_enabled: typing.Optional[bool] = None, dead_letter_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, **function_props: typing.Any) aws_cdk.aws_lambda.IFunction
+

Create and configure Lambda function.

+

This construct allows to configure parameters of the function using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +dead_letter_queue_enabled,`memory_size`, environment, profiling, +reserved_concurrent_executions, timeout, tracing, max_event_age, retry_attempts, +allow_all_outbound, and allow_public_subnet.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Lambda function

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Code) – The source code of the Lambda function

  • +
  • handler (str) – The name of the method within the code that Lambda calls to execute the function

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function

  • +
  • function_name (Optional[str]) – The name of the Lambda function

  • +
  • description (Optional[str]) – The description of the Lambda function

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • dead_letter_queue_enabled (Optional[bool]) – Determines if DLQ is enabled. False by default.

  • +
  • dead_letter_queue (Optional[IQueue]) – The SQS queue to use if DLQ is enabled

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default.

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default.

  • +
  • function_props (Any) – Additional function properties. For complete list of properties refer to CDK Documentation - +Lambda Function: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_lambda/Function.html

  • +
+
+
Returns
+

fn – Lambda function

+
+
Return type
+

aws_cdk.aws_lambda.Function

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.resources.S3Factory.html b/release/0.1.3/api/core/stubs/aws_ddk_core.resources.S3Factory.html new file mode 100644 index 00000000..2f60ea1c --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.resources.S3Factory.html @@ -0,0 +1,321 @@ + + + + + + + + + aws_ddk_core.resources.S3Factory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.S3Factory

+
+
+class aws_ddk_core.resources.S3Factory
+

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

bucket(scope, id, environment_id[, ...])

Create and configure S3 bucket.

+
+
+static bucket(scope: constructs.Construct, id: str, environment_id: str, bucket_name: Optional[str] = None, versioned: Optional[bool] = None, access_control: Optional[aws_cdk.aws_s3.BucketAccessControl] = None, block_public_access: Optional[aws_cdk.aws_s3.BlockPublicAccess] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, encryption: Optional[aws_cdk.aws_s3.BucketEncryption] = None, enforce_ssl: Optional[bool] = None, **bucket_props: Any) aws_cdk.aws_s3.IBucket
+

Create and configure S3 bucket.

+

This construct allows to configure parameters of the bucket using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +versioned,`auto_delete_objects`, enforce_ssl, access_control, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the bucket

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket_name (Optional[str]) – The name of the bucket

  • +
  • versioned (Optional[bool]) – Whether this bucket should have versioning turned on or not. True by default.

  • +
  • access_control (Optional[BucketAccessControl]) – Specifies a canned ACL that grants predefined permissions to the bucket +aws_cdk.aws_s3.BucketAccessControl.BUCKET_OWNER_FULL_CONTROL by default.

  • +
  • block_public_access (Optional[BlockPublicAccess]) – The block public access configuration of this bucket. +aws_cdk.aws_s3.BucketAccessControl.BUCKET_OWNER_FULL_CONTROL by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • encryption (Optional[BucketEncryption]) – The kind of server-side encryption to apply to this bucket. +aws_cdk.aws_s3.BucketEncryption.S3_MANAGED by default.

  • +
  • enforce_ssl (Optional[bool]) – Enforces SSL for requests. True by default.

  • +
  • bucket_props (Any) – Additional bucket properties. For complete list of properties refer to CDK Documentation - +S3 Bucket: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_s3/Bucket.html

  • +
+
+
Returns
+

bucket – S3 bucket

+
+
Return type
+

aws_cdk.aws_s3.Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.resources.SQSFactory.html b/release/0.1.3/api/core/stubs/aws_ddk_core.resources.SQSFactory.html new file mode 100644 index 00000000..058eadaf --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.resources.SQSFactory.html @@ -0,0 +1,320 @@ + + + + + + + + + aws_ddk_core.resources.SQSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.SQSFactory

+
+
+class aws_ddk_core.resources.SQSFactory
+

Class factory create and configure Simple Queue Service DDK resources, including Queues.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

apply_secure_queue_policy(queue)

queue(scope, environment_id, id[, ...])

Create and configure SQS queue.

+
+
+static queue(scope: constructs.Construct, environment_id: str, id: str, queue_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_sqs.QueueEncryption] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, dead_letter_queue: Optional[aws_cdk.aws_sqs.DeadLetterQueue] = None, **queue_props: Any) aws_cdk.aws_sqs.IQueue
+

Create and configure SQS queue.

+

This construct allows to configure parameters of the queue using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +content_based_deduplication,`data_key_reuse`, delivery_delay, max_message_size_bytes, +retention_period, visibility_timeout, receive_message_wait_time, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the queue

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • queue_name (Optional[str]) – Name of the queue

  • +
  • encryption (Optional[QueueEncryption]) – Whether the contents of the queue are encrypted, and by what type of key. +aws_cdk.aws_sqs.QueueEncryption.KMS_MANAGED by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • dead_letter_queue (Optional[DeadLetterQueue]) – Send messages to this queue if they were unsuccessfully dequeued a number of times.

  • +
  • queue_props (Any) – Additional queue properties. For complete list of properties refer to CDK Documentation - +SQS Queue: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_sqs/Queue.html

  • +
+
+
Returns
+

queue – SQS queue

+
+
Return type
+

aws_cdk.aws_sqs.Queue

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html b/release/0.1.3/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html new file mode 100644 index 00000000..fb71b4dc --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html @@ -0,0 +1,365 @@ + + + + + + + + + aws_ddk_core.stages.GlueTransformStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.GlueTransformStage

+
+
+class aws_ddk_core.stages.GlueTransformStage(*args: Any, **kwargs)
+

Class that represents a Glue Transform DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, job_name: str, crawler_name: str, job_args: Optional[Dict[str, Any]] = None, state_machine_input: Optional[Dict[str, Any]] = None) None
+

DDK Glue Transform stage.

+

Stage that contains a step function that runs Glue job, and a Glue crawler afterwards. +Both the Glue job and the crawler must be pre-created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • job_name (str) – Name of the Glue job to run

  • +
  • crawler_name (str) – Name of the Glue crawler to run

  • +
  • job_args (Optional[Dict[str, Any]]) – Glue job arguments

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK Glue Transform stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + +

node

The tree node.

state_machine

StateMachine The StateMachine

+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property state_machine: aws_cdk.aws_stepfunctions.StateMachine
+

StateMachine +The StateMachine

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.stages.S3EventStage.html b/release/0.1.3/api/core/stubs/aws_ddk_core.stages.S3EventStage.html new file mode 100644 index 00000000..78b675f8 --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.stages.S3EventStage.html @@ -0,0 +1,393 @@ + + + + + + + + + aws_ddk_core.stages.S3EventStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.S3EventStage

+
+
+class aws_ddk_core.stages.S3EventStage(*args: Any, **kwargs)
+

Class that represents an S3 Event DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, event_names: List[str], bucket_name: str, key_prefix: Optional[str] = None, **kwargs: Any) None
+

DDK S3 Event stage.

+

It implements an S3 event pattern based on event names, a bucket name and optional key prefix. +A CloudTrail Trail and associated bucket are created to enable S3 object level tracking.

+
+
Parameters
+
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK S3 Event stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

event_pattern

EventPattern The S3 event pattern

node

The tree node.

trail

Trail The CloudTrail Trail

trail_bucket

IBucket The CloudTrail Trail bucket

+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property trail: aws_cdk.aws_cloudtrail.Trail
+

Trail +The CloudTrail Trail

+
+
Type
+

Return

+
+
+
+
+
+property trail_bucket: aws_cdk.aws_s3.IBucket
+

IBucket +The CloudTrail Trail bucket

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html b/release/0.1.3/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html new file mode 100644 index 00000000..9a83849e --- /dev/null +++ b/release/0.1.3/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html @@ -0,0 +1,391 @@ + + + + + + + + + aws_ddk_core.stages.SqsToLambdaStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.SqsToLambdaStage

+
+
+class aws_ddk_core.stages.SqsToLambdaStage(*args: Any, **kwargs)
+

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, code: aws_cdk.aws_lambda.Code, handler: str, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, visibility_timeout: typing.Optional[aws_cdk.Duration] = None, dead_letter_queue_enabled: bool = False, max_receive_count: int = 1, batch_size: typing.Optional[int] = None) None
+

DDK SQS to Lambda stage.

+

It implements an Amazon SQS queue connected to an AWS Lambda function, with an optional DLQ.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Code) – The source code of the Lambda function

  • +
  • handler (str) – The name of the method within the code that Lambda calls to execute the function

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function. PYTHON_3_9 by default

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default

  • +
  • visibility_timeout (Optional[Duration]) – Timeout of processing a single message in the queue. Default: Duration.seconds(120).

  • +
  • dead_letter_queue_enabled (Optional[bool]) – Determines if DLQ is enabled. False by default

  • +
  • max_receive_count (int) – he number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue. +1 by default

  • +
  • batch_size (Optional[int]) – The maximum number of records retrieved from the event source at the function invocation time. +10 by default

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, code, ...)

DDK SQS to Lambda stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

dlq

DeadLetterQueue The SQS dead letter queue

function

Function The Lambda function

node

The tree node.

queue

Queue The SQS queue

+
+
+property dlq: Optional[aws_cdk.aws_sqs.DeadLetterQueue]
+

DeadLetterQueue +The SQS dead letter queue

+
+
Type
+

Return

+
+
+
+
+
+property function: aws_cdk.aws_lambda.IFunction
+

Function +The Lambda function

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property queue: aws_cdk.aws_sqs.IQueue
+

Queue +The SQS queue

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/genindex.html b/release/0.1.3/api/genindex.html new file mode 100644 index 00000000..e68daa99 --- /dev/null +++ b/release/0.1.3/api/genindex.html @@ -0,0 +1,837 @@ + + + + + + + Index - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+

Index

+
Symbols | _ | A | B | C | D | E | F | G | J | K | L | N | P | Q | S | T
+
+
+

Symbols

+ + + +
+
+ +
+

_

+ + +
+
+ +
+

A

+ + + +
+
+ +
+

B

+ + + +
+
+ +
+

C

+ + + +
+
+ +
+

D

+ + + +
+
+ +
+

E

+ + +
+
+ +
+

F

+ + + +
+
+ +
+

G

+ + + +
+
+ +
+

J

+ + +
+
+ +
+

K

+ + + +
+
+ +
+

L

+ + +
+
+ +
+

N

+ + +
+
+ +
+

P

+ + +
+
+ +
+

Q

+ + + +
+
+ +
+

S

+ + + +
+
+ +
+

T

+ + + +
+
+ + +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/index.html b/release/0.1.3/api/index.html new file mode 100644 index 00000000..a52f137b --- /dev/null +++ b/release/0.1.3/api/index.html @@ -0,0 +1,292 @@ + + + + + + + + + Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/objects.inv b/release/0.1.3/api/objects.inv new file mode 100644 index 0000000000000000000000000000000000000000..80502210314c50a2299ff870985a9728e9ae12c4 GIT binary patch literal 1465 zcmV;q1xETKAX9K?X>NERX>N99Zgg*Qc_4OWa&u{KZXhxWBOp+6Z)#;@bUGkGS5qKF zL`w=IAXa5^b7^mGIv@%oAXI2&AaZ4GVQFq;WpW^IW*~HEX>%ZEX>4U6X>%ZBZ*6dL zWpi_7WFU2OX>MmAdTeQ8E(&sJuiUg<@V+uqV-Tcq1;v+x2v3N%UE zge6fXDYyRjr6kL?-sDK~B@WD)?;8#0Matw~9Wr(ZsZ@NmA)2p#vwzlx&;v@(UuZmqmDqffse91IDCp-6-Y!yG^6W-r++1iBFDupaxN4+u1Qsi182 z^7iujAyOWR#NBV*nmv!#BkbkJIS2`3p_ZAVJS5ZznLL)+kR5+4<2f<=M?dN&6A^nD zTk(hsv85Nmp$x$=LYFLTnk190*sWfQ52qBpSLl1rnv7pUdc*Iy38`H=aiyIj62!uj z)3WFxy>7!oB#K`u)#6OHEa|!7|6Kq5y_8!UMGW7aJtDTP>`MlU0GEU*euh zfW3BZptcOM4(%)kKdNI4H7u(Nv|d$}(YNvYj?S1{b9f_rKYDrysJx=Zv^$O3aWCwm;j^{5DZx{i&uBPfo1a;sP%59do zADN((>nD&auWIfDP!~d|HW@u|vmDV6Snl5RJSf0^1Cbpwp7G_F!b99$`Y@zSjF;Aa zL!u&0`pO9gW|~vc>NiS1btNPQMDJ+24;XRmj&KZ#h4Bn(7*e!kz4{}{_)kR=y_G6< zp51ztdjhjx-Yep7}-e5MLHd;cawTgz%_;%CZ}IhkrxWj|i3q(-}@O~HXU#n^YrdtkhNhY|YRvSAp^DpC(1vs>wJ2I3 z#*AyKL<#9h(1OEkfC!lUZIX0=1eUFB4mH35$=)`@z@D&0HzHkh2h^gzH%t2c`}6zP z>G(wLaDi0PFrG#-j~Y9)QSaa{wehwICNq;}1~Z|6h_ZJvDQ^Vpj*kh*K0m;+?rJkHc z_uFJU|6R+KDu_hRfl~bn+!Lfy!@-UxB4NB7+at2!QGU3pzAaBpZ~4E$P3&?4yOVhS zXN_K8zoF-kH}ooLmd7B;*@9TI4*c|ttA!HaU9$XlnkCcS>WJFM+3f9O)U-7xitg)* T<#(mdx?KOrk9z+Dw*_}`iw485 literal 0 HcmV?d00001 diff --git a/release/0.1.3/api/search.html b/release/0.1.3/api/search.html new file mode 100644 index 00000000..3687c96c --- /dev/null +++ b/release/0.1.3/api/search.html @@ -0,0 +1,247 @@ + + + + + + + Search - Contents + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ + + +
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + + + + \ No newline at end of file diff --git a/release/0.1.3/api/searchindex.js b/release/0.1.3/api/searchindex.js new file mode 100644 index 00000000..b4e01b63 --- /dev/null +++ b/release/0.1.3/api/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({docnames:["cli/aws_ddk","core/aws_ddk_core","core/stubs/aws_ddk_core.base.BaseStack","core/stubs/aws_ddk_core.cicd.CICDPipelineStack","core/stubs/aws_ddk_core.config.Config","core/stubs/aws_ddk_core.config.JSONConfigStrategy","core/stubs/aws_ddk_core.pipelines.Pipeline","core/stubs/aws_ddk_core.pipelines.Stage","core/stubs/aws_ddk_core.resources.KMSFactory","core/stubs/aws_ddk_core.resources.LambdaFactory","core/stubs/aws_ddk_core.resources.S3Factory","core/stubs/aws_ddk_core.resources.SQSFactory","core/stubs/aws_ddk_core.stages.GlueTransformStage","core/stubs/aws_ddk_core.stages.S3EventStage","core/stubs/aws_ddk_core.stages.SqsToLambdaStage","index"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["cli/aws_ddk.rst","core/aws_ddk_core.rst","core/stubs/aws_ddk_core.base.BaseStack.rst","core/stubs/aws_ddk_core.cicd.CICDPipelineStack.rst","core/stubs/aws_ddk_core.config.Config.rst","core/stubs/aws_ddk_core.config.JSONConfigStrategy.rst","core/stubs/aws_ddk_core.pipelines.Pipeline.rst","core/stubs/aws_ddk_core.pipelines.Stage.rst","core/stubs/aws_ddk_core.resources.KMSFactory.rst","core/stubs/aws_ddk_core.resources.LambdaFactory.rst","core/stubs/aws_ddk_core.resources.S3Factory.rst","core/stubs/aws_ddk_core.resources.SQSFactory.rst","core/stubs/aws_ddk_core.stages.GlueTransformStage.rst","core/stubs/aws_ddk_core.stages.S3EventStage.rst","core/stubs/aws_ddk_core.stages.SqsToLambdaStage.rst","index.rst"],objects:{"aws_ddk_core.base":[[2,0,1,"","BaseStack"]],"aws_ddk_core.base.BaseStack":[[2,1,1,"","__init__"]],"aws_ddk_core.cicd":[[3,0,1,"","CICDPipelineStack"]],"aws_ddk_core.cicd.CICDPipelineStack":[[3,1,1,"","__init__"],[3,1,1,"","add_source_action"],[3,1,1,"","add_stage"],[3,1,1,"","add_synth_action"],[3,1,1,"","build"],[3,1,1,"","synth"]],"aws_ddk_core.config":[[4,0,1,"","Config"],[5,0,1,"","JSONConfigStrategy"]],"aws_ddk_core.config.Config":[[4,1,1,"","__init__"],[4,1,1,"","get_cdk_version"],[4,1,1,"","get_env"],[4,1,1,"","get_env_config"],[4,1,1,"","get_resource_config"],[4,1,1,"","get_tags"]],"aws_ddk_core.config.JSONConfigStrategy":[[5,1,1,"","__init__"],[5,1,1,"","get_config"]],"aws_ddk_core.pipelines":[[6,0,1,"","Pipeline"],[7,0,1,"","Stage"]],"aws_ddk_core.pipelines.Pipeline":[[6,1,1,"","__init__"],[6,1,1,"","add_rule"],[6,1,1,"","add_stage"]],"aws_ddk_core.pipelines.Stage":[[7,1,1,"","__init__"],[7,1,1,"","get_event_pattern"],[7,1,1,"","get_targets"]],"aws_ddk_core.resources":[[8,0,1,"","KMSFactory"],[9,0,1,"","LambdaFactory"],[10,0,1,"","S3Factory"],[11,0,1,"","SQSFactory"]],"aws_ddk_core.resources.KMSFactory":[[8,1,1,"","__init__"],[8,1,1,"","key"]],"aws_ddk_core.resources.LambdaFactory":[[9,1,1,"","__init__"],[9,1,1,"","function"]],"aws_ddk_core.resources.S3Factory":[[10,1,1,"","__init__"],[10,1,1,"","bucket"]],"aws_ddk_core.resources.SQSFactory":[[11,1,1,"","__init__"],[11,1,1,"","queue"]],"aws_ddk_core.stages":[[12,0,1,"","GlueTransformStage"],[13,0,1,"","S3EventStage"],[14,0,1,"","SqsToLambdaStage"]],"aws_ddk_core.stages.GlueTransformStage":[[12,1,1,"","__init__"],[12,1,1,"","get_event_pattern"],[12,1,1,"","get_targets"],[12,2,1,"","state_machine"]],"aws_ddk_core.stages.S3EventStage":[[13,1,1,"","__init__"],[13,2,1,"","event_pattern"],[13,1,1,"","get_event_pattern"],[13,1,1,"","get_targets"],[13,2,1,"","trail"],[13,2,1,"","trail_bucket"]],"aws_ddk_core.stages.SqsToLambdaStage":[[14,1,1,"","__init__"],[14,2,1,"","dlq"],[14,2,1,"","function"],[14,1,1,"","get_event_pattern"],[14,1,1,"","get_targets"],[14,2,1,"","queue"]],"ddk-bootstrap":[[0,3,1,"cmdoption-ddk-bootstrap-e","--environment"],[0,3,1,"cmdoption-ddk-bootstrap-i","--iam-policies"],[0,3,1,"cmdoption-ddk-bootstrap-permissions-boundary","--permissions-boundary"],[0,3,1,"cmdoption-ddk-bootstrap-prefix","--prefix"],[0,3,1,"cmdoption-ddk-bootstrap-p","--profile"],[0,3,1,"cmdoption-ddk-bootstrap-qualifier","--qualifier"],[0,3,1,"cmdoption-ddk-bootstrap-r","--region"],[0,3,1,"cmdoption-ddk-bootstrap-t","--tags"],[0,3,1,"cmdoption-ddk-bootstrap-a","--trusted-accounts"],[0,3,1,"cmdoption-ddk-bootstrap-a","-a"],[0,3,1,"cmdoption-ddk-bootstrap-e","-e"],[0,3,1,"cmdoption-ddk-bootstrap-i","-i"],[0,3,1,"cmdoption-ddk-bootstrap-p","-p"],[0,3,1,"cmdoption-ddk-bootstrap-r","-r"],[0,3,1,"cmdoption-ddk-bootstrap-t","-t"]],"ddk-create-repository":[[0,3,1,"cmdoption-ddk-create-repository-d","--description"],[0,3,1,"cmdoption-ddk-create-repository-p","--profile"],[0,3,1,"cmdoption-ddk-create-repository-r","--region"],[0,3,1,"cmdoption-ddk-create-repository-t","--tags"],[0,3,1,"cmdoption-ddk-create-repository-d","-d"],[0,3,1,"cmdoption-ddk-create-repository-p","-p"],[0,3,1,"cmdoption-ddk-create-repository-r","-r"],[0,3,1,"cmdoption-ddk-create-repository-t","-t"],[0,3,1,"cmdoption-ddk-create-repository-arg-NAME","NAME"]],"ddk-deploy":[[0,3,1,"cmdoption-ddk-deploy-f","--force"],[0,3,1,"cmdoption-ddk-deploy-o","--output-dir"],[0,3,1,"cmdoption-ddk-deploy-p","--profile"],[0,3,1,"cmdoption-ddk-deploy-require-approval","--require-approval"],[0,3,1,"cmdoption-ddk-deploy-f","-f"],[0,3,1,"cmdoption-ddk-deploy-o","-o"],[0,3,1,"cmdoption-ddk-deploy-p","-p"]],"ddk-init":[[0,3,1,"cmdoption-ddk-init-e","--environment"],[0,3,1,"cmdoption-ddk-init-t","--template"],[0,3,1,"cmdoption-ddk-init-e","-e"],[0,3,1,"cmdoption-ddk-init-t","-t"],[0,3,1,"cmdoption-ddk-init-arg-NAME","NAME"]],ddk:[[0,3,1,"cmdoption-ddk-debug","--debug"],[0,3,1,"cmdoption-ddk-debug","--no-debug"],[0,3,1,"cmdoption-ddk-version","--version"]]},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"],"2":["py","property","Python property"],"3":["std","cmdoption","program option"]},objtypes:{"0":"py:class","1":"py:method","2":"py:property","3":"std:cmdoption"},terms:{"1":[0,8,9,14],"10":14,"111111111111":0,"120":[9,14],"1984":0,"2":[8,9],"222222222222":0,"256":[9,14],"3":[8,9],"30":8,"abstract":7,"class":[2,3,4,5,6,7,8,9,10,11,12,13,14],"default":[0,3,4,5,6,8,9,10,11,13,14],"function":[9,10,11,12,14],"int":[9,14],"new":0,"public":10,"return":[3,4,5,6,7,8,9,10,11,12,13,14],"static":[8,9,10,11],"true":[8,10],A:[0,13],By:6,For:[6,7,8,9,10,11],If:0,It:[3,13,14],The:[0,3,7,8,9,10,12,13,14],To:7,__init__:[2,3,4,5,6,7,8,9,10,11,12,13,14],_queue:7,abil:3,abl:3,access:10,access_control:10,account:[0,3,4],acl:10,action:3,add:[3,6,7],add_rul:6,add_source_act:3,add_stag:[3,6],add_synth_act:3,addit:[2,3,8,9,10,11],after:[3,9,14],afterward:12,alia:8,alloc:[9,14],allow:[8,9,10,11],allow_all_outbound:9,allow_public_subnet:9,alwai:[0,8,9],amazon:[2,8,9,10,11,13,14],amazons3:13,amount:[9,14],an:[6,7,12,13,14],ani:[0,2,3,4,5,6,7,8,9,10,11,12,13,14],api:[8,9,10,11],app:3,appli:[0,10,11],applic:[2,3],approv:[0,3],ar:[0,3,7,8,9,10,11,12,13,14],arg:[0,2,3,6,7,12,13,14],argument:[0,2,8,9,12],arn1:0,arn2:0,arn:[0,2],artifact:3,artifactori:3,assembl:0,associ:13,attach:0,attribut:[2,3,6,7,12,13,14],auto_delete_object:10,avoid:3,aw:[0,2,4,8,9,10,11,13,14],aws_cdk:[2,3,4,6,7,8,9,10,11,12,13,14],aws_cloudtrail:13,aws_ddk:15,aws_ddk_cor:15,aws_ev:[6,7,12,13,14],aws_iam:[3,9,14],aws_km:8,aws_lambda:[9,14],aws_s3:[10,13],aws_sq:[9,11,14],aws_stepfunct:12,base:[3,13,15],batch_siz:14,been:8,befor:[8,14],being:14,best:3,block:[3,10],block_public_access:10,blockpublicaccess:10,bool:[2,3,6,8,9,10,14],bootstrap:2,both:12,boundari:[0,2],branch:3,broaden:0,bucket:[3,10,11,13],bucket_nam:[10,13],bucket_owner_full_control:10,bucket_prop:10,bucketaccesscontrol:10,bucketencrypt:10,build:3,builder:3,call:[3,9,14],can:[3,5,10,14],captur:13,cd:3,cdk:[0,2,3,4,8,9,10,11],cdk_version:4,chang:0,chunki:3,ci:3,cicd:15,cli:0,cloud:0,cloudform:8,cloudtrail:13,cmk:8,code:[0,3,9,14],codeartifact:3,codeartifact_domain:3,codeartifact_domain_own:3,codeartifact_repositori:3,codebuildstep:3,codecommit:3,codepipelinesourc:3,com:[2,8,9,10,11,13],command:0,complet:[8,9,10,11],config:[3,15],config_strategi:4,configstrategi:4,configur:[2,3,4,5,8,9,10,11],connect:[3,14],construct:[2,3,6,7,8,9,10,11,12,13,14],constructor:3,contain:[0,3,4,5,12],content:11,content_based_dedupl:11,continu:3,costcent:0,crawler:12,crawler_nam:12,creat:[2,3,4,6,7,8,9,10,11,12,13],creation:6,credenti:0,custom:6,d:0,dai:8,data:[6,7],data_key_reus:11,ddk:[3,5,8,9,10,11,12,13,14],dead:14,dead_letter_queu:[9,11],dead_letter_queue_en:[9,14],deadletterqueu:[11,14],debug:0,def:7,defaultstacksynthes:2,defin:[2,3,6,7,8,9,10,11,12,13,14],delet:8,deliveri:3,delivery_delai:11,depend:[8,9,10,11],deploi:3,deploy:0,dequeu:[11,14],describ:[7,12,13,14],descript:[0,6,7,9],detail:7,detail_typ:7,determin:[4,9,14],dev:[0,3],devstag:3,dict:[4,12],dictionari:[4,5],differ:5,dir:0,directori:0,dlq:[9,14],doc:[2,8,9,10,11,13],document:[8,9,10,11],domain:3,durat:[8,9,14],dure:3,e:[0,3],east:0,enabl:[9,13,14],enable_key_rot:8,encrypt:[3,8,10,11],enforc:10,enforce_ssl:10,ensur:3,env:[3,4],env_config:4,environ:[0,2,3,4,8,9,10,11,12,13,14],environment_id:[2,3,4,7,8,9,10,11,12,13,14],even:0,event:[6,7,12,13,14],event_nam:13,event_pattern:[6,7,12,13,14],event_target:6,eventpattern:[6,7,12,13,14],exampl:[3,6,7],execut:[9,14],exit:0,explicit:[8,9],f:0,factori:[8,9,10,11],fals:[0,3,6,9,14],featur:3,file:[0,5,8,9,10,11],fn:9,follow:[8,9],forc:0,form:4,framework:0,from:[0,2,3,4,5,7,8,9,10,11,14],function_nam:9,function_prop:9,g:[0,3],get:[4,5,7,12,13,14],get_cdk_vers:4,get_config:5,get_env:4,get_env_config:4,get_event_pattern:[7,12,13,14],get_resource_config:4,get_tag:4,get_target:[6,7,12,13,14],git:0,given:[4,5],glue:12,grant:10,guid:2,ha:8,handler:[9,14],have:10,he:14,hope:3,how:4,html:[2,8,9,10,11,13],http:[2,8,9,10,11,13],i:0,iam:0,iam_polici:0,ibucket:[10,13],id:[0,2,3,4,6,7,8,9,10,11,12,13,14],ident:0,identifi:[2,3,4,6,7,8,9,10,11,12,13,14],ifunct:[9,14],ikei:8,implement:[7,13,14],includ:[2,3,8,9,10,11],index:15,indic:8,infer:0,info:13,infrastructur:[3,7],inherit:[2,7],input:[7,12,13,14],instanc:[3,4,6],integr:3,interfac:3,invoc:14,invok:[7,12,13,14],iqueu:[9,11,14],irol:[9,14],iruletarget:[6,7,12,13,14],job:12,job_arg:12,job_nam:12,json:[3,4,5,8,9,10,11],jsonconfigstrategi:4,kei:[3,5,8,11,13],key_prefix:13,key_prop:8,kind:10,km:[3,8],kms_manag:11,kwarg:[2,3,6,7,12,13,14],lambda:[9,14],latest:13,letter:14,level:[2,13],list:[0,3,6,7,8,9,10,11,12,13,14],load:5,loc:3,local:0,log:[0,13],machin:12,main:3,manag:[0,2,8],manual:[0,3],manual_approv:3,match:[6,7,12,13,14],max_event_ag:9,max_message_size_byt:11,max_receive_count:14,maximum:14,mb:[9,14],memori:[9,14],memory_s:[9,14],messag:[11,14],method:[2,3,4,5,6,7,8,9,10,11,12,13,14],modifi:3,modul:15,move:14,multi:2,multipl:3,must:12,mutat:3,my:[3,6,7],my_glue_stag:6,my_lambda_stag:6,mypipelin:3,mystag:7,name:[0,3,6,7,9,10,11,12,13,14],need:0,never:0,next:6,non:3,none:[0,2,3,4,5,6,7,8,9,10,11,12,13,14],number:[8,11,14],o:0,object:[9,13,14],off:0,one:6,option:[0,2,3,4,6,7,8,9,10,11,12,13,14],order:[8,9],otherwis:[8,9],output:[0,6,7,12,13,14],output_dir:0,overrid:[3,6],override_rul:6,owner:3,p:0,page:15,paramet:[2,3,4,5,6,7,8,9,10,11,12,13,14],path:5,pattern:[6,7,12,13,14],pending_window:8,perform:0,period:8,permiss:[0,2,10],permissions_boundari:0,permissions_boundary_arn:2,pipelin:[3,15],pipeline_nam:3,polici:[0,2,3,10,11],policystat:3,possibl:3,practic:3,pre:12,predefin:10,prefer:[8,9],prefix:[0,13],previou:6,previous_stag:6,privat:3,process:14,produc:[7,12,13,14],profil:[0,9],project:0,properti:[3,7,8,9,10,11,12,13,14],protect:2,provid:[0,4],pull:3,python:[0,8,9,10,11],python_3_9:14,qualifi:0,queue:[7,9,11,14],queue_nam:11,queue_prop:11,queueencrypt:11,r:0,read:[4,5],receive_message_wait_tim:11,record:14,refer:[8,9,10,11],region:[0,4],remov:[8,10,11],removal_polici:[8,10,11],removalpolici:[8,10,11],repo:[3,4,5],repositori:3,repository_nam:3,repres:[4,6,7,12,13,14],request:10,requir:[0,7],require_approv:0,reserved_concurrent_execut:9,resourc:[0,4,15],respect:[8,9],retain:[8,10,11],retention_period:11,retriev:14,retry_attempt:9,reus:3,role:[0,3,9,14],role_policy_stat:3,root:[4,5,13],rotat:[3,8],rout:[7,12,13,14],rule:[6,7,12,13,14],run:12,runtim:[9,14],s3:[10,13],s3_manag:10,s:[7,12,13,14],save:3,scm:3,scope:[2,3,6,7,8,9,10,11,12,13,14],search:15,second:[9,14],secur:[0,3],select:[7,12,13,14],self:[3,6,7],send:11,sensit:0,server:10,servic:[8,10,11],set:2,sever:3,should:[0,3,4,7,8,10,12,13,14],show:0,side:10,simpl:[10,11],singl:14,skip:6,skip_rul:6,some:3,sourc:[0,3,9,14],source_act:3,specif:[0,3,6],specifi:[5,6,8,10],sq:[7,9,11,14],sqsfactori:7,sqsqueue:7,ssl:[3,10],stack:[0,2,3,8,10,11],stage:[3,6,15],stage_id:3,start:3,state:12,state_machin:12,state_machine_input:12,statemachin:12,step:12,storag:10,str:[2,3,4,5,6,7,8,9,10,11,12,13,14],strategi:4,structur:[0,3,7,12,13,14],support:[8,9,10,11],synth:3,synth_act:3,synthes:[0,2,3],system:0,t:0,tag:[0,2,4],tag_kei:4,target:[6,7,12,13,14],templat:0,termin:[2,9,14],termination_protect:2,thei:11,them:[3,7,12,13,14],thi:[2,3,6,7,8,9,10,11,12,13,14],time:[9,11,14],timeout:[9,14],trace:9,track:13,trail:13,trail_bucket:13,transform:[12,14],trust:0,trusted_account:0,turn:[0,10],type:[3,4,5,6,7,8,9,10,11,12,13,14],unsuccessfulli:[11,14],url:0,us:[0,4,5,6,7,8,9,10,11,12,13,14],user:3,userguid:13,usual:6,v2:[2,8,9,10,11],valu:[4,8,9],version:[0,4,10],via:[3,6],visibility_timeout:[11,14],wait:8,were:11,what:[0,7,11,12,13,14],when:[7,8,10,11,12,13,14],where:[0,4],whether:[8,10,11],which:[2,3,6,7,8,9,10,11,12,13,14],wire:6,within:[2,3,6,7,8,9,10,11,12,13,14],your:[0,3]},titles:["aws_ddk package","aws_ddk_core package","aws_ddk_core.base.BaseStack","aws_ddk_core.cicd.CICDPipelineStack","aws_ddk_core.config.Config","aws_ddk_core.config.JSONConfigStrategy","aws_ddk_core.pipelines.Pipeline","aws_ddk_core.pipelines.Stage","aws_ddk_core.resources.KMSFactory","aws_ddk_core.resources.LambdaFactory","aws_ddk_core.resources.S3Factory","aws_ddk_core.resources.SQSFactory","aws_ddk_core.stages.GlueTransformStage","aws_ddk_core.stages.S3EventStage","aws_ddk_core.stages.SqsToLambdaStage","AWS DDK API Documentation"],titleterms:{api:15,aw:15,aws_ddk:0,aws_ddk_cor:[1,2,3,4,5,6,7,8,9,10,11,12,13,14],base:[1,2],basestack:2,bootstrap:0,cicd:[1,3],cicdpipelinestack:3,config:[1,4,5],creat:0,ddk:[0,15],deploi:0,document:15,gluetransformstag:12,indic:15,init:0,jsonconfigstrategi:5,kmsfactori:8,lambdafactori:9,packag:[0,1,15],pipelin:[1,6,7],repositori:0,resourc:[1,8,9,10,11],s3eventstag:13,s3factori:10,sqsfactori:11,sqstolambdastag:14,stage:[1,7,12,13,14],tabl:15}}) \ No newline at end of file diff --git a/release/0.1.3/how-to/index.html b/release/0.1.3/how-to/index.html new file mode 100644 index 00000000..1e28ceba --- /dev/null +++ b/release/0.1.3/how-to/index.html @@ -0,0 +1,1817 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.1.3 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.1.3/how-to/spend-first-hour.html b/release/0.1.3/how-to/spend-first-hour.html new file mode 100644 index 00000000..6b2b6092 --- /dev/null +++ b/release/0.1.3/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.1.3/how-to/understand-concepts.html b/release/0.1.3/how-to/understand-concepts.html new file mode 100644 index 00000000..bf943802 --- /dev/null +++ b/release/0.1.3/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK over the AWS CDK?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.1.3/index.html b/release/0.1.3/index.html new file mode 100644 index 00000000..702d6364 --- /dev/null +++ b/release/0.1.3/index.html @@ -0,0 +1,1823 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.1.3 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.2.0/api/_static/basic.css b/release/0.2.0/api/_static/basic.css new file mode 100644 index 00000000..bf18350b --- /dev/null +++ b/release/0.2.0/api/_static/basic.css @@ -0,0 +1,906 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 450px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a.brackets:before, +span.brackets > a:before{ + content: "["; +} + +a.brackets:after, +span.brackets > a:after { + content: "]"; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +dl.footnote > dt, +dl.citation > dt { + float: left; + margin-right: 0.5em; +} + +dl.footnote > dd, +dl.citation > dd { + margin-bottom: 0em; +} + +dl.footnote > dd:after, +dl.citation > dd:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dt:after { + content: ":"; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/release/0.2.0/api/_static/doctools.js b/release/0.2.0/api/_static/doctools.js new file mode 100644 index 00000000..e509e483 --- /dev/null +++ b/release/0.2.0/api/_static/doctools.js @@ -0,0 +1,326 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated === 'undefined') + return string; + return (typeof translated === 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated === 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) === 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this === '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keydown(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box, textarea, dropdown or button + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' + && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey + && !event.shiftKey) { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + break; + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + break; + } + } + }); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/release/0.2.0/api/_static/documentation_options.js b/release/0.2.0/api/_static/documentation_options.js new file mode 100644 index 00000000..3efbeb81 --- /dev/null +++ b/release/0.2.0/api/_static/documentation_options.js @@ -0,0 +1,12 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: '0.2.0', + LANGUAGE: 'None', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false +}; \ No newline at end of file diff --git a/release/0.2.0/api/_static/file.png b/release/0.2.0/api/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/release/0.2.0/api/_static/jquery-3.5.1.js b/release/0.2.0/api/_static/jquery-3.5.1.js new file mode 100644 index 00000000..50937333 --- /dev/null +++ b/release/0.2.0/api/_static/jquery-3.5.1.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk package

+
+

ddk

+

AWS DDK CLI.

+
ddk [OPTIONS] COMMAND [ARGS]...
+
+
+

Options

+
+
+--version
+

Show the version and exit.

+
+
+
+--debug, --no-debug
+

Turn debug logging on/off.

+
+
Default
+

False

+
+
+
+
+

bootstrap

+

Bootstrap the AWS account with DDK resources.

+
ddk bootstrap [OPTIONS]
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
Default
+

default

+
+
+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+--prefix <prefix>
+

The prefix to resource names.

+
+
Default
+

ddk

+
+
+
+
+
+--qualifier <qualifier>
+

The CDK bootstrap qualifier.

+
+
+
+-a, --trusted-accounts <trusted_accounts>
+

List of trusted AWS accounts to perform deployments (e.g. -a 111111111111 -a 222222222222).

+
+
+
+-i, --iam-policies <iam_policies>
+

List of IAM managed policy ARNs that should be attached to the role performing deployments. +(e.g. -i arn1 -i arn2)

+
+
+
+--permissions-boundary <permissions_boundary>
+

IAM managed permissions boundary policy ARN that should be attached to the role performing deployments.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the stack (e.g -t CostCenter 1984 -t Framework DDK).

+
+
+
+

create-repository

+

Create a code repository from the source system provider.

+

NAME is the name of the repository.

+
ddk create-repository [OPTIONS] NAME
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
Default
+

default

+
+
+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+-d, --description <description>
+

The description of the repository.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the repository (e.g -t CostCenter 1984 -t Framework DDK).

+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+

deploy

+

Deploy DDK stacks to AWS account.

+
ddk deploy [OPTIONS]
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
Default
+

default

+
+
+
+
+
+--require-approval <require_approval>
+

What security-sensitive changes need manual approval.

+
+
Options
+

never | any-change | broadening

+
+
+
+
+
+-f, --force
+

Always deploy stack even if templates are identical.

+
+
+
+-o, --output-dir <output_dir>
+

Directory where cloud assembly is synthesized.

+
+
+
+

init

+

Create the local structure for a new AWS DDK Python project.

+

NAME is the name of the project.

+
ddk init [OPTIONS] NAME
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-t, --template <template>
+

A directory containing a project template directory, or a URL to a git repository

+
+
+
+--generate-only
+

If true, only generates project files, without setting up a git repo or a virtual environment

+
+
Default
+

False

+
+
+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/aws_ddk_core.html b/release/0.2.0/api/core/aws_ddk_core.html new file mode 100644 index 00000000..22b31abe --- /dev/null +++ b/release/0.2.0/api/core/aws_ddk_core.html @@ -0,0 +1,402 @@ + + + + + + + + + aws_ddk_core package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core package

+ +
+

Base

+
++++ + + + + + +

BaseStack(*args, **kwargs)

Base Stack to inherit from.

+
+
+

CICD

+
++++ + + + + + +

CICDPipelineStack(*args, **kwargs)

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+
+
+

Config

+
++++ + + + + + + + + +

Config([config_strategy])

Class used to read configuration with a configurable strategy.

JSONConfigStrategy([path])

Read config from ddk.json in the root of the repo.

+
+
+

Data Pipelines

+
++++ + + + + + + + + +

DataPipeline(*args, **kwargs)

Class that represents a data pipeline.

DataStage(*args, **kwargs)

Class that represents a stage within a data pipeline.

+
+
+

Resources

+
++++ + + + + + + + + + + + + + + + + + +

KMSFactory()

Class factory to create and configure Key Management Service DDK resources, including Keys.

LambdaFactory()

Class factory to create and configure Lambda DDK resources, including Functions.

S3Factory()

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

SQSFactory()

Class factory create and configure Simple Queue Service DDK resources, including Queues.

StepFunctionsFactory()

Class factory create and configure AWS Step Functions Service DDK resources, including State Machines.

+
+
+

Data Stages

+
++++ + + + + + + + + + + + +

GlueTransformStage(*args, **kwargs)

Class that represents a Glue Transform DDK DataStage.

S3EventStage(*args, **kwargs)

Class that represents an S3 Event DDK Stage.

SqsToLambdaStage(*args, **kwargs)

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.base.BaseStack.html b/release/0.2.0/api/core/stubs/aws_ddk_core.base.BaseStack.html new file mode 100644 index 00000000..a438c6a2 --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.base.BaseStack.html @@ -0,0 +1,415 @@ + + + + + + + + + aws_ddk_core.base.BaseStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.base.BaseStack

+
+
+class aws_ddk_core.base.BaseStack(*args: Any, **kwargs)
+

Base Stack to inherit from.

+

Includes configurable termination protection, synthesizer, permissions boundary and tags.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, termination_protection: Optional[bool] = None, permissions_boundary_arn: Optional[str] = None, synthesizer: Optional[aws_cdk.DefaultStackSynthesizer] = None, **kwargs: Any) None
+

Create a stack.

+

Includes termination protection settings, multi-level (application, environment, and stack-level) tags, +and permissions boundary.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stack

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • termination_protection (Optional[bool]) – Stack termination protection

  • +
  • permissions_boundary_arn (Optional[str]) – ARN of the permissions boundary managed policy

  • +
  • synthesizer (Optional[DefaultStackSynthesizer]) – CDK synthesizer configuration +https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html#bootstrapping-synthesizers

  • +
  • kwargs (Any) – Additional arguments

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Create a stack.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_transform(transform)

Add a Transform to this stack.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

(deprecated) Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html b/release/0.2.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html new file mode 100644 index 00000000..2bbdcc9e --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html @@ -0,0 +1,645 @@ + + + + + + + + + aws_ddk_core.cicd.CICDPipelineStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.cicd.CICDPipelineStack

+
+
+class aws_ddk_core.cicd.CICDPipelineStack(*args: Any, **kwargs)
+

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+

The pipeline is based on CDK self-mutating pipeline but includes +several DDK-specific features, including:

+
    +
  • Ability to configure some properties via JSON config e.g. manual approvals for application stages

  • +
  • Defaults for source/synth - CodeCommit & cdk synth, with ability to override them

  • +
  • Ability to connect to private artifactory to pull artifacts from at synth

  • +
  • Security best practices - ensures pipeline buckets block non-SSL, and are KMS-encrypted with rotated keys

  • +
  • Builder interface to avoid chunky constructor methods

  • +
+

The user should be able to reuse the pipeline in multiple DDK applications hoping to save LOC.

+

Example:

+
pipeline = (
+    CICDPipelineStack(
+        app,
+        id="my-pipeline",
+        environment_id="cicd",
+        pipeline_name="MyPipeline",
+    )
+    .add_source_action(repository_name="my-repo")
+    .add_synth_action()
+    .build()
+    .add_stage("dev", DevStage(app, "dev"))
+    .add_notifications()
+    .synth()
+)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, pipeline_name: Optional[str] = None, env: Optional[aws_cdk.Environment] = None, **kwargs: Any) None
+

Start building Code Pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • environment_id (str) – Identifier of the environment that will contain the pipeline

  • +
  • pipeline_name (Optional[str]) – Name of the pipeline

  • +
  • env (Optional[Environment]) – Environment

  • +
  • kwargs (Any) – Additional args

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Start building Code Pipeline.

add_checks()

Add checks to the pipeline (e.g.

add_custom_stage(stage_name, steps)

Add custom stage to the pipeline.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_notifications([notification_rule])

Add pipeline notifications.

add_security_lint_stage([stage_name, ...])

Add linting - cfn-nag, and bandit.

add_source_action([repository_name, branch, ...])

Add source action.

add_stage(stage_id, stage[, manual_approvals])

Add application stage to the CICD pipeline.

add_synth_action([codeartifact_repository, ...])

Add synth action.

add_test_stage([stage_name, ...])

Add test - e.g.

add_transform(transform)

Add a Transform to this stack.

build()

Build the pipeline structure.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

(deprecated) Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

synth()

Synthesize the pipeline.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+add_checks() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add checks to the pipeline (e.g. linting, security, tests…).

+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_custom_stage(stage_name: str, steps: List[aws_cdk.pipelines.Step]) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add custom stage to the pipeline.

+
+
Parameters
+
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_notifications(notification_rule: Optional[aws_cdk.aws_codestarnotifications.NotificationRule] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add pipeline notifications. Create notification rule that sends events to the specified SNS topic.

+
+
Parameters
+

notification_rule (Optional[NotificationRule]) – Override notification rule

+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_security_lint_stage(stage_name: Optional[str] = None, cloud_assembly_file_set: Optional[aws_cdk.pipelines.IFileSetProducer] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add linting - cfn-nag, and bandit.

+
+
Parameters
+
    +
  • stage_name (Optional[str]) – Name of the stage

  • +
  • cloud_assembly_file_set (Optional[IFileSetProducer]) – Cloud assembly file set producer

  • +
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_source_action(repository_name: Optional[str] = None, branch: str = 'main', source_action: Optional[aws_cdk.pipelines.CodePipelineSource] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add source action.

+
+
Parameters
+
    +
  • repository_name (Optional[str]) – Name of the SCM repository

  • +
  • branch (str) – Branch of the SCM repository

  • +
  • source_action (Optional[CodePipelineSource]) – Override source action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_stage(stage_id: str, stage: aws_cdk.Stage, manual_approvals: Optional[bool] = False) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add application stage to the CICD pipeline. This stage deploys your application infrastructure.

+
+
Parameters
+
    +
  • stage_id (str) – Identifier of the stage

  • +
  • stage (Stage) – Application stage instance

  • +
  • manual_approvals (Optional[bool]) – Configure manual approvals. False by default

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_synth_action(codeartifact_repository: Optional[str] = None, codeartifact_domain: Optional[str] = None, codeartifact_domain_owner: Optional[str] = None, role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, synth_action: Optional[aws_cdk.pipelines.CodeBuildStep] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add synth action. During synth can connect and pull artifacts from a private artifactory.

+
+
Parameters
+
    +
  • codeartifact_repository (Optional[str]) – Name of the CodeArtifact repository to pull artifacts from

  • +
  • codeartifact_domain (Optional[str]) – Name of the CodeArtifact domain

  • +
  • codeartifact_domain_owner (Optional[str]) – CodeArtifact domain owner account

  • +
  • role_policy_statements (Optional[List[PolicyStatement]]) – Additional policies to add to the synth action role

  • +
  • synth_action (Optional[CodeBuildStep]) – Override synth action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_test_stage(stage_name: Optional[str] = None, cloud_assembly_file_set: Optional[aws_cdk.pipelines.IFileSetProducer] = None, commands: Optional[List[str]] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add test - e.g. pytest.

+
+
Parameters
+
    +
  • stage_name (Optional[str]) – Name of the stage

  • +
  • cloud_assembly_file_set (Optional[IFileSetProducer]) – Cloud assembly file set

  • +
  • commands (Optional[List[str]]) – Additional commands to run in the test. Defaults to “./test.sh” otherwise

  • +
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+build() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Build the pipeline structure.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+synth() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Synthesize the pipeline.

+

It is not possible to modify the pipeline after calling this method.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.config.Config.html b/release/0.2.0/api/core/stubs/aws_ddk_core.config.Config.html new file mode 100644 index 00000000..b8973f69 --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.config.Config.html @@ -0,0 +1,383 @@ + + + + + + + + + aws_ddk_core.config.Config - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.Config

+
+
+class aws_ddk_core.config.Config(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None)
+

Class used to read configuration with a configurable strategy.

+
+
+__init__(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None) None
+

Create Config class instance.

+

Provide ConfigStrategy to determine how/where the config should be read from. +Reads from cdk.json in the root of the repo by default.

+
+
Parameters
+

config_strategy (Optional[ConfigStrategy]) – Strategy that determines how and where to read config from. JSONConfigStrategy by default

+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__([config_strategy])

Create Config class instance.

get_cdk_version()

Return CDK version.

get_env(environment_id)

Get environment representing AWS account and region.

get_env_config(environment_id)

Get environment config.

get_resource_config(environment_id, id)

Get resource config of the resource with given id in the environment with the given environment id.

get_tags()

Return tags.

+
+
+get_cdk_version() Optional[str]
+

Return CDK version.

+
+
Returns
+

cdk_version – CDK version

+
+
Return type
+

Optional[str]

+
+
+
+
+
+get_env(environment_id: str) aws_cdk.Environment
+

Get environment representing AWS account and region.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env – CDK Environment(account, region)

+
+
Return type
+

Environment

+
+
+
+
+
+get_env_config(environment_id: str) Dict[str, Any]
+

Get environment config.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env_config – Dictionary that contains config for the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_resource_config(environment_id: str, id: str) Dict[str, Any]
+

Get resource config of the resource with given id in the environment with the given environment id.

+
+
Parameters
+
    +
  • environment_id (str) – Identifier of the environment

  • +
  • id (str) – Identifier of the resource

  • +
+
+
Returns
+

config – Dictionary that contains config for the given resource in the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_tags() Dict[str, str]
+

Return tags.

+
+
Returns
+

tags – Dict of a form {‘tag_key’: ‘value’}

+
+
Return type
+

Dict[str, str]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html b/release/0.2.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html new file mode 100644 index 00000000..f687d56f --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html @@ -0,0 +1,309 @@ + + + + + + + + + aws_ddk_core.config.JSONConfigStrategy - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.JSONConfigStrategy

+
+
+class aws_ddk_core.config.JSONConfigStrategy(path: str = './ddk.json')
+

Read config from ddk.json in the root of the repo.

+

Can be used to read from any JSON file by specifying a different path.

+
+
+__init__(path: str = './ddk.json') None
+

Load the JSON file in the given path.

+
+
Parameters
+

path (str) – Path to the JSON config, ‘./ddk.json’ by default

+
+
+
+

Methods

+
++++ + + + + + + + + +

__init__([path])

Load the JSON file in the given path.

get_config(key)

Get config by key.

+
+
+get_config(key: str) Any
+

Get config by key.

+
+
Parameters
+

key (str) – Key

+
+
Returns
+

config – Dictionary that contains the configuration

+
+
Return type
+

Any

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html b/release/0.2.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html new file mode 100644 index 00000000..f2aea5f5 --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html @@ -0,0 +1,366 @@ + + + + + + + + + aws_ddk_core.pipelines.DataPipeline - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.DataPipeline

+
+
+class aws_ddk_core.pipelines.DataPipeline(*args: Any, **kwargs)
+

Class that represents a data pipeline. Used to wire stages via Event Rules. For example:

+
DataPipeline(self, id, description="My pipeline")
+    .add_stage(my_lambda_stage)
+    .add_stage(my_glue_stage)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a data pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • name (Optional[str]) – Name of the pipeline

  • +
  • description (Optional[str]) – Description of the pipeline

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a data pipeline.

add_rule([id, event_pattern, event_targets, ...])

Create a rule that matches specificed event pattern with the specified target.

add_stage(stage[, skip_rule, override_rule])

Add a stage to the data pipeline.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+add_rule(id: Optional[str] = None, event_pattern: Optional[aws_cdk.aws_events.EventPattern] = None, event_targets: Optional[List[aws_cdk.aws_events.IRuleTarget]] = None, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+
    +
  • id (Optional[str]) – Identifier of the rule

  • +
  • event_pattern (Optional[EventPattern]) – Event pattern of the rule

  • +
  • event_targets (Optional[List[IRuleTarget]]) – Target of the rule - usually previous_stage.get_targets()

  • +
  • override_rule (Optional[Rule]) – Custom rule

  • +
+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+add_stage(stage: aws_ddk_core.pipelines.stage.DataStage, skip_rule: bool = False, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Add a stage to the data pipeline.

+

By default, creates an Event Rule that matches output event pattern of the previous stage +with targets of the next one.

+
+
Parameters
+
    +
  • stage (DataStage) – Stage instance

  • +
  • skip_rule (bool) – Skip creation of the default rule

  • +
  • override_rule (Optional[Rule]) – Override the default rule by the rule specified in this parameter

  • +
+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html b/release/0.2.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html new file mode 100644 index 00000000..77408984 --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html @@ -0,0 +1,380 @@ + + + + + + + + + aws_ddk_core.pipelines.DataStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.DataStage

+
+
+class aws_ddk_core.pipelines.DataStage(*args: Any, **kwargs)
+

Class that represents a stage within a data pipeline.

+

To create a DataStage, inherit from this class, add infrastructure required by the stage, and implement +get_event_pattern and get_targets methods. For example:

+
class MyStage(DataStage):
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+    ) -> None:
+        # Define stage infrastructure, for example a queue
+        self._queue = SQSFactory.queue(
+            self,
+            id,
+            environment_id,
+        )
+
+    @property
+    def queue(self) -> Queue:
+        '''
+        Return: Queue
+            The SQS queue
+        '''
+        return self._queue
+
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=["my-detail-type"],
+        )
+
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SqsQueue(self._queue)]
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+abstract get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+abstract get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html b/release/0.2.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html new file mode 100644 index 00000000..62712c5a --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html @@ -0,0 +1,321 @@ + + + + + + + + + aws_ddk_core.resources.KMSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KMSFactory

+
+
+class aws_ddk_core.resources.KMSFactory
+

Class factory to create and configure Key Management Service DDK resources, including Keys.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

key(scope, id, environment_id[, alias, ...])

Create and configure KMS key.

+
+
+static key(scope: constructs.Construct, id: str, environment_id: str, alias: Optional[str] = None, enable_key_rotation: Optional[bool] = None, pending_window: Optional[aws_cdk.Duration] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, **key_props: Any) aws_cdk.aws_kms.IKey
+

Create and configure KMS key.

+

This construct allows to configure parameters of the key using ddk.json configuration file +depending on the environment_id in which the key is used. Supported parameters are: +enable_key_rotation,`pending_window`, and removal_policy.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the key

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • alias (Optional[str]) – Key alias

  • +
  • enable_key_rotation (Optional[bool]) – Indicates whether AWS KMS rotates the key. True by default.

  • +
  • pending_window (Optional[Duration]) – Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been +removed from a CloudFormation stack. aws_cdk.Duration.days(30) by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Whether the encryption key should be retained when it is removed from the Stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • key_props (Any) – Additional key properties. For complete list of properties refer to CDK Documentation - +KMS Key: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_kms/Key.html

  • +
+
+
Returns
+

key – KMS key

+
+
Return type
+

aws_cdk.aws_kms.Key

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html b/release/0.2.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html new file mode 100644 index 00000000..73170e0d --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html @@ -0,0 +1,331 @@ + + + + + + + + + aws_ddk_core.resources.LambdaFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.LambdaFactory

+
+
+class aws_ddk_core.resources.LambdaFactory
+

Class factory to create and configure Lambda DDK resources, including Functions.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

add_vpc_permissions(fn)

function(scope, id, environment_id, code, ...)

Create and configure Lambda function.

+
+
+static function(scope: constructs.Construct, id: str, environment_id: str, code: aws_cdk.aws_lambda.Code, handler: str, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, function_name: typing.Optional[str] = None, description: typing.Optional[str] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, dead_letter_queue_enabled: typing.Optional[bool] = None, dead_letter_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, **function_props: typing.Any) aws_cdk.aws_lambda.IFunction
+

Create and configure Lambda function.

+

This construct allows to configure parameters of the function using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +dead_letter_queue_enabled,`memory_size`, environment, profiling, +reserved_concurrent_executions, timeout, tracing, max_event_age, retry_attempts, +allow_all_outbound, and allow_public_subnet.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Lambda function

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Code) – The source code of the Lambda function

  • +
  • handler (str) – The name of the method within the code that Lambda calls to execute the function

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function

  • +
  • function_name (Optional[str]) – The name of the Lambda function

  • +
  • description (Optional[str]) – The description of the Lambda function

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • dead_letter_queue_enabled (Optional[bool]) – Determines if DLQ is enabled. False by default.

  • +
  • dead_letter_queue (Optional[IQueue]) – The SQS queue to use if DLQ is enabled

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default.

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default.

  • +
  • function_props (Any) – Additional function properties. For complete list of properties refer to CDK Documentation - +Lambda Function: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_lambda/Function.html

  • +
+
+
Returns
+

fn – Lambda function

+
+
Return type
+

aws_cdk.aws_lambda.Function

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html b/release/0.2.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html new file mode 100644 index 00000000..6e9f0813 --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html @@ -0,0 +1,322 @@ + + + + + + + + + aws_ddk_core.resources.S3Factory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.S3Factory

+
+
+class aws_ddk_core.resources.S3Factory
+

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

bucket(scope, id, environment_id[, ...])

Create and configure S3 bucket.

+
+
+static bucket(scope: constructs.Construct, id: str, environment_id: str, bucket_name: Optional[str] = None, versioned: Optional[bool] = None, access_control: Optional[aws_cdk.aws_s3.BucketAccessControl] = None, block_public_access: Optional[aws_cdk.aws_s3.BlockPublicAccess] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, encryption: Optional[aws_cdk.aws_s3.BucketEncryption] = None, enforce_ssl: Optional[bool] = None, **bucket_props: Any) aws_cdk.aws_s3.IBucket
+

Create and configure S3 bucket.

+

This construct allows to configure parameters of the bucket using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +versioned,`auto_delete_objects`, enforce_ssl, access_control, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the bucket

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket_name (Optional[str]) – The name of the bucket

  • +
  • versioned (Optional[bool]) – Whether this bucket should have versioning turned on or not. True by default.

  • +
  • access_control (Optional[BucketAccessControl]) – Specifies a canned ACL that grants predefined permissions to the bucket +aws_cdk.aws_s3.BucketAccessControl.BUCKET_OWNER_FULL_CONTROL by default.

  • +
  • block_public_access (Optional[BlockPublicAccess]) – The block public access configuration of this bucket. +aws_cdk.aws_s3.BucketAccessControl.BUCKET_OWNER_FULL_CONTROL by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • encryption (Optional[BucketEncryption]) – The kind of server-side encryption to apply to this bucket. +aws_cdk.aws_s3.BucketEncryption.S3_MANAGED by default.

  • +
  • enforce_ssl (Optional[bool]) – Enforces SSL for requests. True by default.

  • +
  • bucket_props (Any) – Additional bucket properties. For complete list of properties refer to CDK Documentation - +S3 Bucket: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_s3/Bucket.html

  • +
+
+
Returns
+

bucket – S3 bucket

+
+
Return type
+

aws_cdk.aws_s3.Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html b/release/0.2.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html new file mode 100644 index 00000000..c7d1baa5 --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html @@ -0,0 +1,321 @@ + + + + + + + + + aws_ddk_core.resources.SQSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.SQSFactory

+
+
+class aws_ddk_core.resources.SQSFactory
+

Class factory create and configure Simple Queue Service DDK resources, including Queues.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

apply_secure_queue_policy(queue)

queue(scope, environment_id, id[, ...])

Create and configure SQS queue.

+
+
+static queue(scope: constructs.Construct, environment_id: str, id: str, queue_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_sqs.QueueEncryption] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, dead_letter_queue: Optional[aws_cdk.aws_sqs.DeadLetterQueue] = None, **queue_props: Any) aws_cdk.aws_sqs.IQueue
+

Create and configure SQS queue.

+

This construct allows to configure parameters of the queue using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +content_based_deduplication,`data_key_reuse`, delivery_delay, max_message_size_bytes, +retention_period, visibility_timeout, receive_message_wait_time, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the queue

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • queue_name (Optional[str]) – Name of the queue

  • +
  • encryption (Optional[QueueEncryption]) – Whether the contents of the queue are encrypted, and by what type of key. +aws_cdk.aws_sqs.QueueEncryption.KMS_MANAGED by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • dead_letter_queue (Optional[DeadLetterQueue]) – Send messages to this queue if they were unsuccessfully dequeued a number of times.

  • +
  • queue_props (Any) – Additional queue properties. For complete list of properties refer to CDK Documentation - +SQS Queue: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_sqs/Queue.html

  • +
+
+
Returns
+

queue – SQS queue

+
+
Return type
+

aws_cdk.aws_sqs.Queue

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html b/release/0.2.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html new file mode 100644 index 00000000..d814e742 --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html @@ -0,0 +1,315 @@ + + + + + + + + + aws_ddk_core.resources.StepFunctionsFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.StepFunctionsFactory

+
+
+class aws_ddk_core.resources.StepFunctionsFactory
+

Class factory create and configure AWS Step Functions Service DDK resources, including State Machines.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

state_machine(scope, environment_id, id[, ...])

Create and configure state machine.

+
+
+static state_machine(scope: constructs.Construct, environment_id: str, id: str, state_machine_name: Optional[str] = None, state_machine_type: Optional[aws_cdk.aws_stepfunctions.StateMachineType] = None, timeout: Optional[aws_ddk_core.resources.commons.Duration] = None, tracing_enabled: Optional[bool] = None, **state_machine_props: Any) aws_cdk.aws_stepfunctions.StateMachine
+

Create and configure state machine.

+

This construct allows to configure parameters of the state machine using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +state_machine_type,`timeout`, and tracing_enabled.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the state machine

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • state_machine_name (Optional[str]) – Name of the state machine

  • +
  • state_machine_type (Optional[sfn.StateMachineType]) – Type of the state machine

  • +
  • timeout (Optional[Duration]) – Maximum run time for this state machine

  • +
  • tracing_enabled (Optional[bool]) – Specifies whether Amazon X-Ray tracing is enabled for this state machine

  • +
  • state_machine_props (Any) – Additional state machine properties. For complete list of properties refer to CDK Documentation - +State Machine: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_stepfunctions/StateMachine.html

  • +
+
+
Returns
+

state_machine – State machine

+
+
Return type
+

aws_cdk.aws_stepfunctions.StateMachine

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html b/release/0.2.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html new file mode 100644 index 00000000..b13f1b19 --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html @@ -0,0 +1,352 @@ + + + + + + + + + aws_ddk_core.stages.GlueTransformStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.GlueTransformStage

+
+
+class aws_ddk_core.stages.GlueTransformStage(*args: Any, **kwargs)
+

Class that represents a Glue Transform DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, job_name: str, crawler_name: str, job_args: Optional[Dict[str, Any]] = None, state_machine_input: Optional[Dict[str, Any]] = None) None
+

DDK Glue Transform stage.

+

Stage that contains a step function that runs Glue job, and a Glue crawler afterwards. +Both the Glue job and the crawler must be pre-created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • job_name (str) – Name of the Glue job to run

  • +
  • crawler_name (str) – Name of the Glue crawler to run

  • +
  • job_args (Optional[Dict[str, Any]]) – Glue job arguments

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK Glue Transform stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html b/release/0.2.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html new file mode 100644 index 00000000..2872a6e3 --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html @@ -0,0 +1,394 @@ + + + + + + + + + aws_ddk_core.stages.S3EventStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.S3EventStage

+
+
+class aws_ddk_core.stages.S3EventStage(*args: Any, **kwargs)
+

Class that represents an S3 Event DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, event_names: List[str], bucket_name: str, key_prefix: Optional[str] = None, **kwargs: Any) None
+

DDK S3 Event stage.

+

It implements an S3 event pattern based on event names, a bucket name and optional key prefix. +A CloudTrail Trail and associated bucket are created to enable S3 object level tracking.

+
+
Parameters
+
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK S3 Event stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

event_pattern

EventPattern The S3 event pattern

node

The tree node.

trail

Trail The CloudTrail Trail

trail_bucket

IBucket The CloudTrail Trail bucket

+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property trail: aws_cdk.aws_cloudtrail.Trail
+

Trail +The CloudTrail Trail

+
+
Type
+

Return

+
+
+
+
+
+property trail_bucket: aws_cdk.aws_s3.IBucket
+

IBucket +The CloudTrail Trail bucket

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html b/release/0.2.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html new file mode 100644 index 00000000..5a6c7791 --- /dev/null +++ b/release/0.2.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html @@ -0,0 +1,396 @@ + + + + + + + + + aws_ddk_core.stages.SqsToLambdaStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.SqsToLambdaStage

+
+
+class aws_ddk_core.stages.SqsToLambdaStage(*args: Any, **kwargs)
+

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, code: typing.Optional[aws_cdk.aws_lambda.Code] = None, handler: typing.Optional[str] = None, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, visibility_timeout: typing.Optional[aws_cdk.Duration] = None, dead_letter_queue_enabled: bool = False, max_receive_count: int = 1, batch_size: typing.Optional[int] = None, lambda_function: typing.Optional[aws_cdk.aws_lambda.IFunction] = None, sqs_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None) None
+

DDK SQS to Lambda stage.

+

It implements an Amazon SQS queue connected to an AWS Lambda function, with an optional DLQ.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Optional[Code]) – The source code of the Lambda function +Must be set if lambda_function is not.

  • +
  • handler (Optional[str]) – The name of the method within the code that Lambda calls to execute the function. +Must be set if lambda_function is not.

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function. PYTHON_3_9 by default

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default

  • +
  • visibility_timeout (Optional[Duration]) – Timeout of processing a single message in the queue. Default: Duration.seconds(120).

  • +
  • dead_letter_queue_enabled (Optional[bool]) – Determines if DLQ is enabled. False by default

  • +
  • max_receive_count (int) – he number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue. +1 by default

  • +
  • batch_size (Optional[int]) – The maximum number of records retrieved from the event source at the function invocation time. +10 by default

  • +
  • lambda_function (Optional[IFunction]) – Preexisting Lambda Function to use in stage. None by default

  • +
  • sqs_queue (Optional[IQueue]) – Preexisting SQS Queue to use in stage. None by default

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, code, ...])

DDK SQS to Lambda stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

(deprecated) Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

dlq

DeadLetterQueue The SQS dead letter queue

function

Function The Lambda function

node

The tree node.

queue

Queue The SQS queue

+
+
+property dlq: Optional[aws_cdk.aws_sqs.DeadLetterQueue]
+

DeadLetterQueue +The SQS dead letter queue

+
+
Type
+

Return

+
+
+
+
+
+property function: aws_cdk.aws_lambda.IFunction
+

Function +The Lambda function

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property queue: aws_cdk.aws_sqs.IQueue
+

Queue +The SQS queue

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/genindex.html b/release/0.2.0/api/genindex.html new file mode 100644 index 00000000..44674a7d --- /dev/null +++ b/release/0.2.0/api/genindex.html @@ -0,0 +1,853 @@ + + + + + + + Index - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+

Index

+
Symbols | _ | A | B | C | D | E | F | G | J | K | L | N | Q | S | T
+
+
+

Symbols

+ + + +
+
+ +
+

_

+ + +
+
+ +
+

A

+ + + +
+
+ +
+

B

+ + + +
+
+ +
+

C

+ + + +
+
+ +
+

D

+ + + +
+
+ +
+

E

+ + +
+
+ +
+

F

+ + + +
+
+ +
+

G

+ + + +
+
+ +
+

J

+ + +
+
+ +
+

K

+ + + +
+
+ +
+

L

+ + +
+
+ +
+

N

+ + +
+
+ +
+

Q

+ + + +
+
+ +
+

S

+ + + +
+
+ +
+

T

+ + + +
+
+ + +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/index.html b/release/0.2.0/api/index.html new file mode 100644 index 00000000..3289ee79 --- /dev/null +++ b/release/0.2.0/api/index.html @@ -0,0 +1,293 @@ + + + + + + + + + Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/objects.inv b/release/0.2.0/api/objects.inv new file mode 100644 index 0000000000000000000000000000000000000000..8a1a0ab2309f874a35f7bfff05c289502e4e6432 GIT binary patch literal 1571 zcmV+;2Hg20AX9K?X>NERX>N99Zgg*Qc_4OWa&u{KZXhxWBOp+6Z)#;@bUGkGS5qKF zL`w=IAXa5^b7^mGIv@%oAXI2&AaZ4GVQFq;WpW^IW*~HEX>%ZEX>4U6X>%ZBZ*6dL zWpi_7WFU2OX>MmAdTeQ8E(&sJWqUg=_yTW{H;UQpB@zsWEzWT%dSR2X?etP=E zBC56jyPpq#)F#{LkF;N7wKs9};WwXnLqb6y5@CWM$B(($%WxI~T?lkoPhjW+0!>~f zSh#w6d3t^mDUU?r?ze8up6T@ngZwxLAq~TT?KwN>`%-4w$T+a;yW@8yPNWfA!Ke{3 zx$l%UXPFY_6xhe+7tCDCOfeo%mQVe@%=e$`DKYzBF;&C$z1Mb=i731qTjAM-*wVA$ zQ28Y|LYETXG)X2~v0FVAzntp-twP^CYcjBE4~E}y6EHjU&Xsmf1QZKT-j_uW*ku_O zB2oNYAQxw{)j`h<|L6Me@1@+@C~Elb1c=zSGL#Gz$urOv5e{B2C~;3EAfS~Ss4au6 zLn}+rQ+14?hGkWO)~jb~XjMI3BCT7q$L&4BpctEjFyGKs7V*0hx;GCK7}pgEY~2bq zcY-M^2Bj+YiFa;0>y#S9RdOdzLzVrd7h}8hMBN!jaN*&S)x9Pa5!w|-1Tpo|AZ?gY zZPR-7?REXdcKA{`ZFOCGJidvI9RY$MYABHz7s2uBHkj!a8sYm; z^#jV47d3YRtP3$zn~WW}S&rxjE_bhb01C9!_zP4xYjryb|9c=(SDuH z0J{?z9>kRG&zs`XRs@H*d*dOPB0avb^&1iuMXIlu6J(up+A{i$(hptbkRWQuXt5nI zVw;R)37Hljkjxw~^VnSm38r9-m)V9PMGvP}U!#owR5a0Bsbc3tL9cR8{`AX(D#(1a zxWmG{{E&kKl6n2`IiDnSU2oOg2~cZ^q-w2Qs$|NQIW5LGDPksYBBBJzW)v0CU3^(E z1=kL95yGSXDa&mO9R3Ye7!fWFrcs8`5$MNhe7EPSyOB=I!0FtWOq|AgIY}(#$c-DEx3MYM}u16SC-gP;evjfR_Z&0l{^%7feuxLDGA zr{Ir@dBBSSm^tk`1>Z%|16&Zm465HN_+wHYFYa9!mf8eC;^DGJJIR{V-ooF4T zif_e#6KG2PE?~J85ubqE0eZ}6B({PpJnR*s4X^kvM?+(GVHO`rp%G0NqRO=4A)$=f zbu|;vX&ar+ipFQnJuz#(rL%^nnl)<7^oU`K+iuo|bSkwdHbX)}u9*@gB#@v5N5TOj zWb(I3(g6}&wzfIc00$;}+YAG15-z$B>7py37WKVZ((m6NUq4UBr)ozEq>?7&X(aQg zu}vET2Y;zewoNdZnKUyb6bgwbn~2ElJj10;IK_{dP@K@z0>9G;iQ9sy(`;w*r<}=) z=|uPCm+RB|)EwcmO`hR)JmL8*29Zg0LIKthYT$;)X=H~`xTc21XPB&+ZU?3e6e#t~ zFSgcAwu6U6u2exJat@U0e + + + + + + Search - Contents + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ + + +
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + + + + \ No newline at end of file diff --git a/release/0.2.0/api/searchindex.js b/release/0.2.0/api/searchindex.js new file mode 100644 index 00000000..b783f6ac --- /dev/null +++ b/release/0.2.0/api/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({docnames:["cli/aws_ddk","core/aws_ddk_core","core/stubs/aws_ddk_core.base.BaseStack","core/stubs/aws_ddk_core.cicd.CICDPipelineStack","core/stubs/aws_ddk_core.config.Config","core/stubs/aws_ddk_core.config.JSONConfigStrategy","core/stubs/aws_ddk_core.pipelines.DataPipeline","core/stubs/aws_ddk_core.pipelines.DataStage","core/stubs/aws_ddk_core.resources.KMSFactory","core/stubs/aws_ddk_core.resources.LambdaFactory","core/stubs/aws_ddk_core.resources.S3Factory","core/stubs/aws_ddk_core.resources.SQSFactory","core/stubs/aws_ddk_core.resources.StepFunctionsFactory","core/stubs/aws_ddk_core.stages.GlueTransformStage","core/stubs/aws_ddk_core.stages.S3EventStage","core/stubs/aws_ddk_core.stages.SqsToLambdaStage","index"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["cli/aws_ddk.rst","core/aws_ddk_core.rst","core/stubs/aws_ddk_core.base.BaseStack.rst","core/stubs/aws_ddk_core.cicd.CICDPipelineStack.rst","core/stubs/aws_ddk_core.config.Config.rst","core/stubs/aws_ddk_core.config.JSONConfigStrategy.rst","core/stubs/aws_ddk_core.pipelines.DataPipeline.rst","core/stubs/aws_ddk_core.pipelines.DataStage.rst","core/stubs/aws_ddk_core.resources.KMSFactory.rst","core/stubs/aws_ddk_core.resources.LambdaFactory.rst","core/stubs/aws_ddk_core.resources.S3Factory.rst","core/stubs/aws_ddk_core.resources.SQSFactory.rst","core/stubs/aws_ddk_core.resources.StepFunctionsFactory.rst","core/stubs/aws_ddk_core.stages.GlueTransformStage.rst","core/stubs/aws_ddk_core.stages.S3EventStage.rst","core/stubs/aws_ddk_core.stages.SqsToLambdaStage.rst","index.rst"],objects:{"aws_ddk_core.base":[[2,0,1,"","BaseStack"]],"aws_ddk_core.base.BaseStack":[[2,1,1,"","__init__"]],"aws_ddk_core.cicd":[[3,0,1,"","CICDPipelineStack"]],"aws_ddk_core.cicd.CICDPipelineStack":[[3,1,1,"","__init__"],[3,1,1,"","add_checks"],[3,1,1,"","add_custom_stage"],[3,1,1,"","add_notifications"],[3,1,1,"","add_security_lint_stage"],[3,1,1,"","add_source_action"],[3,1,1,"","add_stage"],[3,1,1,"","add_synth_action"],[3,1,1,"","add_test_stage"],[3,1,1,"","build"],[3,1,1,"","synth"]],"aws_ddk_core.config":[[4,0,1,"","Config"],[5,0,1,"","JSONConfigStrategy"]],"aws_ddk_core.config.Config":[[4,1,1,"","__init__"],[4,1,1,"","get_cdk_version"],[4,1,1,"","get_env"],[4,1,1,"","get_env_config"],[4,1,1,"","get_resource_config"],[4,1,1,"","get_tags"]],"aws_ddk_core.config.JSONConfigStrategy":[[5,1,1,"","__init__"],[5,1,1,"","get_config"]],"aws_ddk_core.pipelines":[[6,0,1,"","DataPipeline"],[7,0,1,"","DataStage"]],"aws_ddk_core.pipelines.DataPipeline":[[6,1,1,"","__init__"],[6,1,1,"","add_rule"],[6,1,1,"","add_stage"]],"aws_ddk_core.pipelines.DataStage":[[7,1,1,"","__init__"],[7,1,1,"","get_event_pattern"],[7,1,1,"","get_targets"]],"aws_ddk_core.resources":[[8,0,1,"","KMSFactory"],[9,0,1,"","LambdaFactory"],[10,0,1,"","S3Factory"],[11,0,1,"","SQSFactory"],[12,0,1,"","StepFunctionsFactory"]],"aws_ddk_core.resources.KMSFactory":[[8,1,1,"","__init__"],[8,1,1,"","key"]],"aws_ddk_core.resources.LambdaFactory":[[9,1,1,"","__init__"],[9,1,1,"","function"]],"aws_ddk_core.resources.S3Factory":[[10,1,1,"","__init__"],[10,1,1,"","bucket"]],"aws_ddk_core.resources.SQSFactory":[[11,1,1,"","__init__"],[11,1,1,"","queue"]],"aws_ddk_core.resources.StepFunctionsFactory":[[12,1,1,"","__init__"],[12,1,1,"","state_machine"]],"aws_ddk_core.stages":[[13,0,1,"","GlueTransformStage"],[14,0,1,"","S3EventStage"],[15,0,1,"","SqsToLambdaStage"]],"aws_ddk_core.stages.GlueTransformStage":[[13,1,1,"","__init__"],[13,1,1,"","get_event_pattern"],[13,1,1,"","get_targets"]],"aws_ddk_core.stages.S3EventStage":[[14,1,1,"","__init__"],[14,2,1,"","event_pattern"],[14,1,1,"","get_event_pattern"],[14,1,1,"","get_targets"],[14,2,1,"","trail"],[14,2,1,"","trail_bucket"]],"aws_ddk_core.stages.SqsToLambdaStage":[[15,1,1,"","__init__"],[15,2,1,"","dlq"],[15,2,1,"","function"],[15,1,1,"","get_event_pattern"],[15,1,1,"","get_targets"],[15,2,1,"","queue"]],"ddk-bootstrap":[[0,3,1,"cmdoption-ddk-bootstrap-e","--environment"],[0,3,1,"cmdoption-ddk-bootstrap-i","--iam-policies"],[0,3,1,"cmdoption-ddk-bootstrap-permissions-boundary","--permissions-boundary"],[0,3,1,"cmdoption-ddk-bootstrap-prefix","--prefix"],[0,3,1,"cmdoption-ddk-bootstrap-p","--profile"],[0,3,1,"cmdoption-ddk-bootstrap-qualifier","--qualifier"],[0,3,1,"cmdoption-ddk-bootstrap-r","--region"],[0,3,1,"cmdoption-ddk-bootstrap-t","--tags"],[0,3,1,"cmdoption-ddk-bootstrap-a","--trusted-accounts"],[0,3,1,"cmdoption-ddk-bootstrap-a","-a"],[0,3,1,"cmdoption-ddk-bootstrap-e","-e"],[0,3,1,"cmdoption-ddk-bootstrap-i","-i"],[0,3,1,"cmdoption-ddk-bootstrap-p","-p"],[0,3,1,"cmdoption-ddk-bootstrap-r","-r"],[0,3,1,"cmdoption-ddk-bootstrap-t","-t"]],"ddk-create-repository":[[0,3,1,"cmdoption-ddk-create-repository-d","--description"],[0,3,1,"cmdoption-ddk-create-repository-p","--profile"],[0,3,1,"cmdoption-ddk-create-repository-r","--region"],[0,3,1,"cmdoption-ddk-create-repository-t","--tags"],[0,3,1,"cmdoption-ddk-create-repository-d","-d"],[0,3,1,"cmdoption-ddk-create-repository-p","-p"],[0,3,1,"cmdoption-ddk-create-repository-r","-r"],[0,3,1,"cmdoption-ddk-create-repository-t","-t"],[0,3,1,"cmdoption-ddk-create-repository-arg-NAME","NAME"]],"ddk-deploy":[[0,3,1,"cmdoption-ddk-deploy-f","--force"],[0,3,1,"cmdoption-ddk-deploy-o","--output-dir"],[0,3,1,"cmdoption-ddk-deploy-p","--profile"],[0,3,1,"cmdoption-ddk-deploy-require-approval","--require-approval"],[0,3,1,"cmdoption-ddk-deploy-f","-f"],[0,3,1,"cmdoption-ddk-deploy-o","-o"],[0,3,1,"cmdoption-ddk-deploy-p","-p"]],"ddk-init":[[0,3,1,"cmdoption-ddk-init-e","--environment"],[0,3,1,"cmdoption-ddk-init-generate-only","--generate-only"],[0,3,1,"cmdoption-ddk-init-t","--template"],[0,3,1,"cmdoption-ddk-init-e","-e"],[0,3,1,"cmdoption-ddk-init-t","-t"],[0,3,1,"cmdoption-ddk-init-arg-NAME","NAME"]],ddk:[[0,3,1,"cmdoption-ddk-debug","--debug"],[0,3,1,"cmdoption-ddk-debug","--no-debug"],[0,3,1,"cmdoption-ddk-version","--version"]]},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"],"2":["py","property","Python property"],"3":["std","cmdoption","program option"]},objtypes:{"0":"py:class","1":"py:method","2":"py:property","3":"std:cmdoption"},terms:{"1":[0,8,9,15],"10":15,"111111111111":0,"120":[9,15],"1984":0,"2":[8,9],"222222222222":0,"256":[9,15],"3":[8,9],"30":8,"abstract":7,"class":[2,3,4,5,6,7,8,9,10,11,12,13,14,15],"default":[0,3,4,5,6,8,9,10,11,14,15],"function":[9,10,11,12,13,15],"int":[9,15],"new":0,"public":10,"return":[3,4,5,6,7,8,9,10,11,12,13,14,15],"static":[8,9,10,11,12],"true":[0,8,10],A:[0,14],By:6,For:[6,7,8,9,10,11,12],If:0,It:[3,14,15],The:[0,3,7,8,9,10,14,15],To:7,_:3,__init__:[2,3,4,5,6,7,8,9,10,11,12,13,14,15],_queue:7,abil:3,abl:3,access:10,access_control:10,account:[0,3,4],acl:10,action:3,add:[3,6,7],add_check:3,add_custom_stag:3,add_notif:3,add_rul:6,add_security_lint_stag:3,add_source_act:3,add_stag:[3,6],add_synth_act:3,add_test_stag:3,addit:[2,3,8,9,10,11,12],after:[3,9,15],afterward:13,alia:8,alloc:[9,15],allow:[8,9,10,11,12],allow_all_outbound:9,allow_public_subnet:9,alwai:[0,8,9],amazon:[2,3,8,9,10,11,12,14,15],amazons3:14,amount:[9,15],an:[6,7,13,14,15],ani:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15],api:[3,8,9,10,11,12],app:3,appli:[0,10,11],applic:[2,3],approv:[0,3],ar:[0,3,7,8,9,10,11,12,13,14,15],arg:[0,2,3,6,7,13,14,15],argument:[0,2,8,9,13],arn1:0,arn2:0,arn:[0,2],artifact:3,artifactori:3,assembl:[0,3],associ:14,attach:0,attribut:[2,3,6,7,13,14,15],auto_delete_object:10,avoid:3,aw:[0,2,3,4,8,9,10,11,12,14,15],aws_cdk:[2,3,4,6,7,8,9,10,11,12,13,14,15],aws_cloudtrail:14,aws_codestarnotif:3,aws_ddk:16,aws_ddk_cor:16,aws_ev:[6,7,13,14,15],aws_iam:[3,9,15],aws_km:8,aws_lambda:[9,15],aws_s3:[10,14],aws_sq:[9,11,15],aws_stepfunct:12,bandit:3,base:[3,14,16],batch_siz:15,been:8,befor:[8,15],being:15,best:3,block:[3,10],block_public_access:10,blockpublicaccess:10,bool:[2,3,6,8,9,10,12,15],bootstrap:2,both:13,boundari:[0,2],branch:3,broaden:0,bucket:[3,10,11,14],bucket_nam:[10,14],bucket_owner_full_control:10,bucket_prop:10,bucketaccesscontrol:10,bucketencrypt:10,build:3,builder:3,call:[3,9,15],can:[3,5,10,15],captur:14,cd:3,cdk:[0,2,3,4,8,9,10,11,12],cdk_version:4,cfn:3,chang:0,check:3,chunki:3,ci:3,cicd:16,cicdpipelin:3,cli:0,cloud:[0,3],cloud_assembly_file_set:3,cloudform:8,cloudtrail:14,cmk:8,code:[0,3,9,15],codeartifact:3,codeartifact_domain:3,codeartifact_domain_own:3,codeartifact_repositori:3,codebuildstep:3,codecommit:3,codepipelinesourc:3,com:[2,3,8,9,10,11,12,14],command:[0,3],common:12,complet:[8,9,10,11,12],config:[3,16],config_strategi:4,configstrategi:4,configur:[2,3,4,5,8,9,10,11,12],connect:[3,15],construct:[2,3,6,7,8,9,10,11,12,13,14,15],constructor:3,contain:[0,3,4,5,13],content:11,content_based_dedupl:11,continu:3,costcent:0,crawler:13,crawler_nam:13,creat:[2,3,4,6,7,8,9,10,11,12,13,14],creation:6,credenti:0,custom:[3,6],d:0,dai:8,data:[6,7,16],data_key_reus:11,datastag:[6,13],ddk:[3,5,8,9,10,11,12,13,14,15],dead:15,dead_letter_queu:[9,11],dead_letter_queue_en:[9,15],deadletterqueu:[11,15],debug:0,def:7,defaultstacksynthes:2,defin:[2,3,6,7,8,9,10,11,12,13,14,15],delet:8,deliveri:3,delivery_delai:11,depend:[8,9,10,11,12],deploi:3,deploy:0,dequeu:[11,15],describ:[7,13,14,15],descript:[0,6,7,9],detail:[3,7],detail_typ:7,determin:[4,9,15],dev:[0,3],devstag:3,dict:[4,13],dictionari:[4,5],differ:5,dir:0,directori:0,dlq:[9,15],doc:[2,3,8,9,10,11,12,14],document:[3,8,9,10,11,12],domain:3,durat:[8,9,12,15],dure:3,e:[0,3],east:0,enabl:[9,12,14,15],enable_key_rot:8,encrypt:[3,8,10,11],enforc:10,enforce_ssl:10,ensur:3,env:[3,4],env_config:4,environ:[0,2,3,4,8,9,10,11,12,13,14,15],environment_id:[2,3,4,7,8,9,10,11,12,13,14,15],even:0,event:[3,6,7,13,14,15],event_nam:14,event_pattern:[6,7,13,14,15],event_target:6,eventpattern:[6,7,13,14,15],exampl:[3,6,7],execut:[9,15],exit:0,explicit:[8,9],f:0,factori:[8,9,10,11,12],fals:[0,3,6,9,15],featur:3,file:[0,3,5,8,9,10,11,12],fn:9,follow:[8,9],forc:0,form:4,framework:0,from:[0,2,3,4,5,7,8,9,10,11,15],function_nam:9,function_prop:9,g:[0,3],gener:0,get:[4,5,7,13,14,15],get_cdk_vers:4,get_config:5,get_env:4,get_env_config:4,get_event_pattern:[7,13,14,15],get_resource_config:4,get_tag:4,get_target:[6,7,13,14,15],git:0,given:[4,5],glue:13,grant:10,guid:2,ha:8,handler:[9,15],have:10,he:15,hope:3,how:4,html:[2,3,8,9,10,11,12,14],http:[2,3,8,9,10,11,12,14],i:0,iam:0,iam_polici:0,ibucket:[10,14],id:[0,2,3,4,6,7,8,9,10,11,12,13,14,15],ident:0,identifi:[2,3,4,6,7,8,9,10,11,12,13,14,15],ifilesetproduc:3,ifunct:[9,15],ikei:8,implement:[7,14,15],includ:[2,3,8,9,10,11,12],index:16,indic:8,infer:0,info:14,infrastructur:[3,7],inherit:[2,7],input:[7,13,14,15],instanc:[3,4,6],integr:3,interfac:3,invoc:15,invok:[7,13,14,15],iqueu:[9,11,15],irol:[9,15],iruletarget:[6,7,13,14,15],job:13,job_arg:13,job_nam:13,json:[3,4,5,8,9,10,11,12],jsonconfigstrategi:4,kei:[3,5,8,11,14],key_prefix:14,key_prop:8,kind:10,km:[3,8],kms_manag:11,kwarg:[2,3,6,7,13,14,15],lambda:[9,15],lambda_funct:15,latest:14,letter:15,level:[2,14],lint:3,list:[0,3,6,7,8,9,10,11,12,13,14,15],load:5,loc:3,local:0,log:[0,14],machin:[12,13],main:3,manag:[0,2,8],manual:[0,3],manual_approv:3,match:[6,7,13,14,15],max_event_ag:9,max_message_size_byt:11,max_receive_count:15,maximum:[12,15],mb:[9,15],memori:[9,15],memory_s:[9,15],messag:[11,15],method:[2,3,4,5,6,7,8,9,10,11,12,13,14,15],modifi:3,modul:16,more:3,move:15,multi:2,multipl:3,must:[13,15],mutat:3,my:[3,6,7],my_glue_stag:6,my_lambda_stag:6,mypipelin:3,mystag:7,nag:3,name:[0,3,6,7,9,10,11,12,13,14,15],need:0,never:0,next:6,non:3,none:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15],notif:3,notification_rul:3,notificationrul:3,number:[8,11,15],o:0,object:[9,14,15],off:0,one:6,onli:0,option:[0,2,3,4,6,7,8,9,10,11,12,13,14,15],order:[8,9],otherwis:[3,8,9],output:[0,6,7,13,14,15],output_dir:0,overrid:[3,6],override_rul:6,owner:3,p:0,page:16,paramet:[2,3,4,5,6,7,8,9,10,11,12,13,14,15],path:5,pattern:[6,7,13,14,15],pending_window:8,perform:0,period:8,permiss:[0,2,10],permissions_boundari:0,permissions_boundary_arn:2,pipelin:[3,16],pipeline_nam:3,polici:[0,2,3,10,11],policystat:3,possibl:3,practic:3,pre:13,predefin:10,preexist:15,prefer:[8,9],prefix:[0,14],previou:6,previous_stag:6,privat:3,process:15,produc:[3,7,13,14,15],profil:[0,9],project:0,properti:[3,7,8,9,10,11,12,14,15],protect:2,provid:[0,4],pull:3,pytest:3,python:[0,3,8,9,10,11,12],python_3_9:15,qualifi:0,queue:[7,9,11,15],queue_nam:11,queue_prop:11,queueencrypt:11,r:0,rai:12,read:[4,5],receive_message_wait_tim:11,record:15,refer:[8,9,10,11,12],region:[0,4],remov:[8,10,11],removal_polici:[8,10,11],removalpolici:[8,10,11],repo:[0,3,4,5],repositori:3,repository_nam:3,repres:[4,6,7,13,14,15],request:10,requir:[0,7],require_approv:0,reserved_concurrent_execut:9,resourc:[0,4,16],respect:[8,9],retain:[8,10,11],retention_period:11,retriev:15,retry_attempt:9,reus:3,role:[0,3,9,15],role_policy_stat:3,root:[4,5,14],rotat:[3,8],rout:[7,13,14,15],rule:[3,6,7,13,14,15],run:[3,12,13],runtim:[9,15],s3:[10,14],s3_manag:10,s:[7,13,14,15],save:3,scm:3,scope:[2,3,6,7,8,9,10,11,12,13,14,15],search:16,second:[9,15],secur:[0,3],see:3,select:[7,13,14,15],self:[3,6,7],send:[3,11],sensit:0,server:10,servic:[8,10,11,12],set:[0,2,3,15],sever:3,sfn:12,sh:3,should:[0,3,4,7,8,10,13,14,15],show:0,side:10,simpl:[10,11],singl:15,skip:6,skip_rul:6,sn:3,some:3,sourc:[0,3,9,15],source_act:3,specif:[0,3,6],specifi:[3,5,6,8,10,12],sq:[7,9,11,15],sqs_queue:15,sqsfactori:7,sqsqueue:7,ssl:[3,10],stack:[0,2,3,8,10,11],stage:[3,6,7,16],stage_id:3,stage_nam:3,start:3,state:[12,13],state_machin:12,state_machine_input:13,state_machine_nam:12,state_machine_prop:12,state_machine_typ:12,statemachin:12,statemachinetyp:12,step:[3,12,13],storag:10,str:[2,3,4,5,6,7,8,9,10,11,12,13,14,15],strategi:4,structur:[0,3,7,13,14,15],support:[8,9,10,11,12],synth:3,synth_act:3,synthes:[0,2,3],system:0,t:0,tag:[0,2,4],tag_kei:4,target:[6,7,13,14,15],templat:0,termin:[2,9,15],termination_protect:2,test:3,thei:11,them:[3,7,13,14,15],thi:[2,3,6,7,8,9,10,11,12,13,14,15],time:[9,11,12,15],timeout:[9,12,15],topic:3,trace:[9,12],tracing_en:12,track:14,trail:14,trail_bucket:14,transform:[13,15],trust:0,trusted_account:0,turn:[0,10],type:[3,4,5,6,7,8,9,10,11,12,13,14,15],unsuccessfulli:[11,15],up:0,url:0,us:[0,4,5,6,7,8,9,10,11,12,13,14,15],user:3,userguid:14,usual:6,v1:3,v2:[2,8,9,10,11,12],valu:[4,8,9],version:[0,4,10],via:[3,6],virtual:0,visibility_timeout:[11,15],wait:8,were:11,what:[0,7,11,13,14,15],when:[7,8,10,11,13,14,15],where:[0,4],whether:[8,10,11,12],which:[2,3,6,7,8,9,10,11,12,13,14,15],wire:6,within:[2,3,6,7,8,9,10,11,12,13,14,15],without:0,x:12,your:[0,3]},titles:["aws_ddk package","aws_ddk_core package","aws_ddk_core.base.BaseStack","aws_ddk_core.cicd.CICDPipelineStack","aws_ddk_core.config.Config","aws_ddk_core.config.JSONConfigStrategy","aws_ddk_core.pipelines.DataPipeline","aws_ddk_core.pipelines.DataStage","aws_ddk_core.resources.KMSFactory","aws_ddk_core.resources.LambdaFactory","aws_ddk_core.resources.S3Factory","aws_ddk_core.resources.SQSFactory","aws_ddk_core.resources.StepFunctionsFactory","aws_ddk_core.stages.GlueTransformStage","aws_ddk_core.stages.S3EventStage","aws_ddk_core.stages.SqsToLambdaStage","AWS DDK API Documentation"],titleterms:{api:16,aw:16,aws_ddk:0,aws_ddk_cor:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],base:[1,2],basestack:2,bootstrap:0,cicd:[1,3],cicdpipelinestack:3,config:[1,4,5],creat:0,data:1,datapipelin:6,datastag:7,ddk:[0,16],deploi:0,document:16,gluetransformstag:13,indic:16,init:0,jsonconfigstrategi:5,kmsfactori:8,lambdafactori:9,packag:[0,1,16],pipelin:[1,6,7],repositori:0,resourc:[1,8,9,10,11,12],s3eventstag:14,s3factori:10,sqsfactori:11,sqstolambdastag:15,stage:[1,13,14,15],stepfunctionsfactori:12,tabl:16}}) \ No newline at end of file diff --git a/release/0.2.0/how-to/custom-stage.html b/release/0.2.0/how-to/custom-stage.html new file mode 100644 index 00000000..56fb6730 --- /dev/null +++ b/release/0.2.0/how-to/custom-stage.html @@ -0,0 +1,197 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ +

I’ll write a file to my application stack package called sns.py.

+ +
from typing import Any, Dict, List, Optional
+
+from aws_cdk.aws_events import EventPattern, IRuleTarget
+from aws_cdk.aws_events_targets import SnsTopic
+from aws_cdk.aws_sns import Topic, ITopic
+from aws_cdk.aws_kms import Key
+from aws_ddk_core.pipelines import DataStage # importing DataStage class for ddk core
+from constructs import Construct
+
+
+class SNSStage(DataStage):
+    """
+    Class that represents a SNS DDK Stage.
+    """
+
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+        **kwargs: Any,
+    ) -> None:
+        """
+        DDK SNS stage.
+        """
+        super().__init__(scope, id, **kwargs)
+
+        self._event_detail_type: str = f"{id}-event-type"
+
+        # create topic
+        self._topic = Topic(
+            self, f"{id}-topic"
+        )
+
+    @property
+    def topic(self) -> ITopic:
+        """
+        Return: Topic
+            The SNS Topic
+        """
+        return self._topic
+
+    # method to retrieve Event Pattern
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=[self._event_detail_type],
+        )
+
+    # methord to retrieve Event Rule Target
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SnsTopic(self._topic)]
+
+
+ +

Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

+ +
.....
+from ddk_app.sns import SNSStage # import my class I built above
+
+
+class DDKApplicationStack(BaseStack):
+    def __init__(
+        self, scope: Construct, id: str, environment_id: str, **kwargs: Any
+    ) -> None:
+        super().__init__(scope, id, environment_id, **kwargs)
+
+        # create my bucket
+        ddk_bucket = S3Factory.bucket(
+            self,
+            "ddk-bucket",
+            environment_id,
+        )
+        
+        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
+        s3_event_stage = S3EventStage(
+            scope=self,
+            id="ddk-s3-event",
+            environment_id=environment_id,
+            event_names=["CopyObject", "PutObject"],
+            bucket_name=ddk_bucket.bucket_name,
+            key_prefix="raw",
+        )
+
+        # instantiate my sns stage class
+        sns_stage = SNSStage(
+            scope=self,
+            id="ddk-sns",
+            environment_id=environment_id,
+        )
+
+        # construct my DataPipeline
+        (
+            DataPipeline(scope=self, id="ddk-pipeline")
+                .add_stage(s3_event_stage)
+                .add_stage(sns_stage)
+        )    
+
+ +

Build

+

Use ddk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.2.0/how-to/index.html b/release/0.2.0/how-to/index.html new file mode 100644 index 00000000..6de30f07 --- /dev/null +++ b/release/0.2.0/how-to/index.html @@ -0,0 +1,1823 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.2.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.2.0/how-to/spend-first-hour.html b/release/0.2.0/how-to/spend-first-hour.html new file mode 100644 index 00000000..931c2a6c --- /dev/null +++ b/release/0.2.0/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.2.0/how-to/understand-concepts.html b/release/0.2.0/how-to/understand-concepts.html new file mode 100644 index 00000000..96105c2a --- /dev/null +++ b/release/0.2.0/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK over the AWS CDK?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.2.0/index.html b/release/0.2.0/index.html new file mode 100644 index 00000000..51542835 --- /dev/null +++ b/release/0.2.0/index.html @@ -0,0 +1,1829 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.2.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.3.0/api/_static/basic.css b/release/0.3.0/api/_static/basic.css new file mode 100644 index 00000000..bf18350b --- /dev/null +++ b/release/0.3.0/api/_static/basic.css @@ -0,0 +1,906 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 450px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a.brackets:before, +span.brackets > a:before{ + content: "["; +} + +a.brackets:after, +span.brackets > a:after { + content: "]"; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +dl.footnote > dt, +dl.citation > dt { + float: left; + margin-right: 0.5em; +} + +dl.footnote > dd, +dl.citation > dd { + margin-bottom: 0em; +} + +dl.footnote > dd:after, +dl.citation > dd:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dt:after { + content: ":"; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/release/0.3.0/api/_static/doctools.js b/release/0.3.0/api/_static/doctools.js new file mode 100644 index 00000000..e509e483 --- /dev/null +++ b/release/0.3.0/api/_static/doctools.js @@ -0,0 +1,326 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated === 'undefined') + return string; + return (typeof translated === 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated === 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) === 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this === '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keydown(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box, textarea, dropdown or button + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' + && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey + && !event.shiftKey) { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + break; + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + break; + } + } + }); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/release/0.3.0/api/_static/documentation_options.js b/release/0.3.0/api/_static/documentation_options.js new file mode 100644 index 00000000..dd5b32f8 --- /dev/null +++ b/release/0.3.0/api/_static/documentation_options.js @@ -0,0 +1,12 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: '0.3.0', + LANGUAGE: 'None', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false +}; \ No newline at end of file diff --git a/release/0.3.0/api/_static/file.png b/release/0.3.0/api/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/release/0.3.0/api/_static/jquery-3.5.1.js b/release/0.3.0/api/_static/jquery-3.5.1.js new file mode 100644 index 00000000..50937333 --- /dev/null +++ b/release/0.3.0/api/_static/jquery-3.5.1.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk package

+
+

ddk

+

AWS DDK CLI.

+
ddk [OPTIONS] COMMAND [ARGS]...
+
+
+

Options

+
+
+--version
+

Show the version and exit.

+
+
+
+--debug, --no-debug
+

Turn debug logging on/off.

+
+
Default
+

False

+
+
+
+
+

bootstrap

+

Bootstrap the AWS account with DDK resources.

+
ddk bootstrap [OPTIONS]
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+--prefix <prefix>
+

The prefix to resource names.

+
+
Default
+

ddk

+
+
+
+
+
+--qualifier <qualifier>
+

The CDK bootstrap qualifier.

+
+
+
+-a, --trusted-accounts <trusted_accounts>
+

List of trusted AWS accounts to perform deployments (e.g. -a 111111111111 -a 222222222222).

+
+
+
+-i, --iam-policies <iam_policies>
+

List of IAM managed policy ARNs that should be attached to the role performing deployments. +(e.g. -i arn1 -i arn2)

+
+
+
+--permissions-boundary <permissions_boundary>
+

IAM managed permissions boundary policy ARN that should be attached to the role performing deployments.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the stack (e.g -t CostCenter 1984 -t Framework DDK).

+
+
+
+

create-repository

+
+

Create a code repository from the source system provider.

+

NAME is the name of the repository.

+
+
ddk create-repository [OPTIONS] NAME
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+-d, --description <description>
+

The description of the repository.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the repository (e.g -t CostCenter 1984 -t Framework DDK).

+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+

deploy

+

Deploy DDK stacks to AWS account.

+
ddk deploy [OPTIONS]
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+--require-approval <require_approval>
+

What security-sensitive changes need manual approval.

+
+
Options
+

never | any-change | broadening

+
+
+
+
+
+-f, --force
+

Always deploy stack even if templates are identical.

+
+
+
+-o, --output-dir <output_dir>
+

Directory where cloud assembly is synthesized.

+
+
+
+

init

+
+

Create the local structure for a new AWS DDK Python project.

+

NAME is the name of the project.

+
+
ddk init [OPTIONS] NAME
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-t, --template <template>
+

A directory containing a project template directory, or a URL to a git repository

+
+
+
+--generate-only
+

If true, only generates project files, without setting up a git repo or a virtual environment

+
+
Default
+

False

+
+
+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/aws_ddk_core.html b/release/0.3.0/api/core/aws_ddk_core.html new file mode 100644 index 00000000..94fbe809 --- /dev/null +++ b/release/0.3.0/api/core/aws_ddk_core.html @@ -0,0 +1,426 @@ + + + + + + + + + aws_ddk_core package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core package

+ +
+

Base

+
++++ + + + + + +

BaseStack(*args, **kwargs)

Base Stack to inherit from.

+
+
+

CICD

+
++++ + + + + + +

CICDPipelineStack(*args, **kwargs)

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+
+
+

Config

+
++++ + + + + + + + + +

Config([config_strategy])

Class used to read configuration with a configurable strategy.

JSONConfigStrategy([path])

Read config from ddk.json in the root of the repo.

+
+
+

Data Pipelines

+
++++ + + + + + + + + +

DataPipeline(*args, **kwargs)

Class that represents a data pipeline.

DataStage(*args, **kwargs)

Class that represents a stage within a data pipeline.

+
+
+

Resources

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + +

GlueFactory()

Class factory to create and configure Glue DDK resources, including Jobs.

KinesisFirehoseFactory()

Class factory create and configure Kinesis DDK resources, including Delivery Streams.

KinesisStreamsFactory()

Class factory create and configure Kinesis DDK resources, including Data Streams.

KMSFactory()

Class factory to create and configure Key Management Service DDK resources, including Keys.

LambdaFactory()

Class factory to create and configure Lambda DDK resources, including Functions.

S3Factory()

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

SQSFactory()

Class factory create and configure Simple Queue Service DDK resources, including Queues.

StepFunctionsFactory()

Class factory create and configure AWS Step Functions Service DDK resources, including State Machines.

+
+
+

Data Stages

+
++++ + + + + + + + + + + + + + + + + + + + + +

AppFlowIngestionStage(*args, **kwargs)

Class that represents an AppFlow DDK DataStage.

AthenaSQLStage(*args, **kwargs)

Class that represents a Athena SQL DDK DataStage.

GlueTransformStage(*args, **kwargs)

Class that represents a Glue Transform DDK DataStage.

KinesisToS3Stage(*args, **kwargs)

Class that represents a Firehose to S3 Ingestion DDK Stage.

S3EventStage(*args, **kwargs)

Class that represents an S3 Event DDK Stage.

SqsToLambdaStage(*args, **kwargs)

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.base.BaseStack.html b/release/0.3.0/api/core/stubs/aws_ddk_core.base.BaseStack.html new file mode 100644 index 00000000..bbd123b3 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.base.BaseStack.html @@ -0,0 +1,424 @@ + + + + + + + + + aws_ddk_core.base.BaseStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.base.BaseStack

+
+
+class aws_ddk_core.base.BaseStack(*args: Any, **kwargs)
+

Base Stack to inherit from.

+

Includes configurable termination protection, synthesizer, permissions boundary and tags.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, termination_protection: Optional[bool] = None, permissions_boundary_arn: Optional[str] = None, synthesizer: Optional[aws_cdk.DefaultStackSynthesizer] = None, **kwargs: Any) None
+

Create a stack.

+

Includes termination protection settings, multi-level (application, environment, and stack-level) tags, +and permissions boundary.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stack

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • termination_protection (Optional[bool]) – Stack termination protection

  • +
  • permissions_boundary_arn (Optional[str]) – ARN of the permissions boundary managed policy

  • +
  • synthesizer (Optional[DefaultStackSynthesizer]) – CDK synthesizer configuration +https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html#bootstrapping-synthesizers

  • +
  • kwargs (Any) – Additional arguments

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Create a stack.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_transform(transform)

Add a Transform to this stack.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

bundling_required

Indicates whether the stack requires bundling or not.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html b/release/0.3.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html new file mode 100644 index 00000000..c6856dd3 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html @@ -0,0 +1,655 @@ + + + + + + + + + aws_ddk_core.cicd.CICDPipelineStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.cicd.CICDPipelineStack

+
+
+class aws_ddk_core.cicd.CICDPipelineStack(*args: Any, **kwargs)
+

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+

The pipeline is based on CDK self-mutating pipeline but includes +several DDK-specific features, including:

+
    +
  • Ability to configure some properties via JSON config e.g. manual approvals for application stages

  • +
  • Defaults for source/synth - CodeCommit & cdk synth, with ability to override them

  • +
  • Ability to connect to private artifactory to pull artifacts from at synth

  • +
  • Security best practices - ensures pipeline buckets block non-SSL, and are KMS-encrypted with rotated keys

  • +
  • Builder interface to avoid chunky constructor methods

  • +
+

The user should be able to reuse the pipeline in multiple DDK applications hoping to save LOC.

+

Example:

+
pipeline = (
+    CICDPipelineStack(
+        app,
+        id="my-pipeline",
+        environment_id="cicd",
+        pipeline_name="MyPipeline",
+    )
+    .add_source_action(repository_name="my-repo")
+    .add_synth_action()
+    .build()
+    .add_checks()
+    .add_stage("dev", DevStage(app, "dev"))
+    .synth()
+    .add_notifications()
+)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, pipeline_name: Optional[str] = None, env: Optional[aws_cdk.Environment] = None, **kwargs: Any) None
+

Start building Code Pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • environment_id (str) – Identifier of the environment that will contain the pipeline

  • +
  • pipeline_name (Optional[str]) – Name of the pipeline

  • +
  • env (Optional[Environment]) – Environment

  • +
  • kwargs (Any) – Additional args

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Start building Code Pipeline.

add_checks()

Add checks to the pipeline (e.g.

add_custom_stage(stage_name, steps)

Add custom stage to the pipeline.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_notifications([notification_rule])

Add pipeline notifications.

add_security_lint_stage([stage_name, ...])

Add linting - cfn-nag, and bandit.

add_source_action([repository_name, branch, ...])

Add source action.

add_stage(stage_id, stage[, manual_approvals])

Add application stage to the CICD pipeline.

add_synth_action([codeartifact_repository, ...])

Add synth action.

add_test_stage([stage_name, ...])

Add test - e.g.

add_transform(transform)

Add a Transform to this stack.

build()

Build the pipeline structure.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

synth()

Synthesize the pipeline.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

bundling_required

Indicates whether the stack requires bundling or not.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+add_checks() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add checks to the pipeline (e.g. linting, security, tests…).

+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_custom_stage(stage_name: str, steps: List[aws_cdk.pipelines.Step]) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add custom stage to the pipeline.

+
+
Parameters
+
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_notifications(notification_rule: Optional[aws_cdk.aws_codestarnotifications.NotificationRule] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add pipeline notifications. Create notification rule that sends events to the specified SNS topic.

+
+
Parameters
+

notification_rule (Optional[NotificationRule]) – Override notification rule

+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_security_lint_stage(stage_name: Optional[str] = None, cloud_assembly_file_set: Optional[aws_cdk.pipelines.IFileSetProducer] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add linting - cfn-nag, and bandit.

+
+
Parameters
+
    +
  • stage_name (Optional[str]) – Name of the stage

  • +
  • cloud_assembly_file_set (Optional[IFileSetProducer]) – Cloud assembly file set producer

  • +
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_source_action(repository_name: Optional[str] = None, branch: str = 'main', source_action: Optional[aws_cdk.pipelines.CodePipelineSource] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add source action.

+
+
Parameters
+
    +
  • repository_name (Optional[str]) – Name of the SCM repository

  • +
  • branch (str) – Branch of the SCM repository

  • +
  • source_action (Optional[CodePipelineSource]) – Override source action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_stage(stage_id: str, stage: aws_cdk.Stage, manual_approvals: Optional[bool] = False) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add application stage to the CICD pipeline. This stage deploys your application infrastructure.

+
+
Parameters
+
    +
  • stage_id (str) – Identifier of the stage

  • +
  • stage (Stage) – Application stage instance

  • +
  • manual_approvals (Optional[bool]) – Configure manual approvals. False by default

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_synth_action(codeartifact_repository: Optional[str] = None, codeartifact_domain: Optional[str] = None, codeartifact_domain_owner: Optional[str] = None, role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, synth_action: Optional[aws_cdk.pipelines.CodeBuildStep] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add synth action. During synth can connect and pull artifacts from a private artifactory.

+
+
Parameters
+
    +
  • codeartifact_repository (Optional[str]) – Name of the CodeArtifact repository to pull artifacts from

  • +
  • codeartifact_domain (Optional[str]) – Name of the CodeArtifact domain

  • +
  • codeartifact_domain_owner (Optional[str]) – CodeArtifact domain owner account

  • +
  • role_policy_statements (Optional[List[PolicyStatement]]) – Additional policies to add to the synth action role

  • +
  • synth_action (Optional[CodeBuildStep]) – Override synth action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_test_stage(stage_name: Optional[str] = None, cloud_assembly_file_set: Optional[aws_cdk.pipelines.IFileSetProducer] = None, commands: Optional[List[str]] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add test - e.g. pytest.

+
+
Parameters
+
    +
  • stage_name (Optional[str]) – Name of the stage

  • +
  • cloud_assembly_file_set (Optional[IFileSetProducer]) – Cloud assembly file set

  • +
  • commands (Optional[List[str]]) – Additional commands to run in the test. Defaults to “./test.sh” otherwise

  • +
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+build() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Build the pipeline structure.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+synth() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Synthesize the pipeline.

+

It is not possible to modify the pipeline after calling this method.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.config.Config.html b/release/0.3.0/api/core/stubs/aws_ddk_core.config.Config.html new file mode 100644 index 00000000..644630b6 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.config.Config.html @@ -0,0 +1,389 @@ + + + + + + + + + aws_ddk_core.config.Config - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.Config

+
+
+class aws_ddk_core.config.Config(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None)
+

Class used to read configuration with a configurable strategy.

+
+
+__init__(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None) None
+

Create Config class instance.

+

Provide ConfigStrategy to determine how/where the config should be read from. +Reads from cdk.json in the root of the repo by default.

+
+
Parameters
+

config_strategy (Optional[ConfigStrategy]) – Strategy that determines how and where to read config from. JSONConfigStrategy by default

+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__([config_strategy])

Create Config class instance.

get_cdk_version()

Return CDK version.

get_env(environment_id)

Get environment representing AWS account and region.

get_env_config(environment_id)

Get environment config.

get_resource_config(environment_id, id)

Get resource config of the resource with given id in the environment with the given environment id.

get_tags()

Return tags.

+
+
+get_cdk_version() Optional[str]
+

Return CDK version.

+
+
Returns
+

cdk_version – CDK version

+
+
Return type
+

Optional[str]

+
+
+
+
+
+get_env(environment_id: str) aws_cdk.Environment
+

Get environment representing AWS account and region.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env – CDK Environment(account, region)

+
+
Return type
+

Environment

+
+
+
+
+
+get_env_config(environment_id: str) Dict[str, Any]
+

Get environment config.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env_config – Dictionary that contains config for the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_resource_config(environment_id: str, id: str) Dict[str, Any]
+

Get resource config of the resource with given id in the environment with the given environment id.

+
+
Parameters
+
    +
  • environment_id (str) – Identifier of the environment

  • +
  • id (str) – Identifier of the resource

  • +
+
+
Returns
+

config – Dictionary that contains config for the given resource in the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_tags() Dict[str, str]
+

Return tags.

+
+
Returns
+

tags – Dict of a form {‘tag_key’: ‘value’}

+
+
Return type
+

Dict[str, str]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html b/release/0.3.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html new file mode 100644 index 00000000..a0b1f518 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html @@ -0,0 +1,315 @@ + + + + + + + + + aws_ddk_core.config.JSONConfigStrategy - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.JSONConfigStrategy

+
+
+class aws_ddk_core.config.JSONConfigStrategy(path: str = './ddk.json')
+

Read config from ddk.json in the root of the repo.

+

Can be used to read from any JSON file by specifying a different path.

+
+
+__init__(path: str = './ddk.json') None
+

Load the JSON file in the given path.

+
+
Parameters
+

path (str) – Path to the JSON config, ‘./ddk.json’ by default

+
+
+
+

Methods

+
++++ + + + + + + + + +

__init__([path])

Load the JSON file in the given path.

get_config(key)

Get config by key.

+
+
+get_config(key: str) Any
+

Get config by key.

+
+
Parameters
+

key (str) – Key

+
+
Returns
+

config – Dictionary that contains the configuration

+
+
Return type
+

Any

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html b/release/0.3.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html new file mode 100644 index 00000000..dbb0757a --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html @@ -0,0 +1,391 @@ + + + + + + + + + aws_ddk_core.pipelines.DataPipeline - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.DataPipeline

+
+
+class aws_ddk_core.pipelines.DataPipeline(*args: Any, **kwargs)
+

Class that represents a data pipeline. Used to wire stages via Event Rules. For example:

+
DataPipeline(self, id, description="My pipeline")
+    .add_stage(my_lambda_stage)
+    .add_stage(my_glue_stage)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a data pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • name (Optional[str]) – Name of the pipeline

  • +
  • description (Optional[str]) – Description of the pipeline

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a data pipeline.

add_notifications([notifications_topic])

Create a rule that matches specificed event pattern with the specified target.

add_rule([id, event_pattern, event_targets, ...])

Create a rule that matches specificed event pattern with the specified target.

add_stage(stage[, skip_rule, override_rule])

Add a stage to the data pipeline.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+add_notifications(notifications_topic: Optional[aws_cdk.aws_sns.ITopic] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+

notifications_topic (Optional[ITopic]) – Existing SNS Topic to consume notifications with.

+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+add_rule(id: Optional[str] = None, event_pattern: Optional[aws_cdk.aws_events.EventPattern] = None, event_targets: Optional[List[aws_cdk.aws_events.IRuleTarget]] = None, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+
    +
  • id (Optional[str]) – Identifier of the rule

  • +
  • event_pattern (Optional[EventPattern]) – Event pattern of the rule

  • +
  • event_targets (Optional[List[IRuleTarget]]) – Target of the rule - usually previous_stage.get_targets()

  • +
  • override_rule (Optional[Rule]) – Custom rule

  • +
+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+add_stage(stage: aws_ddk_core.pipelines.stage.DataStage, skip_rule: bool = False, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Add a stage to the data pipeline.

+

By default, creates an Event Rule that matches output event pattern of the previous stage +with targets of the next one.

+
+
Parameters
+
    +
  • stage (DataStage) – Stage instance

  • +
  • skip_rule (bool) – Skip creation of the default rule

  • +
  • override_rule (Optional[Rule]) – Override the default rule by the rule specified in this parameter

  • +
+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html b/release/0.3.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html new file mode 100644 index 00000000..4bfdda43 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html @@ -0,0 +1,419 @@ + + + + + + + + + aws_ddk_core.pipelines.DataStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.DataStage

+
+
+class aws_ddk_core.pipelines.DataStage(*args: Any, **kwargs)
+

Class that represents a stage within a data pipeline.

+

To create a DataStage, inherit from this class, add infrastructure required by the stage, and implement +get_event_pattern and get_targets methods. For example:

+
class MyStage(DataStage):
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+    ) -> None:
+        # Define stage infrastructure, for example a queue
+        self._queue = SQSFactory.queue(
+            self,
+            id,
+            environment_id,
+        )
+
+    @property
+    def queue(self) -> Queue:
+        '''
+        Return: Queue
+            The SQS queue
+        '''
+        return self._queue
+
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=["my-detail-type"],
+        )
+
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SqsQueue(self._queue)]
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

+
+
+add_alarm(alarm_id: str, alarm_metric: aws_cdk.aws_cloudwatch.IMetric, alarm_comparison_operator: Optional[aws_cdk.aws_cloudwatch.ComparisonOperator] = ComparisonOperator.GREATER_THAN_THRESHOLD, alarm_evaluation_periods: Optional[int] = 1, alarm_threshold: Optional[int] = 5) aws_ddk_core.pipelines.stage.DataStage
+

Add a CloudWatch alarm for the Data Stage

+
+
Parameters
+
    +
  • alarm_id (str) – Identifier of the CloudWatch Alarm.

  • +
  • alarm_metric (IMetric) – Metric to use for creating the Stage’s CloudWatch Alarm.

  • +
  • alarm_comparison_operator (Optional[ComparisonOperator]) – Comparison operator to use for alarm. GREATER_THAN_THRESHOLD by default.

  • +
  • alarm_threshold (Optional[int]) – The value against which the specified alarm statistic is compared. 5 by default.

  • +
  • alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. 1 by default.

  • +
+
+
+
+
+
+property cloudwatch_alarms: List[Optional[aws_cdk.aws_cloudwatch.IAlarm]]
+

List[Alarm] +List of CloudWatch Alarms linked to the stage

+
+
Type
+

Return

+
+
+
+
+
+abstract get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+abstract get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.resources.GlueFactory.html b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.GlueFactory.html new file mode 100644 index 00000000..944bfb3d --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.GlueFactory.html @@ -0,0 +1,331 @@ + + + + + + + + + aws_ddk_core.resources.GlueFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.GlueFactory

+
+
+class aws_ddk_core.resources.GlueFactory
+

Class factory to create and configure Glue DDK resources, including Jobs.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

job(scope, id, environment_id, executable[, ...])

Create and configure Glue job.

+
+
+static job(scope: constructs.Construct, id: str, environment_id: str, executable: aws_cdk.aws_glue_alpha.JobExecutable, job_name: Optional[str] = None, description: Optional[str] = None, role: Optional[aws_cdk.aws_iam.IRole] = None, security_configuration: Optional[aws_cdk.aws_glue_alpha.ISecurityConfiguration] = None, timeout: Optional[aws_cdk.Duration] = None, worker_count: Optional[int] = None, worker_type: Optional[aws_cdk.aws_glue_alpha.WorkerType] = None, **job_props: Any) aws_cdk.aws_glue_alpha.IJob
+

Create and configure Glue job.

+

This construct allows to configure parameters of the job using ddk.json configuration file +depending on the environment_id in which the job is used. Supported parameters are: +default_arguments,`enable_profiling_metrics`, max_concurrent_runs, max_retries, +timeout, worker_count.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Glue job

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • executable (JobExecutable) – The job executable properties

  • +
  • job_name (Optional[str]) – The name of the Glue job

  • +
  • description (Optional[str]) – The description of the Glue job

  • +
  • role (Optional[IRole]) – The execution role of the Glue job

  • +
  • security_configuration (Optional[ISecurityConfiguration]) – The security configuration of the Glue job. If None, a default configuration is used

  • +
  • timeout (Optional[Duration]) – The job execution time (in seconds) after which Glue terminates the job. +aws_cdk.Duration.seconds(3600) by default.

  • +
  • worker_count (Optional[int]) – The number of workers of a defined WorkerType that are allocated when a job runs

  • +
  • worker_type (Optional[WorkerType]) – The type of predefined worker that is allocated when a job runs

  • +
  • job_props (Any) – Additional job properties. For complete list of properties refer to CDK Documentation - +Glue Job: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_glue_alpha/Job.html

  • +
+
+
Returns
+

job – Glue job

+
+
Return type
+

aws_cdk.aws_glue_alpha.Job

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html new file mode 100644 index 00000000..080f7dfc --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html @@ -0,0 +1,327 @@ + + + + + + + + + aws_ddk_core.resources.KMSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KMSFactory

+
+
+class aws_ddk_core.resources.KMSFactory
+

Class factory to create and configure Key Management Service DDK resources, including Keys.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

key(scope, id, environment_id[, alias, ...])

Create and configure KMS key.

+
+
+static key(scope: constructs.Construct, id: str, environment_id: str, alias: Optional[str] = None, enable_key_rotation: Optional[bool] = None, pending_window: Optional[aws_cdk.Duration] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, **key_props: Any) aws_cdk.aws_kms.IKey
+

Create and configure KMS key.

+

This construct allows to configure parameters of the key using ddk.json configuration file +depending on the environment_id in which the key is used. Supported parameters are: +enable_key_rotation,`pending_window`, and removal_policy.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the key

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • alias (Optional[str]) – Key alias

  • +
  • enable_key_rotation (Optional[bool]) – Indicates whether AWS KMS rotates the key. True by default.

  • +
  • pending_window (Optional[Duration]) – Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been +removed from a CloudFormation stack. aws_cdk.Duration.days(30) by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Whether the encryption key should be retained when it is removed from the Stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • key_props (Any) – Additional key properties. For complete list of properties refer to CDK Documentation - +KMS Key: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_kms/Key.html

  • +
+
+
Returns
+

key – KMS key

+
+
Return type
+

aws_cdk.aws_kms.Key

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html new file mode 100644 index 00000000..a5a70137 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html @@ -0,0 +1,379 @@ + + + + + + + + + aws_ddk_core.resources.KinesisFirehoseFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KinesisFirehoseFactory

+
+
+class aws_ddk_core.resources.KinesisFirehoseFactory
+

Class factory create and configure Kinesis DDK resources, including Delivery Streams.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

delivery_stream(scope, id, environment_id, ...)

Create and configure Firehose delivery stream.

s3_destination(id, environment_id, bucket[, ...])

Create and configure Firehose delivery S3 destination.

+
+
+static delivery_stream(scope: constructs.Construct, id: str, environment_id: str, destinations: Sequence[aws_cdk.aws_kinesisfirehose_alpha.IDestination], delivery_stream_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_kinesisfirehose_alpha.StreamEncryption] = None, encryption_key: Optional[aws_cdk.aws_kms.IKey] = None, role: Optional[aws_cdk.aws_iam.IRole] = None, source_stream: Optional[aws_cdk.aws_kinesis.IStream] = None, **firehose_props: Any) aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream
+

Create and configure Firehose delivery stream.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the delivery stream

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • destinations (Sequence[firehose.IDestination]) – The destinations that this delivery stream will deliver data to

  • +
  • delivery_stream_name (Optional[str] = None) – A name for the delivery stream

  • +
  • encryption (Optional[firehose.StreamEncryption] = None) – Indicates the type of customer master key (CMK) to use for server-side encryption, if any. +Default: StreamEncryption.UNENCRYPTED

  • +
  • encryption_key (Optional[IKey] = None) – Customer managed key to server-side encrypt data in the stream. +Default: - no KMS key will be used

  • +
  • role (Optional[IRole] = None) – The IAM role associated with this delivery stream. +Assumed by Kinesis Data Firehose to read from sources and encrypt data server-side. +Default: - a role will be created with default permissions.

  • +
  • source_stream (Optional[IStream] = None) – The Kinesis data stream to use as a source for this delivery stream

  • +
  • **firehose_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose Delivery Stream: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesisfirehose/DeliveryStream.html

  • +
+
+
Returns
+

delivery_stream – A Kinesis Firehose Delivery Stream

+
+
Return type
+

firehose.IDeliveryStream

+
+
+
+
+
+static s3_destination(id: str, environment_id: str, bucket: aws_cdk.aws_s3.IBucket, buffering_interval: typing.Optional[aws_ddk_core.resources.commons.Duration] = None, buffering_size: typing.Optional[aws_ddk_core.resources.commons.Size] = None, compression: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression] = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>, data_output_prefix: typing.Optional[str] = None, encryption_key: typing.Optional[aws_cdk.aws_kms.IKey] = None, error_output_prefix: typing.Optional[str] = None, logging: typing.Optional[bool] = True, log_group: typing.Optional[aws_cdk.aws_logs.ILogGroup] = None, processor: typing.Optional[aws_cdk.aws_kinesisfirehose_alpha.IDataProcessor] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, s3_backup: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.DestinationS3BackupProps] = None, **destination_props: typing.Any) aws_cdk.aws_kinesisfirehose_destinations_alpha.S3Bucket
+

Create and configure Firehose delivery S3 destination.

+

This construct allows to configure parameters of the firehose destination using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: buffering_interval and buffering_size

+
+
Parameters
+
    +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket (IBucket) – S3 Bucket to use for the destination.

  • +
  • buffering_interval (Optional[Duration] = None) – The length of time that Firehose buffers incoming data before delivering it to the S3 bucket. +Minimum: Duration.seconds(60) +Maximum: Duration.seconds(900) +Default: Duration.seconds(300)

  • +
  • buffering_size (Optional[Size] = None) – The size of the buffer that Kinesis Data Firehose uses for incoming data +before delivering it to the S3 bucket. +Minimum: Size.mebibytes(1) +Maximum: Size.mebibytes(128) +Default: Size.mebibytes(5)

  • +
  • compression (Optional[Compression] = None) – The type of compression that Kinesis Data Firehose uses to compress the data that it delivers +to the Amazon S3 bucket. +Default: Compression.GZIP

  • +
  • data_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3

  • +
  • encryption_key (Optional[IKey] = None) – The AWS KMS key used to encrypt the data that it delivers to your Amazon S3 bucket.

  • +
  • error_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. +This prefix appears immediately following the bucket name

  • +
  • logging (Optional[bool] = True) – If true, log errors when data transformation or data delivery fails. +If logGroup is provided, this will be implicitly set to true. +Default: true - errors are logged.

  • +
  • log_group (Optional[ILogGroup] = None) – The CloudWatch log group where log streams will be created to hold error logs. +Default: - if logging is set to true, a log group will be created for you.

  • +
  • processor (Optional[IDataProcessor] = None) – The data transformation that should be performed on the data before writing to the destination.

  • +
  • role (Optional[IRole] = None) – The IAM role associated with this destination. +Assumed by Kinesis Data Firehose to invoke processors and write to destinations

  • +
  • s3_backup (Optional[DestinationS3BackupProps] = None) – The configuration for backing up source records to S3.

  • +
  • **destination_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose S3 Destinations: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesisfirehose_destinations/S3Bucket.html

  • +
+
+
Returns
+

destination – A Kinesis Firehose S3 Delivery Destination

+
+
Return type
+

destinations.S3Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html new file mode 100644 index 00000000..863a5716 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html @@ -0,0 +1,334 @@ + + + + + + + + + aws_ddk_core.resources.KinesisStreamsFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KinesisStreamsFactory

+
+
+class aws_ddk_core.resources.KinesisStreamsFactory
+

Class factory create and configure Kinesis DDK resources, including Data Streams.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

data_stream(scope, id, environment_id[, ...])

Create and configure Kinesis data stream.

+
+
+static data_stream(scope: constructs.Construct, id: str, environment_id: str, encryption: Optional[aws_cdk.aws_kinesis.StreamEncryption] = None, encryption_key: Optional[aws_cdk.aws_kms.IKey] = None, retention_period: Optional[aws_ddk_core.resources.commons.Duration] = None, shard_count: Optional[int] = None, stream_mode: Optional[aws_cdk.aws_kinesis.StreamMode] = None, stream_name: Optional[str] = None, **kinesis_props: Any) aws_cdk.aws_kinesis.IStream
+

Create and configure Kinesis data stream.

+

This construct allows to configure parameters of the Kinesis data stream using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: retention_period and shard_count.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the data stream

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • encryption (Optional[StreamEncryption] = None) – The kind of server-side encryption to apply to this stream. +If you choose KMS, you can specify a KMS key via encryptionKey. +If encryption key is not specified, a key will automatically be created. +Default: - StreamEncryption.KMS if encrypted Streams are supported +in the region or StreamEncryption.UNENCRYPTED otherwise. +StreamEncryption.KMS if an encryption key is supplied through the encryptionKey property

  • +
  • encryption_key (Optional[IKey] = None) – External KMS key to use for stream encryption. The ‘encryption’ property must be set to “Kms”. +Default: - Kinesis Data Streams master key (‘/alias/aws/kinesis’)

  • +
  • retention_period (Optional[Duration] = None) – The number of hours for the data records that are stored in shards to remain accessible. +Default: Duration.seconds(3600)

  • +
  • shard_count (Optional[int] = None) – The number of shards for the stream. Can only be provided if streamMode is Provisioned. +Default: 1

  • +
  • stream_mode (Optional[StreamMode] = None) – The capacity mode of this stream. +Default: StreamMode.PROVISIONED

  • +
  • stream_name (Optional[str] = None) – Enforces a particular physical stream name. +Default: A CloudFormation generated name

  • +
  • **kinesis_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose Data Stream: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesis/Stream.html

  • +
+
+
Returns
+

data_stream – A Kinesis Data Stream

+
+
Return type
+

Stream

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html new file mode 100644 index 00000000..07c663cf --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html @@ -0,0 +1,337 @@ + + + + + + + + + aws_ddk_core.resources.LambdaFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.LambdaFactory

+
+
+class aws_ddk_core.resources.LambdaFactory
+

Class factory to create and configure Lambda DDK resources, including Functions.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

add_vpc_permissions(fn)

function(scope, id, environment_id, code, ...)

Create and configure Lambda function.

+
+
+static function(scope: constructs.Construct, id: str, environment_id: str, code: aws_cdk.aws_lambda.Code, handler: str, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, function_name: typing.Optional[str] = None, description: typing.Optional[str] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, dead_letter_queue_enabled: typing.Optional[bool] = None, dead_letter_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, **function_props: typing.Any) aws_cdk.aws_lambda.IFunction
+

Create and configure Lambda function.

+

This construct allows to configure parameters of the function using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +dead_letter_queue_enabled,`memory_size`, environment, profiling, +reserved_concurrent_executions, timeout, tracing, max_event_age, retry_attempts, +allow_all_outbound, and allow_public_subnet.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Lambda function

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Code) – The source code of the Lambda function

  • +
  • handler (str) – The name of the method within the code that Lambda calls to execute the function

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function

  • +
  • function_name (Optional[str]) – The name of the Lambda function

  • +
  • description (Optional[str]) – The description of the Lambda function

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • dead_letter_queue_enabled (Optional[bool]) – Determines if DLQ is enabled. False by default.

  • +
  • dead_letter_queue (Optional[IQueue]) – The SQS queue to use if DLQ is enabled

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default.

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default.

  • +
  • function_props (Any) – Additional function properties. For complete list of properties refer to CDK Documentation - +Lambda Function: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_lambda/Function.html

  • +
+
+
Returns
+

fn – Lambda function

+
+
Return type
+

aws_cdk.aws_lambda.Function

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html new file mode 100644 index 00000000..6d3d87c5 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html @@ -0,0 +1,330 @@ + + + + + + + + + aws_ddk_core.resources.S3Factory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.S3Factory

+
+
+class aws_ddk_core.resources.S3Factory
+

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

bucket(scope, id, environment_id[, ...])

Create and configure S3 bucket.

+
+
+static bucket(scope: constructs.Construct, id: str, environment_id: str, bucket_name: Optional[str] = None, versioned: Optional[bool] = None, access_control: Optional[aws_cdk.aws_s3.BucketAccessControl] = None, block_public_access: Optional[aws_cdk.aws_s3.BlockPublicAccess] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, encryption: Optional[aws_cdk.aws_s3.BucketEncryption] = None, enforce_ssl: Optional[bool] = None, event_bridge_enabled: Optional[bool] = None, **bucket_props: Any) aws_cdk.aws_s3.IBucket
+

Create and configure S3 bucket.

+

This construct allows to configure parameters of the bucket using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +versioned,`auto_delete_objects`, enforce_ssl, access_control, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the bucket

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket_name (Optional[str]) – The name of the bucket

  • +
  • versioned (Optional[bool]) – Whether this bucket should have versioning turned on or not. True by default.

  • +
  • access_control (Optional[BucketAccessControl]) – Specifies a canned ACL that grants predefined permissions to the bucket +aws_cdk.aws_s3.BucketAccessControl.BUCKET_OWNER_FULL_CONTROL by default.

  • +
  • block_public_access (Optional[BlockPublicAccess]) – The block public access configuration of this bucket. +aws_cdk.aws_s3.BucketAccessControl.BUCKET_OWNER_FULL_CONTROL by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • encryption (Optional[BucketEncryption]) – The kind of server-side encryption to apply to this bucket. +aws_cdk.aws_s3.BucketEncryption.S3_MANAGED by default.

  • +
  • enforce_ssl (Optional[bool]) – Enforces SSL for requests. True by default.

  • +
  • event_bridge_enabled (Optional[bool]) – Whether this bucket should send notifications to Amazon EventBridge or not. +False by default.

  • +
  • bucket_props (Any) – Additional bucket properties. For complete list of properties refer to CDK Documentation - +S3 Bucket: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_s3/Bucket.html

  • +
+
+
Returns
+

bucket – S3 bucket

+
+
Return type
+

aws_cdk.aws_s3.Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html new file mode 100644 index 00000000..f9411ddd --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html @@ -0,0 +1,327 @@ + + + + + + + + + aws_ddk_core.resources.SQSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.SQSFactory

+
+
+class aws_ddk_core.resources.SQSFactory
+

Class factory create and configure Simple Queue Service DDK resources, including Queues.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

apply_secure_queue_policy(queue)

queue(scope, environment_id, id[, ...])

Create and configure SQS queue.

+
+
+static queue(scope: constructs.Construct, environment_id: str, id: str, queue_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_sqs.QueueEncryption] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, dead_letter_queue: Optional[aws_cdk.aws_sqs.DeadLetterQueue] = None, **queue_props: Any) aws_cdk.aws_sqs.IQueue
+

Create and configure SQS queue.

+

This construct allows to configure parameters of the queue using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +content_based_deduplication,`data_key_reuse`, delivery_delay, max_message_size_bytes, +retention_period, visibility_timeout, receive_message_wait_time, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the queue

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • queue_name (Optional[str]) – Name of the queue

  • +
  • encryption (Optional[QueueEncryption]) – Whether the contents of the queue are encrypted, and by what type of key. +aws_cdk.aws_sqs.QueueEncryption.KMS_MANAGED by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • dead_letter_queue (Optional[DeadLetterQueue]) – Send messages to this queue if they were unsuccessfully dequeued a number of times.

  • +
  • queue_props (Any) – Additional queue properties. For complete list of properties refer to CDK Documentation - +SQS Queue: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_sqs/Queue.html

  • +
+
+
Returns
+

queue – SQS queue

+
+
Return type
+

aws_cdk.aws_sqs.Queue

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html new file mode 100644 index 00000000..83b04e5e --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html @@ -0,0 +1,321 @@ + + + + + + + + + aws_ddk_core.resources.StepFunctionsFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.StepFunctionsFactory

+
+
+class aws_ddk_core.resources.StepFunctionsFactory
+

Class factory create and configure AWS Step Functions Service DDK resources, including State Machines.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

state_machine(scope, environment_id, id[, ...])

Create and configure state machine.

+
+
+static state_machine(scope: constructs.Construct, environment_id: str, id: str, state_machine_name: Optional[str] = None, state_machine_type: Optional[aws_cdk.aws_stepfunctions.StateMachineType] = None, timeout: Optional[aws_ddk_core.resources.commons.Duration] = None, tracing_enabled: Optional[bool] = None, **state_machine_props: Any) aws_cdk.aws_stepfunctions.StateMachine
+

Create and configure state machine.

+

This construct allows to configure parameters of the state machine using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +state_machine_type,`timeout`, and tracing_enabled.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the state machine

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • state_machine_name (Optional[str]) – Name of the state machine

  • +
  • state_machine_type (Optional[sfn.StateMachineType]) – Type of the state machine

  • +
  • timeout (Optional[Duration]) – Maximum run time for this state machine

  • +
  • tracing_enabled (Optional[bool]) – Specifies whether Amazon X-Ray tracing is enabled for this state machine

  • +
  • state_machine_props (Any) – Additional state machine properties. For complete list of properties refer to CDK Documentation - +State Machine: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_stepfunctions/StateMachine.html

  • +
+
+
Returns
+

state_machine – State machine

+
+
Return type
+

aws_cdk.aws_stepfunctions.StateMachine

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html b/release/0.3.0/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html new file mode 100644 index 00000000..5fb6ac06 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html @@ -0,0 +1,398 @@ + + + + + + + + + aws_ddk_core.stages.AppFlowIngestionStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.AppFlowIngestionStage

+
+
+class aws_ddk_core.stages.AppFlowIngestionStage(*args: Any, **kwargs)
+

Class that represents an AppFlow DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, flow_name: typing.Optional[str] = None, flow_execution_status_check_period: aws_cdk.Duration = <aws_cdk.Duration object>, destination_flow_config: typing.Optional[aws_cdk.aws_appflow.CfnFlow.DestinationFlowConfigProperty] = None, source_flow_config: typing.Optional[aws_cdk.aws_appflow.CfnFlow.SourceFlowConfigProperty] = None, tasks: typing.Optional[typing.List[aws_cdk.aws_appflow.CfnFlow.TaskProperty]] = None, state_machine_input: typing.Optional[typing.Dict[str, typing.Any]] = None, additional_role_policy_statements: typing.Optional[typing.List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: typing.Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: typing.Optional[int] = 1) None
+

DDK AppFlow Ingestion stage.

+

Stage that contains a step function that runs an AppFlow flow ingestion. +If the AppFlow flow name is not supplied, then it is created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • flow_name (Optional[str]) – Name of the AppFlow flow to run. If None, an AppFlow flow is created

  • +
  • flow_execution_status_check_period (Duration) – Time to wait between flow execution status checks. +aws_cdk.Duration.seconds(15) by default

  • +
  • destination_flow_config (Optional[CfnFlow.DestinationFlowConfigProperty]) – The flow destination_flow_config properties

  • +
  • source_flow_config (Optional[CfnFlow.SourceFlowConfigProperty]) – The flow source_flow_config properties

  • +
  • tasks (Optional[List[CfnFlow.TaskProperty]]) – The flow tasks properties

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK AppFlow Ingestion stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

flow

CfnFlow The AppFlow flow

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property flow: aws_cdk.aws_appflow.CfnFlow
+

CfnFlow +The AppFlow flow

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property state_machine: aws_cdk.aws_stepfunctions.StateMachine
+

StateMachine +The state machine

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html b/release/0.3.0/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html new file mode 100644 index 00000000..1588c6a2 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html @@ -0,0 +1,385 @@ + + + + + + + + + aws_ddk_core.stages.AthenaSQLStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.AthenaSQLStage

+
+
+class aws_ddk_core.stages.AthenaSQLStage(*args: Any, **kwargs)
+

Class that represents a Athena SQL DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, query_string: str, workgroup: Optional[str] = None, catalog_name: Optional[str] = None, database_name: Optional[str] = None, output_bucket_name: Optional[str] = None, output_object_key: Optional[str] = None, encryption_option: Optional[aws_cdk.aws_stepfunctions_tasks.EncryptionOption] = None, encryption_key: Optional[aws_cdk.aws_kms.Key] = None, state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

DDK Athena SQL stage.

+

Stage that contains a step function that execute Athena SQL query.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • query_string (str) – SQL query that will be started

  • +
  • workgroup (Optional[str]) – Workgroup name

  • +
  • catalog_name (Optional[str]) – Catalog name

  • +
  • database_name (Optional[str]) – Database name

  • +
  • output_bucket_name (Optional[str]) – Output S3 bucket name

  • +
  • output_object_key (Optional[str]) – Output S3 key

  • +
  • encryption_option (Optional[EncryptionOption]) – Encryption configuration

  • +
  • encryption_key (Optional[Key]) – Encryption KMS key

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, query_string)

DDK Athena SQL stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

state_machine

StateMachine The state machine

+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property state_machine: aws_cdk.aws_stepfunctions.StateMachine
+

StateMachine +The state machine

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html b/release/0.3.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html new file mode 100644 index 00000000..ae10a8a6 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html @@ -0,0 +1,414 @@ + + + + + + + + + aws_ddk_core.stages.GlueTransformStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.GlueTransformStage

+
+
+class aws_ddk_core.stages.GlueTransformStage(*args: Any, **kwargs)
+

Class that represents a Glue Transform DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, job_name: Optional[str] = None, executable: Optional[aws_cdk.aws_glue_alpha.JobExecutable] = None, job_role: Optional[aws_cdk.aws_iam.IRole] = None, crawler_name: Optional[str] = None, database_name: Optional[str] = None, crawler_role: Optional[aws_cdk.aws_iam.IRole] = None, targets: Optional[aws_cdk.aws_glue.CfnCrawler.TargetsProperty] = None, job_args: Optional[Dict[str, Any]] = None, state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

DDK Glue Transform stage.

+

Stage that contains a step function that runs Glue job, and a Glue crawler afterwards. +If the Glue job or crawler names are not supplied, then they are created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • job_name (Optional[str]) – The name of a preexisting Glue job to run. If None, a Glue job is created

  • +
  • executable (Optional[JobExecutable]) – The job executable properties

  • +
  • job_role (Optional[IRole]) – The job execution role

  • +
  • crawler_name (Optional[str]) – The name of a preexisting Glue crawler to run. If None, a Glue crawler is created

  • +
  • database_name (Optional[str]) – The name of the database in which the crawler’s output is stored

  • +
  • crawler_role (Optional[IRole]) – The crawler execution role

  • +
  • targets (Optional[TargetsProperty]) – A collection of targets to crawl

  • +
  • job_args (Optional[Dict[str, Any]]) – The input arguments to the Glue job

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – The input dict to the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK Glue Transform stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

crawler

Optional[CfnCrawler] The Glue crawler

job

Optional[IJob] The Glue job

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property crawler: Optional[aws_cdk.aws_glue.CfnCrawler]
+

Optional[CfnCrawler] +The Glue crawler

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property job: Optional[aws_cdk.aws_glue_alpha.IJob]
+

Optional[IJob] +The Glue job

+
+
Type
+

Return

+
+
+
+
+
+property state_machine: aws_cdk.aws_stepfunctions.StateMachine
+

StateMachine +The state machine

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html b/release/0.3.0/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html new file mode 100644 index 00000000..3b14b0e8 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html @@ -0,0 +1,456 @@ + + + + + + + + + aws_ddk_core.stages.KinesisToS3Stage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.KinesisToS3Stage

+
+
+class aws_ddk_core.stages.KinesisToS3Stage(*args: Any, **kwargs)
+

Class that represents a Firehose to S3 Ingestion DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, delivery_stream_name: typing.Optional[str] = None, bucket_name: typing.Optional[str] = None, buffering_interval: typing.Optional[aws_cdk.Duration] = None, buffering_size: typing.Optional[aws_cdk.Size] = None, compression: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression] = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>, data_output_prefix: typing.Optional[str] = None, data_stream_enabled: typing.Optional[bool] = False, encryption_key: typing.Optional[aws_cdk.aws_kms.IKey] = None, error_output_prefix: typing.Optional[str] = None, logging: typing.Optional[bool] = True, log_group: typing.Optional[aws_cdk.aws_logs.ILogGroup] = None, kinesis_delivery_stream_alarm_threshold: typing.Optional[int] = 900, kinesis_delivery_stream_alarm_evaluation_periods: typing.Optional[int] = 1, delivery_stream: typing.Optional[aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream] = None, bucket: typing.Optional[aws_cdk.aws_s3.IBucket] = None, data_stream: typing.Optional[aws_cdk.aws_kinesis.Stream] = None) None
+

DDK Kinesis Firehose Delivery stream to S3 stage, with an optional Kinesis Data Stream.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • delivery_stream_name (Optional[str] = None) – Name of the Firehose Delivery Stream

  • +
  • bucket_name (Optional[str] = None) – Name of S3 Bucket to be created as a delivery destination. +Amazon EventBridge notifications must be enabled on the bucket in order +for this stage to produce events after its completion.

  • +
  • buffering_interval (Optional[Duration] = None) – The length of time that Firehose buffers incoming data before delivering it to the S3 bucket. +Minimum: Duration.seconds(60) +Maximum: Duration.seconds(900) +Default: Duration.seconds(300)

  • +
  • buffering_size (Optional[Size] = None) – The size of the buffer that Kinesis Data Firehose uses for incoming +data before delivering it to the S3 bucket. +Minimum: Size.mebibytes(1) +Maximum: Size.mebibytes(128) +Default: Size.mebibytes(5)

  • +
  • compression (Optional[Compression] = None) – The type of compression that Kinesis Data Firehose uses to compress +the data that it delivers to the Amazon S3 bucket. +Default: - GZIP

  • +
  • data_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3. +This prefix appears immediately following the bucket name. +Default: “YYYY/MM/DD/HH”

  • +
  • data_stream_enabled (Optional[bool] = False) – Add Kinesis Data Stream to front Firehose Delivery. +Default: false

  • +
  • encryption_key (Optional[IKey] = None) – The AWS KMS key used to encrypt the data delivered to your Amazon S3 bucket

  • +
  • error_output_prefix (Optional[str] = None) – prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. +This prefix appears immediately following the bucket name. +Default: “YYYY/MM/DD/HH”

  • +
  • logging (Optional[bool] = True) – If true, log errors when data transformation or data delivery fails. +If log_group is provided, this will be implicitly set to true. +Default: true - errors are logged.

  • +
  • log_group (Optional[ILogGroup] = None) – The CloudWatch log group where log streams will be created to hold error logs. +Default: - if logging is set to true, a log group will be created for you.

  • +
  • kinesis_delivery_stream_alarm_threshold (Optional[int] = 900) – Threshold for Cloudwatch Alarm created for this stage. +Default: 900

  • +
  • kinesis_delivery_stream_alarm_evaluation_periods (Optional[int] = 1) – Evaluation period value for Cloudwatch alarm created for this stage. +Default: 1

  • +
  • delivery_stream (Optional[firehose.IDeliveryStream] = None) – Preexisting Delivery Stream to use in this stage

  • +
  • bucket (Optional[IBucket] = None) – Preexisting S3 Bucket to use as a destination for the Firehose Stream. +If no bucket is provided, a new one is created. +Amazon EventBridge notifications must be enabled on the bucket in order +for this stage to produce events after its completion.

  • +
  • data_stream (Optional[Stream] = None) – Preexisting Kinesis Data Stream to use in stage before Delivery Stream. +Setting this parameter will override any creation of Kinesis Data Streams +in this stage. data_stream_enabled will have no effect.

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK Kinesis Firehose Delivery stream to S3 stage, with an optional Kinesis Data Stream.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + +

bucket

S3 Bucket The S3 Destination Bucket

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

data_stream

Data Stream The Kinesis Data Stream

delivery_stream

Delivery Stream The Kinesis Firehose Delivery Stream

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property bucket: aws_cdk.aws_s3.IBucket
+

S3 Bucket +The S3 Destination Bucket

+
+
Type
+

Return

+
+
+
+
+
+property data_stream: aws_cdk.aws_kinesis.Stream
+

Data Stream +The Kinesis Data Stream

+
+
Type
+

Return

+
+
+
+
+
+property delivery_stream: aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream
+

Delivery Stream +The Kinesis Firehose Delivery Stream

+
+
Type
+

Return

+
+
+
+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html b/release/0.3.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html new file mode 100644 index 00000000..6a50eff7 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html @@ -0,0 +1,380 @@ + + + + + + + + + aws_ddk_core.stages.S3EventStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.S3EventStage

+
+
+class aws_ddk_core.stages.S3EventStage(*args: Any, **kwargs)
+

Class that represents an S3 Event DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, event_names: List[str], bucket_name: str, key_prefix: Optional[str] = None, **kwargs: Any) None
+

DDK S3 Event stage.

+

It implements an S3 event pattern based on event names, a bucket name and optional key prefix. +Amazon EventBridge notifications must be enabled on the bucket in order to use this construct.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • event_names (List[str]) – The list of events to capture, for example: [“Object Created”]. +https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventBridge.html

  • +
  • bucket_name (str) – The name of the S3 bucket. Amazon EventBridge notifications must be enabled +on the bucket in order to use this construct.

  • +
  • key_prefix (Optional[str]) – The S3 prefix. Capture root level prefix (“/”) by default

  • +
  • cloudtrail_trail (Optional[Trail]) – Preexisting CloudTrail Trail to use in stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK S3 Event stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html b/release/0.3.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html new file mode 100644 index 00000000..79fd4fc5 --- /dev/null +++ b/release/0.3.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html @@ -0,0 +1,411 @@ + + + + + + + + + aws_ddk_core.stages.SqsToLambdaStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.SqsToLambdaStage

+
+
+class aws_ddk_core.stages.SqsToLambdaStage(*args: Any, **kwargs)
+

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, code: typing.Optional[aws_cdk.aws_lambda.Code] = None, handler: typing.Optional[str] = None, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, visibility_timeout: typing.Optional[aws_cdk.Duration] = None, dead_letter_queue_enabled: bool = False, max_receive_count: int = 1, batch_size: typing.Optional[int] = None, layers: typing.Optional[typing.List[aws_cdk.aws_lambda.ILayerVersion]] = None, lambda_function: typing.Optional[aws_cdk.aws_lambda.IFunction] = None, sqs_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, lambda_function_errors_alarm_threshold: typing.Optional[int] = 5, lambda_function_errors_alarm_evaluation_periods: typing.Optional[int] = 1) None
+

DDK SQS to Lambda stage.

+

It implements an Amazon SQS queue connected to an AWS Lambda function, with an optional DLQ.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Optional[Code]) – The source code of the Lambda function +Must be set if lambda_function is not.

  • +
  • handler (Optional[str]) – The name of the method within the code that Lambda calls to execute the function. +Must be set if lambda_function is not.

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function. PYTHON_3_9 by default

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default

  • +
  • visibility_timeout (Optional[Duration]) – Timeout of processing a single message in the queue. Default: Duration.seconds(120).

  • +
  • dead_letter_queue_enabled (bool) – Determines if DLQ is enabled. False by default

  • +
  • max_receive_count (int) – The number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue. +1 by default

  • +
  • batch_size (Optional[int]) – The maximum number of records retrieved from the event source at the function invocation time. +10 by default

  • +
  • layers (Optional[List[ILayerVersion]]) – A list of layers to add to the lambda function’s execution environment.

  • +
  • lambda_function (Optional[IFunction]) – Preexisting Lambda Function to use in stage. None by default

  • +
  • sqs_queue (Optional[IQueue]) – Preexisting SQS Queue to use in stage. None by default

  • +
  • lambda_function_errors_alarm_threshold (Optional[int]) – Amount of errored function invocations before triggering CW alarm. Defaults to 5

  • +
  • lambda_function_errors_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, code, ...])

DDK SQS to Lambda stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

dlq

DeadLetterQueue The SQS dead letter queue

function

Function The Lambda function

node

The tree node.

queue

Queue The SQS queue

+
+
+property dlq: Optional[aws_cdk.aws_sqs.DeadLetterQueue]
+

DeadLetterQueue +The SQS dead letter queue

+
+
Type
+

Return

+
+
+
+
+
+property function: aws_cdk.aws_lambda.IFunction
+

Function +The Lambda function

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property queue: aws_cdk.aws_sqs.IQueue
+

Queue +The SQS queue

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/genindex.html b/release/0.3.0/api/genindex.html new file mode 100644 index 00000000..8276443f --- /dev/null +++ b/release/0.3.0/api/genindex.html @@ -0,0 +1,923 @@ + + + + + + + Index - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+

Index

+
Symbols | _ | A | B | C | D | E | F | G | J | K | L | N | Q | S
+
+
+

Symbols

+ + + +
+
+ +
+

_

+ + +
+
+ +
+

A

+ + + +
+
+ +
+

B

+ + + +
+
+ +
+

C

+ + + +
+
+ +
+

D

+ + + +
+
+ +
+

E

+ + +
+
+ +
+

F

+ + + +
+
+ +
+

G

+ + + +
+
+ +
+

J

+ + + +
+
+ +
+

K

+ + + +
+
+ +
+

L

+ + +
+
+ +
+

N

+ + +
+
+ +
+

Q

+ + + +
+
+ +
+

S

+ + + +
+
+ + +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/index.html b/release/0.3.0/api/index.html new file mode 100644 index 00000000..2c6fe6b8 --- /dev/null +++ b/release/0.3.0/api/index.html @@ -0,0 +1,299 @@ + + + + + + + + + Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/objects.inv b/release/0.3.0/api/objects.inv new file mode 100644 index 0000000000000000000000000000000000000000..900c7d886139ba073486d1ab5bfa5e773f7d2034 GIT binary patch literal 1990 zcmV;%2RZm7AX9K?X>NERX>N99Zgg*Qc_4OWa&u{KZXhxWBOp+6Z)#;@bUGkGS5qKF zL`w=IAXa5^b7^mGIv@%oAXI2&AaZ4GVQFq;WpW^IW*~HEX>%ZEX>4U6X>%ZBZ*6dL zWpi_7WFU2OX>MmAdTeQ8E(&y*nQUceGMgz+)gCEX z$hJ0suq2Z8zh41%9L!7I0_KvWp!@q;qSX%xLSJj?~fK;W8} z2^OzDKYYG>5;;#q=00!Tnmxno5eCiU6ofR6Bev)4SuaajXd~0eKHnW*lsJ<{Yz3o6 z$ZXjmYt9NK%rUZ;%`X_amW5(GqO2VHvdqhm^_ZFcuNbP~dg*7oDMS)4##YVjOlQ^WtY{`-3^w>F9zzB>Xuwyg{$LwWK9w3Ua0pBI$4ClV0QlN*RF zgRDbOmY|2~=tEbQoddL9-BCl&(bL7#x;1;Iy+;`2V^a{~>cy#;Rgv&T3Ej&U561PG z1m-c7nmd7yuRy8FsiO&1=>l9VkwyGU4cph0l}F}E=3JTMY^+rde&M!j$*D11Webe7 zPL#_2(zCI>)tlYXjNlf4OT_Fosak_w3xyztKDrFA%s7`odi7^g@O#@nN##^WbSm~t zf43}Xz53JrD>pMTeSKV`ChwvLpukQYj_jEqXXGi}Q|No4_+Dz919oE|snK&gsS&YV zx3+~l+61jQO@FB^`X-9GHX@_WTPstUvaUw2eY~Oxfg|?xiAhX|Z3Or72A~z+Xu63h zYUUfNFe2hE#ln;&Qz0J?+J~TY+LR zX0I?c0XHHY*?>|!xeKR5N~#<;5=>)USqTysqGyxd{14twfR$F^OFPuJ_d&C_FT z)fGkhkn}dn1l3wOwBp?sl^gDnITx9Otr$TUtd31zw}o$e**60PE(u}g zdfv?r-DCsUyNND#4ZPJDItT`U7Zl;$D{(tF(uHF zA5P2QA{OAzbAeX%od|~jg#c68yVyC}8HCQ_0jRo%7}stK!g09(T+#zf>gfkUH`xGK z(E|+YYz9IX$pBE)0}N{Q0^yic0IcRA#&k6Tp^Ic-1;|E9qix}puL$AUi%>F4t<{wQ zERAJe?Yp#lgAZ>vNdtzI{lzt~pee~^BADPBk1RTnbFNaM%Wr_Syowm{Gq-cE7wI?QBZ~3IIsV4Orl6-&!w_4jAYJdZ?dfN;G&m^ApLFBVO0X6H~n>pwG`|aZwe|)NTq(Z7`VxA|m z^cq`9GO+X4+GKkTCJU1nhQvZ45#==^a&?~I@@qK74~0;i(A)yQ&;*Iwf@#uhCz?+= z(Jbbk(^npJ`qil=!dsd=!R>g)%biCev*d^ZY$7zk4NvpL-a_G;1{R-Su*TmGOcaR+{WB#XbhPh}tZKkYp)`93|pUjP6A literal 0 HcmV?d00001 diff --git a/release/0.3.0/api/search.html b/release/0.3.0/api/search.html new file mode 100644 index 00000000..e9822a39 --- /dev/null +++ b/release/0.3.0/api/search.html @@ -0,0 +1,254 @@ + + + + + + + Search - Contents + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ + + +
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + + + + \ No newline at end of file diff --git a/release/0.3.0/api/searchindex.js b/release/0.3.0/api/searchindex.js new file mode 100644 index 00000000..c32973bc --- /dev/null +++ b/release/0.3.0/api/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({docnames:["cli/aws_ddk","core/aws_ddk_core","core/stubs/aws_ddk_core.base.BaseStack","core/stubs/aws_ddk_core.cicd.CICDPipelineStack","core/stubs/aws_ddk_core.config.Config","core/stubs/aws_ddk_core.config.JSONConfigStrategy","core/stubs/aws_ddk_core.pipelines.DataPipeline","core/stubs/aws_ddk_core.pipelines.DataStage","core/stubs/aws_ddk_core.resources.GlueFactory","core/stubs/aws_ddk_core.resources.KMSFactory","core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory","core/stubs/aws_ddk_core.resources.KinesisStreamsFactory","core/stubs/aws_ddk_core.resources.LambdaFactory","core/stubs/aws_ddk_core.resources.S3Factory","core/stubs/aws_ddk_core.resources.SQSFactory","core/stubs/aws_ddk_core.resources.StepFunctionsFactory","core/stubs/aws_ddk_core.stages.AppFlowIngestionStage","core/stubs/aws_ddk_core.stages.AthenaSQLStage","core/stubs/aws_ddk_core.stages.GlueTransformStage","core/stubs/aws_ddk_core.stages.KinesisToS3Stage","core/stubs/aws_ddk_core.stages.S3EventStage","core/stubs/aws_ddk_core.stages.SqsToLambdaStage","index"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["cli/aws_ddk.rst","core/aws_ddk_core.rst","core/stubs/aws_ddk_core.base.BaseStack.rst","core/stubs/aws_ddk_core.cicd.CICDPipelineStack.rst","core/stubs/aws_ddk_core.config.Config.rst","core/stubs/aws_ddk_core.config.JSONConfigStrategy.rst","core/stubs/aws_ddk_core.pipelines.DataPipeline.rst","core/stubs/aws_ddk_core.pipelines.DataStage.rst","core/stubs/aws_ddk_core.resources.GlueFactory.rst","core/stubs/aws_ddk_core.resources.KMSFactory.rst","core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.rst","core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.rst","core/stubs/aws_ddk_core.resources.LambdaFactory.rst","core/stubs/aws_ddk_core.resources.S3Factory.rst","core/stubs/aws_ddk_core.resources.SQSFactory.rst","core/stubs/aws_ddk_core.resources.StepFunctionsFactory.rst","core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.rst","core/stubs/aws_ddk_core.stages.AthenaSQLStage.rst","core/stubs/aws_ddk_core.stages.GlueTransformStage.rst","core/stubs/aws_ddk_core.stages.KinesisToS3Stage.rst","core/stubs/aws_ddk_core.stages.S3EventStage.rst","core/stubs/aws_ddk_core.stages.SqsToLambdaStage.rst","index.rst"],objects:{"aws_ddk_core.base":[[2,0,1,"","BaseStack"]],"aws_ddk_core.base.BaseStack":[[2,1,1,"","__init__"]],"aws_ddk_core.cicd":[[3,0,1,"","CICDPipelineStack"]],"aws_ddk_core.cicd.CICDPipelineStack":[[3,1,1,"","__init__"],[3,1,1,"","add_checks"],[3,1,1,"","add_custom_stage"],[3,1,1,"","add_notifications"],[3,1,1,"","add_security_lint_stage"],[3,1,1,"","add_source_action"],[3,1,1,"","add_stage"],[3,1,1,"","add_synth_action"],[3,1,1,"","add_test_stage"],[3,1,1,"","build"],[3,1,1,"","synth"]],"aws_ddk_core.config":[[4,0,1,"","Config"],[5,0,1,"","JSONConfigStrategy"]],"aws_ddk_core.config.Config":[[4,1,1,"","__init__"],[4,1,1,"","get_cdk_version"],[4,1,1,"","get_env"],[4,1,1,"","get_env_config"],[4,1,1,"","get_resource_config"],[4,1,1,"","get_tags"]],"aws_ddk_core.config.JSONConfigStrategy":[[5,1,1,"","__init__"],[5,1,1,"","get_config"]],"aws_ddk_core.pipelines":[[6,0,1,"","DataPipeline"],[7,0,1,"","DataStage"]],"aws_ddk_core.pipelines.DataPipeline":[[6,1,1,"","__init__"],[6,1,1,"","add_notifications"],[6,1,1,"","add_rule"],[6,1,1,"","add_stage"]],"aws_ddk_core.pipelines.DataStage":[[7,1,1,"","__init__"],[7,1,1,"","add_alarm"],[7,2,1,"","cloudwatch_alarms"],[7,1,1,"","get_event_pattern"],[7,1,1,"","get_targets"]],"aws_ddk_core.resources":[[8,0,1,"","GlueFactory"],[9,0,1,"","KMSFactory"],[10,0,1,"","KinesisFirehoseFactory"],[11,0,1,"","KinesisStreamsFactory"],[12,0,1,"","LambdaFactory"],[13,0,1,"","S3Factory"],[14,0,1,"","SQSFactory"],[15,0,1,"","StepFunctionsFactory"]],"aws_ddk_core.resources.GlueFactory":[[8,1,1,"","__init__"],[8,1,1,"","job"]],"aws_ddk_core.resources.KMSFactory":[[9,1,1,"","__init__"],[9,1,1,"","key"]],"aws_ddk_core.resources.KinesisFirehoseFactory":[[10,1,1,"","__init__"],[10,1,1,"","delivery_stream"],[10,1,1,"","s3_destination"]],"aws_ddk_core.resources.KinesisStreamsFactory":[[11,1,1,"","__init__"],[11,1,1,"","data_stream"]],"aws_ddk_core.resources.LambdaFactory":[[12,1,1,"","__init__"],[12,1,1,"","function"]],"aws_ddk_core.resources.S3Factory":[[13,1,1,"","__init__"],[13,1,1,"","bucket"]],"aws_ddk_core.resources.SQSFactory":[[14,1,1,"","__init__"],[14,1,1,"","queue"]],"aws_ddk_core.resources.StepFunctionsFactory":[[15,1,1,"","__init__"],[15,1,1,"","state_machine"]],"aws_ddk_core.stages":[[16,0,1,"","AppFlowIngestionStage"],[17,0,1,"","AthenaSQLStage"],[18,0,1,"","GlueTransformStage"],[19,0,1,"","KinesisToS3Stage"],[20,0,1,"","S3EventStage"],[21,0,1,"","SqsToLambdaStage"]],"aws_ddk_core.stages.AppFlowIngestionStage":[[16,1,1,"","__init__"],[16,2,1,"","flow"],[16,1,1,"","get_event_pattern"],[16,1,1,"","get_targets"],[16,2,1,"","state_machine"]],"aws_ddk_core.stages.AthenaSQLStage":[[17,1,1,"","__init__"],[17,1,1,"","get_event_pattern"],[17,1,1,"","get_targets"],[17,2,1,"","state_machine"]],"aws_ddk_core.stages.GlueTransformStage":[[18,1,1,"","__init__"],[18,2,1,"","crawler"],[18,1,1,"","get_event_pattern"],[18,1,1,"","get_targets"],[18,2,1,"","job"],[18,2,1,"","state_machine"]],"aws_ddk_core.stages.KinesisToS3Stage":[[19,1,1,"","__init__"],[19,2,1,"","bucket"],[19,2,1,"","data_stream"],[19,2,1,"","delivery_stream"],[19,2,1,"","event_pattern"],[19,1,1,"","get_event_pattern"],[19,1,1,"","get_targets"]],"aws_ddk_core.stages.S3EventStage":[[20,1,1,"","__init__"],[20,2,1,"","event_pattern"],[20,1,1,"","get_event_pattern"],[20,1,1,"","get_targets"]],"aws_ddk_core.stages.SqsToLambdaStage":[[21,1,1,"","__init__"],[21,2,1,"","dlq"],[21,2,1,"","function"],[21,1,1,"","get_event_pattern"],[21,1,1,"","get_targets"],[21,2,1,"","queue"]],"ddk-bootstrap":[[0,3,1,"cmdoption-ddk-bootstrap-e","--environment"],[0,3,1,"cmdoption-ddk-bootstrap-i","--iam-policies"],[0,3,1,"cmdoption-ddk-bootstrap-permissions-boundary","--permissions-boundary"],[0,3,1,"cmdoption-ddk-bootstrap-prefix","--prefix"],[0,3,1,"cmdoption-ddk-bootstrap-p","--profile"],[0,3,1,"cmdoption-ddk-bootstrap-qualifier","--qualifier"],[0,3,1,"cmdoption-ddk-bootstrap-r","--region"],[0,3,1,"cmdoption-ddk-bootstrap-t","--tags"],[0,3,1,"cmdoption-ddk-bootstrap-a","--trusted-accounts"],[0,3,1,"cmdoption-ddk-bootstrap-a","-a"],[0,3,1,"cmdoption-ddk-bootstrap-e","-e"],[0,3,1,"cmdoption-ddk-bootstrap-i","-i"],[0,3,1,"cmdoption-ddk-bootstrap-p","-p"],[0,3,1,"cmdoption-ddk-bootstrap-r","-r"],[0,3,1,"cmdoption-ddk-bootstrap-t","-t"]],"ddk-create-repository":[[0,3,1,"cmdoption-ddk-create-repository-d","--description"],[0,3,1,"cmdoption-ddk-create-repository-p","--profile"],[0,3,1,"cmdoption-ddk-create-repository-r","--region"],[0,3,1,"cmdoption-ddk-create-repository-t","--tags"],[0,3,1,"cmdoption-ddk-create-repository-d","-d"],[0,3,1,"cmdoption-ddk-create-repository-p","-p"],[0,3,1,"cmdoption-ddk-create-repository-r","-r"],[0,3,1,"cmdoption-ddk-create-repository-t","-t"],[0,3,1,"cmdoption-ddk-create-repository-arg-NAME","NAME"]],"ddk-deploy":[[0,3,1,"cmdoption-ddk-deploy-f","--force"],[0,3,1,"cmdoption-ddk-deploy-o","--output-dir"],[0,3,1,"cmdoption-ddk-deploy-p","--profile"],[0,3,1,"cmdoption-ddk-deploy-require-approval","--require-approval"],[0,3,1,"cmdoption-ddk-deploy-f","-f"],[0,3,1,"cmdoption-ddk-deploy-o","-o"],[0,3,1,"cmdoption-ddk-deploy-p","-p"]],"ddk-init":[[0,3,1,"cmdoption-ddk-init-e","--environment"],[0,3,1,"cmdoption-ddk-init-generate-only","--generate-only"],[0,3,1,"cmdoption-ddk-init-t","--template"],[0,3,1,"cmdoption-ddk-init-e","-e"],[0,3,1,"cmdoption-ddk-init-t","-t"],[0,3,1,"cmdoption-ddk-init-arg-NAME","NAME"]],ddk:[[0,3,1,"cmdoption-ddk-debug","--debug"],[0,3,1,"cmdoption-ddk-debug","--no-debug"],[0,3,1,"cmdoption-ddk-version","--version"]]},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"],"2":["py","property","Python property"],"3":["std","cmdoption","program option"]},objtypes:{"0":"py:class","1":"py:method","2":"py:property","3":"std:cmdoption"},terms:{"1":[0,7,8,9,10,11,12,16,17,18,19,21],"10":21,"111111111111":0,"120":[12,21],"128":[10,19],"15":16,"1984":0,"2":[8,9,12],"222222222222":0,"256":[12,21],"3":[8,9,12],"30":9,"300":[10,19],"3600":[8,11],"5":[7,10,19,21],"60":[10,19],"900":[10,19],"abstract":7,"class":[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],"default":[0,3,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21],"function":[10,11,12,13,14,15,16,17,18,21],"int":[7,8,11,12,16,17,18,19,21],"new":[0,19],"public":13,"return":[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],"static":[8,9,10,11,12,13,14,15],"true":[0,9,10,13,19],A:[0,10,11,18,19,21],By:6,For:[6,7,8,9,10,11,12,13,14,15],If:[0,8,10,11,16,18,19],It:[3,20,21],The:[0,3,7,8,9,10,11,12,13,16,17,18,19,20,21],To:7,_:3,__init__:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],_queue:7,abil:3,abl:3,access:[11,13],access_control:13,account:[0,3,4],acl:13,action:3,add:[3,6,7,10,16,17,18,19,21],add_alarm:7,add_check:3,add_custom_stag:3,add_notif:[3,6],add_rul:6,add_security_lint_stag:3,add_source_act:3,add_stag:[3,6],add_synth_act:3,add_test_stag:3,addit:[2,3,8,9,10,11,12,13,14,15,16,17,18],additional_role_policy_stat:[16,17,18],after:[3,8,12,19,21],afterward:18,against:7,alarm:[7,16,17,18,19,21],alarm_comparison_oper:7,alarm_evaluation_period:7,alarm_id:7,alarm_metr:7,alarm_threshold:7,alia:[9,11],alloc:[8,12,21],allow:[8,9,10,11,12,13,14,15],allow_all_outbound:12,allow_public_subnet:12,alwai:[0,8,9,12],amazon:[2,3,8,9,10,11,12,13,14,15,19,20,21],amazons3:20,amount:[12,21],an:[6,7,11,16,17,18,19,20,21],ani:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],api:[3,8,9,10,11,12,13,14,15],app:3,appear:[10,19],appflow:16,appli:[0,11,13,14],applic:[2,3],approv:[0,3],ar:[0,3,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],arg:[0,2,3,6,7,16,17,18,19,20,21],argument:[0,2,8,9,12,18],arn1:0,arn2:0,arn:[0,2],artifact:3,artifactori:3,assembl:[0,3],associ:10,assum:10,athena:17,attach:0,attribut:[2,3,6,7,16,17,18,19,20,21],auto_delete_object:13,automat:11,avoid:3,aw:[0,2,3,4,8,9,10,11,12,13,14,15,19,20,21],aws_appflow:16,aws_cdk:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],aws_cloudwatch:7,aws_codestarnotif:3,aws_ddk:22,aws_ddk_cor:22,aws_ev:[6,7,16,17,18,19,20,21],aws_glu:18,aws_glue_alpha:[8,18],aws_iam:[3,8,10,12,16,17,18,21],aws_kinesi:[10,11,19],aws_kinesisfirehos:10,aws_kinesisfirehose_alpha:[10,19],aws_kinesisfirehose_destin:10,aws_kinesisfirehose_destinations_alpha:[10,19],aws_km:[9,10,11,17,19],aws_lambda:[12,21],aws_log:[10,19],aws_s3:[10,13,19],aws_sn:6,aws_sq:[12,14,21],aws_stepfunct:[15,16,17,18],aws_stepfunctions_task:17,back:10,bandit:3,base:[3,20,22],batch_siz:21,been:9,befor:[9,10,16,17,18,19,21],being:21,best:3,between:16,block:[3,13],block_public_access:13,blockpublicaccess:13,bool:[2,3,6,9,10,12,13,15,19,21],bootstrap:2,boundari:[0,2],branch:3,broaden:0,bucket:[3,10,13,14,17,19,20],bucket_nam:[13,19,20],bucket_owner_full_control:13,bucket_prop:13,bucketaccesscontrol:13,bucketencrypt:13,buffer:[10,19],buffering_interv:[10,19],buffering_s:[10,19],build:3,builder:3,call:[3,12,21],can:[3,5,11,13,21],capac:11,captur:20,catalog:17,catalog_nam:17,cd:3,cdk:[0,2,3,4,8,9,10,11,12,13,14,15],cdk_version:4,cfn:3,cfncrawler:18,cfnflow:16,chang:0,check:[3,16],choos:11,chunki:3,ci:3,cicd:22,cicdpipelin:3,cli:0,cloud:[0,3],cloud_assembly_file_set:3,cloudform:[9,11],cloudtrail:20,cloudtrail_trail:20,cloudwatch:[7,10,19],cloudwatch_alarm:7,cmk:[9,10],code:[0,3,12,21],codeartifact:3,codeartifact_domain:3,codeartifact_domain_own:3,codeartifact_repositori:3,codebuildstep:3,codecommit:3,codepipelinesourc:3,collect:18,com:[2,3,8,9,10,11,12,13,14,15,20],command:[0,3],common:[10,11,15],compar:[7,16,17,18,21],comparison:7,comparisonoper:7,complet:[8,9,10,11,12,13,14,15,19],compress:[10,19],config:[3,22],config_strategi:4,configstrategi:4,configur:[2,3,4,5,8,9,10,11,12,13,14,15,17],connect:[3,21],construct:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],constructor:3,consum:6,contain:[0,3,4,5,16,17,18],content:14,content_based_dedupl:14,continu:3,costcent:0,crawl:18,crawler:18,crawler_nam:18,crawler_rol:18,creat:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,18,19,20],creation:[6,19],credenti:0,custom:[3,6,10],cw:[16,17,18,21],d:0,dai:9,data:[6,7,10,11,16,17,18,19,21,22],data_key_reus:14,data_output_prefix:[10,19],data_stream:[11,19],data_stream_en:19,databas:[17,18],database_nam:[17,18],datastag:[6,16,17,18],dd:19,ddk:[3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21],dead:21,dead_letter_queu:[12,14],dead_letter_queue_en:[12,21],deadletterqueu:[14,21],debug:0,def:7,default_argu:8,defaultstacksynthes:2,defin:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],delet:9,deliv:[10,19],deliveri:[3,10,19],delivery_delai:14,delivery_stream:[10,19],delivery_stream_nam:[10,19],deliverystream:10,depend:[8,9,10,11,12,13,14,15],deploi:3,deploy:0,dequeu:[14,21],describ:[7,16,17,18,19,20,21],descript:[0,6,7,8,12],destin:[10,19],destination_flow_config:16,destination_prop:10,destinationflowconfigproperti:16,destinations3backupprop:10,detail:[3,7],detail_typ:7,determin:[4,12,21],dev:[0,3],devstag:3,dict:[4,16,17,18],dictionari:[4,5],differ:5,dir:0,directori:0,dlq:[12,21],doc:[2,3,8,9,10,11,12,13,14,15,20],document:[3,8,9,10,11,12,13,14,15],domain:3,durat:[8,9,10,11,12,15,16,19,21],dure:3,e:[0,3],east:0,effect:19,enabl:[12,15,19,20,21],enable_key_rot:9,enable_profiling_metr:8,encrypt:[3,9,10,11,13,14,17,19],encryption_kei:[10,11,17,19],encryption_opt:17,encryptionkei:11,encryptionopt:17,enforc:[11,13],enforce_ssl:13,ensur:3,env:[3,4],env_config:4,environ:[0,2,3,4,8,9,10,11,12,13,14,15,16,17,18,19,20,21],environment_id:[2,3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],error:[10,19,21],error_output_prefix:[10,19],evalu:[10,19],even:0,event:[3,6,7,16,17,18,19,20,21],event_bridge_en:13,event_nam:20,event_pattern:[6,7,16,17,18,19,20,21],event_target:6,eventbridg:[13,19,20],eventpattern:[6,7,16,17,18,19,20,21],exampl:[3,6,7,20],execut:[8,12,16,17,18,21],exist:6,exit:0,explicit:[8,9,12],extern:11,f:0,factori:[8,9,10,11,12,13,14,15],fail:[10,16,17,18,19],fals:[0,3,6,12,13,19,21],featur:3,file:[0,3,5,8,9,10,11,12,13,14,15],firehos:[10,11,19],firehose_prop:10,flow:16,flow_execution_status_check_period:16,flow_nam:16,fn:12,follow:[8,9,10,12,19],forc:0,form:4,framework:0,from:[0,2,3,4,5,7,8,9,10,12,13,14,21],front:19,function_nam:12,function_prop:12,g:[0,3],gener:[0,11],get:[4,5,7,16,17,18,19,20,21],get_cdk_vers:4,get_config:5,get_env:4,get_env_config:4,get_event_pattern:[7,16,17,18,19,20,21],get_resource_config:4,get_tag:4,get_target:[6,7,16,17,18,19,20,21],git:0,given:[4,5],glue:[8,18],grant:13,greater_than_threshold:7,group:[10,19],guid:2,gzip:[10,19],ha:9,handler:[12,21],have:[13,19],hh:19,hold:[10,19],hope:3,hour:11,how:4,html:[2,3,8,9,10,11,12,13,14,15,20],http:[2,3,8,9,10,11,12,13,14,15,20],i:0,ialarm:7,iam:[0,10,16,17,18],iam_polici:0,ibucket:[10,13,19],id:[0,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],idataprocessor:10,ideliverystream:[10,19],ident:0,identifi:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],idestin:10,ifilesetproduc:3,ifunct:[12,21],ijob:[8,18],ikei:[9,10,11,19],ilayervers:21,iloggroup:[10,19],imetr:7,immedi:[10,19],implement:[7,20,21],implicitli:[10,19],includ:[2,3,8,9,10,11,12,13,14,15],incom:[10,19],index:22,indic:[9,10],infer:0,infrastructur:[3,7],ingest:[16,19],inherit:[2,7],input:[7,16,17,18,19,20,21],instanc:[3,4,6],integr:3,interfac:3,invoc:21,invok:[7,10,16,17,18,19,20,21],iqueu:[12,14,21],irol:[8,10,12,18,21],iruletarget:[6,7,16,17,18,19,20,21],isecurityconfigur:8,istream:[10,11],itop:6,its:19,job:[8,18],job_arg:18,job_nam:[8,18],job_prop:8,job_rol:18,jobexecut:[8,18],json:[3,4,5,8,9,10,11,12,13,14,15],jsonconfigstrategi:4,kei:[3,5,9,10,11,14,17,19,20],key_prefix:20,key_prop:9,kind:[11,13],kinesi:[10,11,19],kinesis_delivery_stream_alarm_evaluation_period:19,kinesis_delivery_stream_alarm_threshold:19,kinesis_prop:11,km:[3,9,10,11,17,19],kms_manag:14,kwarg:[2,3,6,7,16,17,18,19,20,21],lambda:[12,21],lambda_funct:21,lambda_function_errors_alarm_evaluation_period:21,lambda_function_errors_alarm_threshold:21,latest:20,layer:21,length:[10,19],letter:21,level:[2,20],link:7,lint:3,list:[0,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],load:5,loc:3,local:0,log:[0,10,19],log_group:[10,19],loggroup:10,machin:[15,16,17,18],main:3,manag:[0,2,9,10],manual:[0,3],manual_approv:3,master:[10,11],match:[6,7,16,17,18,19,20,21],max_concurrent_run:8,max_event_ag:12,max_message_size_byt:14,max_receive_count:21,max_retri:8,maximum:[10,15,19,21],mb:[12,21],mebibyt:[10,19],memori:[12,21],memory_s:[12,21],messag:[14,21],method:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],metric:7,minimum:[10,19],mm:19,mode:11,modifi:3,modul:22,more:3,move:21,multi:2,multipl:3,must:[11,19,20,21],mutat:3,my:[3,6,7],my_glue_stag:6,my_lambda_stag:6,mypipelin:3,mystag:7,nag:3,name:[0,3,6,7,8,10,11,12,13,14,15,16,17,18,19,20,21],need:0,never:0,next:6,non:3,none:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],notif:[3,6,13,19,20],notification_rul:3,notificationrul:3,notifications_top:6,number:[7,8,9,11,14,16,17,18,21],o:0,object:[10,12,16,19,20,21],off:0,one:[6,19],onli:[0,11],oper:7,option:[0,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],order:[8,9,12,19,20],otherwis:[3,8,9,11,12],output:[0,6,7,16,17,18,19,20,21],output_bucket_nam:17,output_dir:0,output_object_kei:17,over:[7,16,17,18,21],overrid:[3,6,19],override_rul:6,owner:3,p:0,page:22,paramet:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],particular:11,path:5,pattern:[6,7,16,17,18,19,20,21],pending_window:9,perform:[0,10],period:[7,9,16,17,18,19,21],permiss:[0,2,10,13],permissions_boundari:0,permissions_boundary_arn:2,physic:11,pipelin:[3,22],pipeline_nam:3,polici:[0,2,3,13,14,16,17,18],policystat:[3,16,17,18],possibl:3,practic:3,predefin:[8,13],preexist:[18,19,20,21],prefer:[8,9,12],prefix:[0,10,19,20],previou:6,previous_stag:6,privat:3,process:21,processor:10,produc:[3,7,16,17,18,19,20,21],profil:[0,12],project:0,properti:[3,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],protect:2,provid:[0,4,10,11,19],provis:11,pull:3,pytest:3,python:[0,3,8,9,10,11,12,13,14,15],python_3_9:21,qualifi:0,queri:17,query_str:17,queue:[7,12,14,21],queue_nam:14,queue_prop:14,queueencrypt:14,r:0,rai:15,read:[4,5,10],receive_message_wait_tim:14,record:[10,11,19,21],refer:[8,9,10,11,12,13,14,15],region:[0,4,11],remain:11,remov:[9,13,14],removal_polici:[9,13,14],removalpolici:[9,13,14],repo:[0,3,4,5],repositori:3,repository_nam:3,repres:[4,6,7,16,17,18,19,20,21],request:13,requir:[0,7],require_approv:0,reserved_concurrent_execut:12,resourc:[0,4,22],respect:[8,9,12],retain:[9,13,14],retention_period:[11,14],retriev:21,retry_attempt:12,reus:3,role:[0,3,8,10,12,16,17,18,21],role_policy_stat:3,root:[4,5,20],rotat:[3,9],rout:[7,16,17,18,19,20,21],rule:[3,6,7,16,17,18,19,20,21],run:[3,8,15,16,18],runtim:[12,21],s3:[10,13,17,19,20],s3_backup:10,s3_destin:10,s3_manag:13,s3bucket:10,s:[7,16,17,18,19,20,21],save:3,scm:3,scope:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],search:22,second:[8,10,11,12,16,19,21],secur:[0,3,8],security_configur:8,see:3,select:[7,16,17,18,19,20,21],self:[3,6,7],send:[3,13,14],sensit:0,sequenc:10,server:[10,11,13],servic:[9,13,14,15],set:[0,2,3,10,11,19,21],sever:3,sfn:15,sh:3,shard:11,shard_count:11,should:[0,3,4,7,9,10,13,16,17,18,19,20,21],show:0,side:[10,11,13],simpl:[13,14],singl:21,size:[10,19],skip:6,skip_rul:6,sn:[3,6],some:3,sourc:[0,3,10,12,21],source_act:3,source_flow_config:16,source_stream:10,sourceflowconfigproperti:16,specif:[0,3,6],specifi:[3,5,6,7,9,11,13,15,16,17,18,21],sq:[7,12,14,21],sql:17,sqs_queue:21,sqsfactori:7,sqsqueue:7,ssl:[3,13],stack:[0,2,3,9,13,14],stage:[3,6,7,22],stage_id:3,stage_nam:3,start:[3,17],state:[15,16,17,18],state_machin:[15,16,17,18],state_machine_failed_executions_alarm_evaluation_period:[16,17,18],state_machine_failed_executions_alarm_threshold:[16,17,18],state_machine_input:[16,17,18],state_machine_nam:15,state_machine_prop:15,state_machine_typ:15,statemachin:[15,16,17,18],statemachinetyp:15,statement:[16,17,18],statist:7,statu:16,step:[3,15,16,17,18],storag:13,store:[11,18],str:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],strategi:4,stream:[10,11,19],stream_mod:11,stream_nam:11,streamencrypt:[10,11],streammod:11,structur:[0,3,7,16,17,18,19,20,21],suppli:[11,16,18],support:[8,9,10,11,12,13,14,15],synth:3,synth_act:3,synthes:[0,2,3],system:0,t:0,tag:[0,2,4],tag_kei:4,target:[6,7,16,17,18,19,20,21],targetsproperti:18,task:16,taskproperti:16,templat:0,termin:[2,8,12,21],termination_protect:2,test:3,thei:[14,18],them:[3,7,10,16,17,18,19,20,21],thi:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],threshold:[7,16,17,18,19,21],through:11,time:[8,10,12,14,15,16,19,21],timeout:[8,12,15,21],topic:[3,6],trace:[12,15],tracing_en:15,trail:20,transform:[10,18,19,21],trigger:[16,17,18,21],trust:0,trusted_account:0,turn:[0,13],type:[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],unencrypt:[10,11],unsuccessfulli:[14,21],up:[0,10],url:0,us:[0,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],user:3,userguid:20,usual:6,v1:[3,10,11],v2:[2,8,9,12,13,14,15],valu:[4,7,8,9,12,19],version:[0,4,13],via:[3,6,11],virtual:0,visibility_timeout:[14,21],wait:[9,16],were:14,what:[0,7,14,16,17,18,19,20,21],when:[7,8,9,10,13,14,16,17,18,19,20,21],where:[0,4,10,19],whether:[9,13,14,15],which:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],wire:6,within:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],without:0,worker:8,worker_count:8,worker_typ:8,workertyp:8,workgroup:17,write:[10,19],x:15,you:[10,11,19],your:[0,3,10,19],yyyi:19},titles:["aws_ddk package","aws_ddk_core package","aws_ddk_core.base.BaseStack","aws_ddk_core.cicd.CICDPipelineStack","aws_ddk_core.config.Config","aws_ddk_core.config.JSONConfigStrategy","aws_ddk_core.pipelines.DataPipeline","aws_ddk_core.pipelines.DataStage","aws_ddk_core.resources.GlueFactory","aws_ddk_core.resources.KMSFactory","aws_ddk_core.resources.KinesisFirehoseFactory","aws_ddk_core.resources.KinesisStreamsFactory","aws_ddk_core.resources.LambdaFactory","aws_ddk_core.resources.S3Factory","aws_ddk_core.resources.SQSFactory","aws_ddk_core.resources.StepFunctionsFactory","aws_ddk_core.stages.AppFlowIngestionStage","aws_ddk_core.stages.AthenaSQLStage","aws_ddk_core.stages.GlueTransformStage","aws_ddk_core.stages.KinesisToS3Stage","aws_ddk_core.stages.S3EventStage","aws_ddk_core.stages.SqsToLambdaStage","AWS DDK API Documentation"],titleterms:{api:22,appflowingestionstag:16,athenasqlstag:17,aw:22,aws_ddk:0,aws_ddk_cor:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],base:[1,2],basestack:2,bootstrap:0,cicd:[1,3],cicdpipelinestack:3,config:[1,4,5],creat:0,data:1,datapipelin:6,datastag:7,ddk:[0,22],deploi:0,document:22,gluefactori:8,gluetransformstag:18,indic:22,init:0,jsonconfigstrategi:5,kinesisfirehosefactori:10,kinesisstreamsfactori:11,kinesistos3stag:19,kmsfactori:9,lambdafactori:12,packag:[0,1,22],pipelin:[1,6,7],repositori:0,resourc:[1,8,9,10,11,12,13,14,15],s3eventstag:20,s3factori:13,sqsfactori:14,sqstolambdastag:21,stage:[1,16,17,18,19,20,21],stepfunctionsfactori:15,tabl:22}}) \ No newline at end of file diff --git a/release/0.3.0/how-to/custom-stage.html b/release/0.3.0/how-to/custom-stage.html new file mode 100644 index 00000000..926eeb40 --- /dev/null +++ b/release/0.3.0/how-to/custom-stage.html @@ -0,0 +1,197 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ +

I’ll write a file to my application stack package called sns.py.

+ +
from typing import Any, Dict, List, Optional
+
+from aws_cdk.aws_events import EventPattern, IRuleTarget
+from aws_cdk.aws_events_targets import SnsTopic
+from aws_cdk.aws_sns import Topic, ITopic
+from aws_cdk.aws_kms import Key
+from aws_ddk_core.pipelines import DataStage # importing DataStage class for ddk core
+from constructs import Construct
+
+
+class SNSStage(DataStage):
+    """
+    Class that represents a SNS DDK Stage.
+    """
+
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+        **kwargs: Any,
+    ) -> None:
+        """
+        DDK SNS stage.
+        """
+        super().__init__(scope, id, **kwargs)
+
+        self._event_detail_type: str = f"{id}-event-type"
+
+        # create topic
+        self._topic = Topic(
+            self, f"{id}-topic"
+        )
+
+    @property
+    def topic(self) -> ITopic:
+        """
+        Return: Topic
+            The SNS Topic
+        """
+        return self._topic
+
+    # method to retrieve Event Pattern
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=[self._event_detail_type],
+        )
+
+    # methord to retrieve Event Rule Target
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SnsTopic(self._topic)]
+
+
+ +

Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

+ +
.....
+from ddk_app.sns import SNSStage # import my class I built above
+
+
+class DDKApplicationStack(BaseStack):
+    def __init__(
+        self, scope: Construct, id: str, environment_id: str, **kwargs: Any
+    ) -> None:
+        super().__init__(scope, id, environment_id, **kwargs)
+
+        # create my bucket
+        ddk_bucket = S3Factory.bucket(
+            self,
+            "ddk-bucket",
+            environment_id,
+        )
+        
+        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
+        s3_event_stage = S3EventStage(
+            scope=self,
+            id="ddk-s3-event",
+            environment_id=environment_id,
+            event_names=["CopyObject", "PutObject"],
+            bucket_name=ddk_bucket.bucket_name,
+            key_prefix="raw",
+        )
+
+        # instantiate my sns stage class
+        sns_stage = SNSStage(
+            scope=self,
+            id="ddk-sns",
+            environment_id=environment_id,
+        )
+
+        # construct my DataPipeline
+        (
+            DataPipeline(scope=self, id="ddk-pipeline")
+                .add_stage(s3_event_stage)
+                .add_stage(sns_stage)
+        )    
+
+ +

Build

+

Use ddk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.3.0/how-to/index.html b/release/0.3.0/how-to/index.html new file mode 100644 index 00000000..934d3dfa --- /dev/null +++ b/release/0.3.0/how-to/index.html @@ -0,0 +1,1829 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.3.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.3.0/how-to/multi-account-deployment.html b/release/0.3.0/how-to/multi-account-deployment.html new file mode 100644 index 00000000..062881ae --- /dev/null +++ b/release/0.3.0/how-to/multi-account-deployment.html @@ -0,0 +1,188 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

ddk bootstrap allows us to setup cross-account access for a DDK account.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: ddk bootstrap -e cicd -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: ddk bootstrap -e dev -p ${DEV_AWS_PROFILE} -a 111111111111
  • +
  • [test]: ddk bootstrap -e test -p ${TEST_AWS_PROFILE} -a 111111111111
  • +
+ +

The dev & test environments are bootstrapped with -a 111111111111 to setup the required cross account access for the cicd account to manage resources within them.

+ +

Configuration

+

ddk.json must be configured with all your accounts.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ +

app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

+ +
#!/usr/bin/env python3
+
+import aws_cdk as cdk
+from aws_ddk_core.cicd import CICDPipelineStack
+from ddk_app.ddk_app_stack import DDKApplicationStack
+from aws_ddk_core.config import Config
+
+
+app = cdk.App()
+
+
+class ApplicationStage(cdk.Stage):
+    def __init__(
+        self,
+        scope,
+        environment_id: str,
+        **kwargs,
+    ) -> None:
+        super().__init__(scope, f"Ddk{environment_id.title()}Application", **kwargs)
+        DDKApplicationStack(self, "DataPipeline", environment_id)
+
+
+config = Config()
+(
+    CICDPipelineStack(
+        app,
+        id="DdkCodePipeline",
+        environment_id="cicd",
+        pipeline_name="ddk-application-pipeline",
+    )
+    .add_source_action(repository_name="ddk-repository")
+    .add_synth_action()
+    .build()
+    .add_stage("dev", ApplicationStage(app, "dev", env=config.get_env("dev")))
+    .add_stage("test", ApplicationStage(app, "test", env=config.get_env("test")))
+    .synth()
+)
+
+app.synth()
+
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
ddk create-repository ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running ddk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment. +Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.3.0/how-to/spend-first-hour.html b/release/0.3.0/how-to/spend-first-hour.html new file mode 100644 index 00000000..91714626 --- /dev/null +++ b/release/0.3.0/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.3.0/how-to/understand-concepts.html b/release/0.3.0/how-to/understand-concepts.html new file mode 100644 index 00000000..9ab108c5 --- /dev/null +++ b/release/0.3.0/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK over the AWS CDK?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.3.0/index.html b/release/0.3.0/index.html new file mode 100644 index 00000000..a0ae6900 --- /dev/null +++ b/release/0.3.0/index.html @@ -0,0 +1,1835 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.3.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.4.0/api/_static/basic.css b/release/0.4.0/api/_static/basic.css new file mode 100644 index 00000000..bf18350b --- /dev/null +++ b/release/0.4.0/api/_static/basic.css @@ -0,0 +1,906 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 450px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a.brackets:before, +span.brackets > a:before{ + content: "["; +} + +a.brackets:after, +span.brackets > a:after { + content: "]"; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +dl.footnote > dt, +dl.citation > dt { + float: left; + margin-right: 0.5em; +} + +dl.footnote > dd, +dl.citation > dd { + margin-bottom: 0em; +} + +dl.footnote > dd:after, +dl.citation > dd:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dt:after { + content: ":"; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/release/0.4.0/api/_static/doctools.js b/release/0.4.0/api/_static/doctools.js new file mode 100644 index 00000000..e509e483 --- /dev/null +++ b/release/0.4.0/api/_static/doctools.js @@ -0,0 +1,326 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated === 'undefined') + return string; + return (typeof translated === 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated === 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) === 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this === '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keydown(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box, textarea, dropdown or button + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' + && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey + && !event.shiftKey) { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + break; + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + break; + } + } + }); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/release/0.4.0/api/_static/documentation_options.js b/release/0.4.0/api/_static/documentation_options.js new file mode 100644 index 00000000..b6159af3 --- /dev/null +++ b/release/0.4.0/api/_static/documentation_options.js @@ -0,0 +1,12 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: '0.4.0', + LANGUAGE: 'None', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false +}; \ No newline at end of file diff --git a/release/0.4.0/api/_static/file.png b/release/0.4.0/api/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/release/0.4.0/api/_static/jquery-3.5.1.js b/release/0.4.0/api/_static/jquery-3.5.1.js new file mode 100644 index 00000000..50937333 --- /dev/null +++ b/release/0.4.0/api/_static/jquery-3.5.1.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk package

+
+

ddk

+

AWS DDK CLI.

+
ddk [OPTIONS] COMMAND [ARGS]...
+
+
+

Options

+
+
+--version
+

Show the version and exit.

+
+
+
+--debug, --no-debug
+

Turn debug logging on/off.

+
+
Default
+

False

+
+
+
+
+

bootstrap

+

Bootstrap the AWS account with DDK resources.

+
ddk bootstrap [OPTIONS]
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+--prefix <prefix>
+

The prefix to resource names.

+
+
Default
+

ddk

+
+
+
+
+
+--qualifier <qualifier>
+

The CDK bootstrap qualifier.

+
+
+
+-a, --trusted-accounts <trusted_accounts>
+

List of trusted AWS accounts to perform deployments (e.g. -a 111111111111 -a 222222222222).

+
+
+
+-i, --iam-policies <iam_policies>
+

List of IAM managed policy ARNs that should be attached to the role performing deployments. +(e.g. -i arn1 -i arn2)

+
+
+
+--permissions-boundary <permissions_boundary>
+

IAM managed permissions boundary policy ARN that should be attached to the role performing deployments.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the stack (e.g -t CostCenter 1984 -t Framework DDK).

+
+
+
+

create-repository

+
+

Create a code repository from the source system provider.

+

NAME is the name of the repository.

+
+
ddk create-repository [OPTIONS] NAME
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+-d, --description <description>
+

The description of the repository.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the repository (e.g -t CostCenter 1984 -t Framework DDK).

+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+

deploy

+

Deploy DDK stacks to AWS account.

+
ddk deploy [OPTIONS]
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+--require-approval <require_approval>
+

What security-sensitive changes need manual approval.

+
+
Options
+

never | any-change | broadening

+
+
+
+
+
+-f, --force
+

Always deploy stack even if templates are identical.

+
+
+
+-o, --output-dir <output_dir>
+

Directory where cloud assembly is synthesized.

+
+
+
+

init

+
+

Create the local structure for a new AWS DDK Python project.

+

NAME is the name of the project.

+
+
ddk init [OPTIONS] NAME
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-t, --template <template>
+

A directory containing a project template directory, or a URL to a git repository

+
+
+
+--generate-only
+

If true, only generates project files, without setting up a git repo or a virtual environment

+
+
Default
+

False

+
+
+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/aws_ddk_core.html b/release/0.4.0/api/core/aws_ddk_core.html new file mode 100644 index 00000000..99952c51 --- /dev/null +++ b/release/0.4.0/api/core/aws_ddk_core.html @@ -0,0 +1,442 @@ + + + + + + + + + aws_ddk_core package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core package

+ +
+

Base

+
++++ + + + + + +

BaseStack(*args, **kwargs)

Base Stack to inherit from.

+
+
+

CICD

+
++++ + + + + + +

CICDPipelineStack(*args, **kwargs)

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+
+
+

Config

+
++++ + + + + + + + + +

Config([config_strategy])

Class used to read configuration with a configurable strategy.

JSONConfigStrategy([path])

Read config from ddk.json in the root of the repo.

+
+
+

Data Pipelines

+
++++ + + + + + + + + + + + + + + +

DataPipeline(*args, **kwargs)

Class that represents a data pipeline.

DataStage(*args, **kwargs)

Class that represents a data stage within a data pipeline.

EventStage(*args, **kwargs)

Class that represents an event stage within a data pipeline.

StateMachineStage(*args, **kwargs)

DataStage with helper methods to simplify StateMachine stages creation.

+
+
+

Resources

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

DMSFactory()

Class factory create and configure DMS DDK resources, including endpoints, replication tasks and replication instances.

GlueFactory()

Class factory to create and configure Glue DDK resources, including Jobs.

KinesisFirehoseFactory()

Class factory create and configure Kinesis DDK resources, including Delivery Streams.

KinesisStreamsFactory()

Class factory create and configure Kinesis DDK resources, including Data Streams.

KMSFactory()

Class factory to create and configure Key Management Service DDK resources, including Keys.

LambdaFactory()

Class factory to create and configure Lambda DDK resources, including Functions.

S3Factory()

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

SQSFactory()

Class factory create and configure Simple Queue Service DDK resources, including Queues.

StepFunctionsFactory()

Class factory create and configure AWS Step Functions Service DDK resources, including State Machines.

+
+
+

Data Stages

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

AppFlowIngestionStage(*args, **kwargs)

Class that represents an AppFlow DDK DataStage.

AthenaSQLStage(*args, **kwargs)

Class that represents a Athena SQL DDK DataStage.

DMSS3ToS3Stage(*args, **kwargs)

Class that represents a DMS to S3 to S3 Replication DDK Stage.

GlueTransformStage(*args, **kwargs)

Class that represents a Glue Transform DDK DataStage.

KinesisToS3Stage(*args, **kwargs)

Class that represents a Firehose to S3 Ingestion DDK Stage.

S3EventStage(*args, **kwargs)

Class that represents an S3 Event DDK Stage.

SqsToLambdaStage(*args, **kwargs)

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.base.BaseStack.html b/release/0.4.0/api/core/stubs/aws_ddk_core.base.BaseStack.html new file mode 100644 index 00000000..6d322f09 --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.base.BaseStack.html @@ -0,0 +1,437 @@ + + + + + + + + + aws_ddk_core.base.BaseStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.base.BaseStack

+
+
+class aws_ddk_core.base.BaseStack(*args: Any, **kwargs)
+

Base Stack to inherit from.

+

Includes configurable termination protection, synthesizer, permissions boundary and tags.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, termination_protection: Optional[bool] = None, permissions_boundary_arn: Optional[str] = None, synthesizer: Optional[aws_cdk.DefaultStackSynthesizer] = None, **kwargs: Any) None
+

Create a stack.

+

Includes termination protection settings, multi-level (application, environment, and stack-level) tags, +and permissions boundary.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stack

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • termination_protection (str) – Stack termination protection

  • +
  • permissions_boundary_arn (Optional[str]) – ARN of the permissions boundary managed policy

  • +
  • synthesizer (Optional[DefaultStackSynthesizer]) – CDK synthesizer configuration +https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html#bootstrapping-synthesizers

  • +
  • kwargs (Any) – Additional arguments

  • +
  • Configuration (Supported DDK Environment) –

  • +
  • https (//awslabs.github.io/aws-ddk/release/latest/how-to/ddk-configuration.html) –

  • +
  • ----------

  • +
  • prefix (str) – Prefix for stack identifier.

  • +
  • qualifier (str) – Qualifier to disambiguate multiple environments in the same account. +You can use this and leave the other naming properties empty if you +have deployed the bootstrap environment with standard names but only differnet qualifiers

  • +
  • termination_protection – If this value is set, stack termination protection will be enabled.

  • +
  • tags (Dict[str, str]) – Tag key/value pairs.

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Create a stack.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_transform(transform)

Add a Transform to this stack.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

bundling_required

Indicates whether the stack requires bundling or not.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html b/release/0.4.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html new file mode 100644 index 00000000..6a64e86b --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html @@ -0,0 +1,670 @@ + + + + + + + + + aws_ddk_core.cicd.CICDPipelineStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.cicd.CICDPipelineStack

+
+
+class aws_ddk_core.cicd.CICDPipelineStack(*args: Any, **kwargs)
+

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+

The pipeline is based on CDK self-mutating pipeline but includes +several DDK-specific features, including:

+
    +
  • Ability to configure some properties via JSON config e.g. manual approvals for application stages

  • +
  • Defaults for source/synth - CodeCommit & cdk synth, with ability to override them

  • +
  • Ability to connect to private artifactory to pull artifacts from at synth

  • +
  • Security best practices - ensures pipeline buckets block non-SSL, and are KMS-encrypted with rotated keys

  • +
  • Builder interface to avoid chunky constructor methods

  • +
+

The user should be able to reuse the pipeline in multiple DDK applications hoping to save LOC.

+

Example:

+
pipeline = (
+    CICDPipelineStack(
+        app,
+        id="my-pipeline",
+        environment_id="cicd",
+        pipeline_name="MyPipeline",
+    )
+    .add_source_action(repository_name="my-repo")
+    .add_synth_action()
+    .build()
+    .add_checks()
+    .add_stage("dev", DevStage(app, "dev"))
+    .synth()
+    .add_notifications()
+)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, pipeline_name: Optional[str] = None, env: Optional[aws_cdk.Environment] = None, **kwargs: Any) None
+

Start building Code Pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • environment_id (str) – Identifier of the environment that will contain the pipeline

  • +
  • pipeline_name (Optional[str]) – Name of the pipeline

  • +
  • env (Optional[Environment]) – Environment

  • +
  • kwargs (Any) – Additional args

  • +
  • Configuration (Supported DDK Environment) –

  • +
  • https (//awslabs.github.io/aws-ddk/release/latest/how-to/ddk-configuration.html) –

  • +
  • ----------

  • +
  • cdk_version (str) – Version of the AWS CDK to use in the deployment pipeline.

  • +
  • repository (str) – Name of the CodeArtifact repository to pull artifacts from.

  • +
  • domain (str) – Name of the CodeArtifact domain.

  • +
  • domain_owner (str) – CodeArtifact domain owner account.

  • +
  • manual_approvals (str) – Configure manual approvals if this parameter is set.

  • +
  • notifications_topic_arn (str) – Existing SNS topic arn to use for pipeline notifications.

  • +
  • execute_security_lint (str) – Configure security lint stage of pipeline if this parameter is set.

  • +
  • execute_tests (str) – Configure tests stage of pipeline if this parameter is set.

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Start building Code Pipeline.

add_checks()

Add checks to the pipeline (e.g.

add_custom_stage(stage_name, steps)

Add custom stage to the pipeline.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_notifications([notification_rule])

Add pipeline notifications.

add_security_lint_stage([stage_name, ...])

Add linting - cfn-nag, and bandit.

add_source_action([repository_name, branch, ...])

Add source action.

add_stage(stage_id, stage[, manual_approvals])

Add application stage to the CICD pipeline.

add_synth_action([codeartifact_repository, ...])

Add synth action.

add_test_stage([stage_name, ...])

Add test - e.g.

add_transform(transform)

Add a Transform to this stack.

build()

Build the pipeline structure.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

synth()

Synthesize the pipeline.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

bundling_required

Indicates whether the stack requires bundling or not.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+add_checks() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add checks to the pipeline (e.g. linting, security, tests…).

+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_custom_stage(stage_name: str, steps: List[aws_cdk.pipelines.Step]) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add custom stage to the pipeline.

+
+
Parameters
+
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_notifications(notification_rule: Optional[aws_cdk.aws_codestarnotifications.NotificationRule] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add pipeline notifications. Create notification rule that sends events to the specified SNS topic.

+
+
Parameters
+

notification_rule (Optional[NotificationRule]) – Override notification rule

+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_security_lint_stage(stage_name: Optional[str] = None, cloud_assembly_file_set: Optional[aws_cdk.pipelines.IFileSetProducer] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add linting - cfn-nag, and bandit.

+
+
Parameters
+
    +
  • stage_name (Optional[str]) – Name of the stage

  • +
  • cloud_assembly_file_set (Optional[IFileSetProducer]) – Cloud assembly file set producer

  • +
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_source_action(repository_name: Optional[str] = None, branch: str = 'main', source_action: Optional[aws_cdk.pipelines.CodePipelineSource] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add source action.

+
+
Parameters
+
    +
  • repository_name (Optional[str]) – Name of the SCM repository

  • +
  • branch (str) – Branch of the SCM repository

  • +
  • source_action (Optional[CodePipelineSource]) – Override source action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_stage(stage_id: str, stage: aws_cdk.Stage, manual_approvals: Optional[bool] = False) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add application stage to the CICD pipeline. This stage deploys your application infrastructure.

+
+
Parameters
+
    +
  • stage_id (str) – Identifier of the stage

  • +
  • stage (Stage) – Application stage instance

  • +
  • manual_approvals (Optional[bool]) – Configure manual approvals. False by default

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_synth_action(codeartifact_repository: Optional[str] = None, codeartifact_domain: Optional[str] = None, codeartifact_domain_owner: Optional[str] = None, role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, synth_action: Optional[aws_cdk.pipelines.CodeBuildStep] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add synth action. During synth can connect and pull artifacts from a private artifactory.

+
+
Parameters
+
    +
  • codeartifact_repository (Optional[str]) – Name of the CodeArtifact repository to pull artifacts from

  • +
  • codeartifact_domain (Optional[str]) – Name of the CodeArtifact domain

  • +
  • codeartifact_domain_owner (Optional[str]) – CodeArtifact domain owner account

  • +
  • role_policy_statements (Optional[List[PolicyStatement]]) – Additional policies to add to the synth action role

  • +
  • synth_action (Optional[CodeBuildStep]) – Override synth action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_test_stage(stage_name: Optional[str] = None, cloud_assembly_file_set: Optional[aws_cdk.pipelines.IFileSetProducer] = None, commands: Optional[List[str]] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add test - e.g. pytest.

+
+
Parameters
+
    +
  • stage_name (Optional[str]) – Name of the stage

  • +
  • cloud_assembly_file_set (Optional[IFileSetProducer]) – Cloud assembly file set

  • +
  • commands (Optional[List[str]]) – Additional commands to run in the test. Defaults to “./test.sh” otherwise

  • +
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+build() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Build the pipeline structure.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+synth() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Synthesize the pipeline.

+

It is not possible to modify the pipeline after calling this method.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.config.Config.html b/release/0.4.0/api/core/stubs/aws_ddk_core.config.Config.html new file mode 100644 index 00000000..c3517ebf --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.config.Config.html @@ -0,0 +1,393 @@ + + + + + + + + + aws_ddk_core.config.Config - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.Config

+
+
+class aws_ddk_core.config.Config(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None)
+

Class used to read configuration with a configurable strategy.

+
+
+__init__(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None) None
+

Create Config class instance.

+

Provide ConfigStrategy to determine how/where the config should be read from. +Reads from cdk.json in the root of the repo by default.

+
+
Parameters
+

config_strategy (Optional[ConfigStrategy]) – Strategy that determines how and where to read config from. JSONConfigStrategy by default

+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__([config_strategy])

Create Config class instance.

get_cdk_version()

Return CDK version.

get_env(environment_id)

Get environment representing AWS account and region.

get_env_config(environment_id)

Get environment config.

get_resource_config(environment_id, id)

Get resource config of the resource with given id in the environment with the given environment id.

get_tags()

Return tags.

+
+
+get_cdk_version() Optional[str]
+

Return CDK version.

+
+
Returns
+

cdk_version – CDK version

+
+
Return type
+

Optional[str]

+
+
+
+
+
+get_env(environment_id: str) aws_cdk.Environment
+

Get environment representing AWS account and region.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env – CDK Environment(account, region)

+
+
Return type
+

Environment

+
+
+
+
+
+get_env_config(environment_id: str) Dict[str, Any]
+

Get environment config.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env_config – Dictionary that contains config for the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_resource_config(environment_id: str, id: str) Dict[str, Any]
+

Get resource config of the resource with given id in the environment with the given environment id.

+
+
Parameters
+
    +
  • environment_id (str) – Identifier of the environment

  • +
  • id (str) – Identifier of the resource

  • +
+
+
Returns
+

config – Dictionary that contains config for the given resource in the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_tags() Dict[str, str]
+

Return tags.

+
+
Returns
+

tags – Dict of a form {‘tag_key’: ‘value’}

+
+
Return type
+

Dict[str, str]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html b/release/0.4.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html new file mode 100644 index 00000000..e46d8fd2 --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html @@ -0,0 +1,319 @@ + + + + + + + + + aws_ddk_core.config.JSONConfigStrategy - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.JSONConfigStrategy

+
+
+class aws_ddk_core.config.JSONConfigStrategy(path: str = './ddk.json')
+

Read config from ddk.json in the root of the repo.

+

Can be used to read from any JSON file by specifying a different path.

+
+
+__init__(path: str = './ddk.json') None
+

Load the JSON file in the given path.

+
+
Parameters
+

path (str) – Path to the JSON config, ‘./ddk.json’ by default

+
+
+
+

Methods

+
++++ + + + + + + + + +

__init__([path])

Load the JSON file in the given path.

get_config(key)

Get config by key.

+
+
+get_config(key: str) Any
+

Get config by key.

+
+
Parameters
+

key (str) – Key

+
+
Returns
+

config – Dictionary that contains the configuration

+
+
Return type
+

Any

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html b/release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html new file mode 100644 index 00000000..0e8a5cfb --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html @@ -0,0 +1,395 @@ + + + + + + + + + aws_ddk_core.pipelines.DataPipeline - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.DataPipeline

+
+
+class aws_ddk_core.pipelines.DataPipeline(*args: Any, **kwargs)
+

Class that represents a data pipeline. Used to wire stages via Event Rules. For example:

+
DataPipeline(self, id, description="My pipeline")
+    .add_stage(my_lambda_stage)
+    .add_stage(my_glue_stage)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a data pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • name (Optional[str]) – Name of the pipeline

  • +
  • description (Optional[str]) – Description of the pipeline

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a data pipeline.

add_notifications([notifications_topic])

Create a rule that matches specificed event pattern with the specified target.

add_rule([id, event_pattern, event_targets, ...])

Create a rule that matches specificed event pattern with the specified target.

add_stage(stage[, skip_rule, override_rule])

Add a stage to the data pipeline.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+add_notifications(notifications_topic: Optional[aws_cdk.aws_sns.ITopic] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+

notifications_topic (Optional[ITopic]) – Existing SNS Topic to consume notifications with.

+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+add_rule(id: Optional[str] = None, event_pattern: Optional[aws_cdk.aws_events.EventPattern] = None, event_targets: Optional[List[aws_cdk.aws_events.IRuleTarget]] = None, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+
    +
  • id (Optional[str]) – Identifier of the rule

  • +
  • event_pattern (Optional[EventPattern]) – Event pattern of the rule

  • +
  • event_targets (Optional[List[IRuleTarget]]) – Target of the rule - usually previous_stage.get_targets()

  • +
  • override_rule (Optional[Rule]) – Custom rule

  • +
+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+add_stage(stage: aws_ddk_core.pipelines.stage.DataStage, skip_rule: bool = False, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Add a stage to the data pipeline.

+

By default, creates an Event Rule that matches output event pattern of the previous stage +with targets of the next one.

+
+
Parameters
+
    +
  • stage (DataStage) – Stage instance

  • +
  • skip_rule (bool) – Skip creation of the default rule

  • +
  • override_rule (Optional[Rule]) – Override the default rule by the rule specified in this parameter

  • +
+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html b/release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html new file mode 100644 index 00000000..52487f71 --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html @@ -0,0 +1,396 @@ + + + + + + + + + aws_ddk_core.pipelines.DataStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.DataStage

+
+
+class aws_ddk_core.pipelines.DataStage(*args: Any, **kwargs)
+

Class that represents a data stage within a data pipeline.

+

To create a DataStage, inherit from this class, add infrastructure required by the stage, and implement +get_event_pattern and get_targets methods. For example:

+
class MyStage(DataStage):
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+    ) -> None:
+        super().__init__(scope, id)
+
+        # Define stage infrastructure, for example a queue
+        self._queue = SQSFactory.queue(
+            self,
+            id,
+            environment_id,
+        )
+
+    @property
+    def queue(self) -> Queue:
+        '''
+        Return: Queue
+            The SQS queue
+        '''
+        return self._queue
+
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=["my-detail-type"],
+        )
+
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SqsQueue(self._queue)]
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

+
+
+add_alarm(alarm_id: str, alarm_metric: aws_cdk.aws_cloudwatch.IMetric, alarm_comparison_operator: Optional[aws_cdk.aws_cloudwatch.ComparisonOperator] = ComparisonOperator.GREATER_THAN_THRESHOLD, alarm_evaluation_periods: Optional[int] = 1, alarm_threshold: Optional[int] = 5) aws_ddk_core.pipelines.stage.DataStage
+

Add a CloudWatch alarm for the Data Stage

+
+
Parameters
+
    +
  • alarm_id (str) – Identifier of the CloudWatch Alarm.

  • +
  • alarm_metric (IMetric) – Metric to use for creating the Stage’s CloudWatch Alarm.

  • +
  • alarm_comparison_operator (Optional[ComparisonOperator]) – Comparison operator to use for alarm. GREATER_THAN_THRESHOLD by default.

  • +
  • alarm_threshold (Optional[int]) – The value against which the specified alarm statistic is compared. 5 by default.

  • +
  • alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. 1 by default.

  • +
+
+
+
+
+
+property cloudwatch_alarms: List[Optional[aws_cdk.aws_cloudwatch.IAlarm]]
+

List[Alarm] +List of CloudWatch Alarms linked to the stage

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.EventStage.html b/release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.EventStage.html new file mode 100644 index 00000000..ced82533 --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.EventStage.html @@ -0,0 +1,368 @@ + + + + + + + + + aws_ddk_core.pipelines.EventStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.EventStage

+
+
+class aws_ddk_core.pipelines.EventStage(*args: Any, **kwargs)
+

Class that represents an event stage within a data pipeline.

+

To create an EventStage, inherit from this class, add infrastructure required by the stage, and implement +get_event_pattern method. For example:

+
class MyStage(EventStage):
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+    ) -> None:
+        super().__init__(scope, id)
+
+        # Define stage infrastructure, for example an S3 event pattern
+        self._event_pattern = EventPattern(
+            source=["aws.s3"],
+            detail=detail,
+            detail_type=event_names,
+        )
+
+    @property
+    def event_pattern(self) -> EventPattern:
+        return self._event_pattern
+
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return self._event_pattern
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html b/release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html new file mode 100644 index 00000000..453fd046 --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html @@ -0,0 +1,398 @@ + + + + + + + + + aws_ddk_core.pipelines.StateMachineStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.StateMachineStage

+
+
+class aws_ddk_core.pipelines.StateMachineStage(*args: Any, **kwargs)
+

DataStage with helper methods to simplify StateMachine stages creation.

+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

state_machine

StateMachine The state machine

+
+
+build_state_machine(id: str, environment_id: str, definition: Optional[aws_cdk.aws_stepfunctions.IChainable], state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

Build state machine.

+
+
Parameters
+
    +
  • id (str) – Identifier of the state machine

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • definition (Optional[IChainable]) – State machine definition

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property state_machine: aws_cdk.aws_stepfunctions.StateMachine
+

StateMachine +The state machine

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.resources.DMSFactory.html b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.DMSFactory.html new file mode 100644 index 00000000..9bf51529 --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.DMSFactory.html @@ -0,0 +1,471 @@ + + + + + + + + + aws_ddk_core.resources.DMSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.DMSFactory

+
+
+class aws_ddk_core.resources.DMSFactory
+

Class factory create and configure DMS DDK resources, +including endpoints, replication tasks and replication instances.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__()

endpoint(scope, id, environment_id, ...)

Create and configure DMS endpoint.

endpoint_settings_s3(scope, id, ...[, ...])

Create and configure DMS endpoint settings for s3.

replication_instance(scope, id, ...[, ...])

Create and configure DMS replication instance.

replication_task(scope, id, environment_id, ...)

Create and configure DMS replication task.

+
+
+static endpoint(scope: constructs.Construct, id: str, environment_id: str, endpoint_type: str, engine_name: str, s3_settings: Optional[aws_cdk.aws_dms.CfnEndpoint.S3SettingsProperty], **endpoint_props: Any) aws_cdk.aws_dms.CfnEndpoint
+

Create and configure DMS endpoint.

+

This construct allows to configure parameters of the dms endpoint using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: …

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • endpoint_type (str) – The type of endpoint. Valid values are source and target.

  • +
  • engine_name (str) – The type of engine for the endpoint, depending on the EndpointType value. +Valid values : mysql | oracle | postgres | mariadb | aurora | aurora-postgresql +| opensearch | redshift | s3 | db2 | azuredb | sybase | dynamodb | mongodb +| kinesis | kafka | elasticsearch | docdb | sqlserver | neptune

  • +
  • s3_settings (Union[dms.S3SettingsProperty, None]) – Settings in JSON format for the source and target Amazon S3 endpoint. +For more information about other available settings, see +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_dms/CfnEndpoint.html#s3settingsproperty

  • +
  • **endpoint_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnEndpoint.html

  • +
+
+
Returns
+

dms.CfnEndpoint – A DMS Endpoint

+
+
Return type
+

dms.CfnEndpoint

+
+
+
+
+
+static endpoint_settings_s3(scope: constructs.Construct, id: str, environment_id: str, bucket_name: str, bucket_folder: Optional[str] = None, service_access_role_arn: Optional[str] = None, external_table_definition: Optional[str] = None, enable_statistics: Optional[bool] = None, max_file_size: Optional[int] = None, **endpoint_s3_props: Any) aws_cdk.aws_dms.CfnEndpoint.S3SettingsProperty
+

Create and configure DMS endpoint settings for s3.

+

This construct allows to configure parameters of the dms endpoint using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: enable_statistics and max_file_size

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket_name (str) – The name of the S3 bucket.

  • +
  • bucket_folder (Optional[str]) – An optional parameter to set a folder name in the S3 bucket. +If provided, tables are created in the path bucketFolder / schema_name / table_name / . +If this parameter isn’t specified, the path used is schema_name / table_name / .

  • +
  • service_access_role_arn (Optional[str]) – An IAM role that should be able to access the specified bucket. +If no bucket is specified a role with required permissions will +be created for you.

  • +
  • external_table_definition (Optional[str]) – The external table definition. +Conditional: If S3 is used as a source then ExternalTableDefinition is required.

  • +
  • enable_statistics (Optional[bool]) – A value that enables statistics for Parquet pages and row groups. +Choose true to enable statistics, false to disable. +Statistics include NULL , DISTINCT , MAX , and MIN values. +This parameter defaults to true . +This value is used for .parquet file format only.

  • +
  • max_file_size (Optional[int]) – A value that specifies the maximum size (in KB) of any .csv file to be created +while migrating to an S3 target during full load

  • +
  • **endpoint_settings_s3_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnEndpoint.html#s3settingsproperty

  • +
+
+
Returns
+

dms.CfnEndpoint.S3SettingsProperty – DMS Endpoint Settings for S3

+
+
Return type
+

dms.CfnEndpoint.S3SettingsProperty:

+
+
+
+
+
+static replication_instance(scope: constructs.Construct, id: str, environment_id: str, replication_instance_class: str, allocated_storage: Optional[str] = None, allow_major_version_upgrade: Optional[bool] = False, auto_minor_version_upgrade: Optional[bool] = False, availability_zone: Optional[str] = None, engine_version: Optional[str] = None, kms_key_id: Optional[str] = None, multi_az: Optional[bool] = False, preferred_maintenance_window: Optional[str] = None, publicly_accessible: Optional[bool] = False, replication_instance_identifier: Optional[str] = None, replication_subnet_group_identifier: Optional[str] = None, resource_identifier: Optional[str] = None, vpc_security_group_ids: Optional[List[str]] = None, **replication_instance_props: Any) aws_cdk.aws_dms.CfnReplicationInstance
+

Create and configure DMS replication instance.

+

This construct allows to configure parameters of the dms replication instance using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: …

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • replication_instance_class (str) – The compute and memory capacity of the replication instance +as defined for the specified replication instance class.

  • +
  • allocated_storage (Optional[str]) – The amount of storage (in gigabytes) to be initially allocated for the replication instance.

  • +
  • allow_major_version_upgrade (Optional[bool]) – Indicates that major version upgrades are allowed.

  • +
  • auto_minor_version_upgrade (Optional[bool]) – A value that indicates whether minor engine upgrades are applied automatically to the +replication instance during the maintenance window. +This parameter defaults to true. +Default: true

  • +
  • availability_zone (Optional[str]) – The Availability Zone that the replication instance will be created in

  • +
  • engine_version (Optional[str]) – The engine version number of the replication instance. +If an engine version number is not specified when a replication instance is created, +the default is the latest engine version available.

  • +
  • kms_key_id (Optional[str]) – An AWS KMS key identifier that is used to encrypt the data on the replication instance. +If you don’t specify a value for the KmsKeyId parameter, AWS DMS uses your default encryption key.

  • +
  • multi_az (Optional[bool]) – Specifies whether the replication instance is a Multi-AZ deployment. +You can’t set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.

  • +
  • preferred_maintenance_window (Optional[str]) – The weekly time range during which system maintenance can occur, in UTC. +Format : ddd:hh24:mi-ddd:hh24:mi

  • +
  • publicly_accessible (Optional[bool]) – Specifies the accessibility options for the replication instance. +A value of true represents an instance with a public IP address. +A value of false represents an instance with a private IP address.

  • +
  • replication_instance_identifier (Optional[str]) – The replication instance identifier. This parameter is stored as a lowercase string.

  • +
  • replication_subnet_group_identifier (Optional[str]) – A subnet group to associate with the replication instance.

  • +
  • resource_identifier (Optional[str]) – A display name for the resource identifier at the end of the EndpointArn response +parameter that is returned in the created Endpoint object. +The value for this parameter can have up to 31 characters. +It can contain only ASCII letters, digits, and hyphen (‘-‘)

  • +
  • vpc_security_group_ids (Optional[List[str]]) – Specifies the virtual private cloud (VPC) security group to be used with the replication instance. +The VPC security group must work with the VPC containing the replication instance.

  • +
  • **replication_instance_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnReplicationInstance.html

  • +
+
+
Returns
+

dms.CfnReplicationInstance – A DMS Replication instance

+
+
Return type
+

dms.CfnReplicationInstance

+
+
+
+
+
+static replication_task(scope: constructs.Construct, id: str, environment_id: str, replication_instance_arn: str, source_endpoint_arn: str, target_endpoint_arn: str, table_mappings: str, migration_type: str = 'full-load', replication_task_settings: Optional[str] = None, **replication_task_props: Any) aws_cdk.aws_dms.CfnEndpoint
+

Create and configure DMS replication task.

+

This construct allows to configure parameters of the dms replication task using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: …

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • migration_type (str) – The migration type. Valid values: full-load | cdc | full-load-and-cdc +Default: ‘full-load’

  • +
  • replication_instance_arn (str) – The Amazon Resource Name (ARN) of a replication instance.

  • +
  • source_endpoint_arn (str) – An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.

  • +
  • target_endpoint_arn (str) – An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.

  • +
  • table_mappings (str) – The table mappings for the task, in JSON format.

  • +
  • replication_task_settings (Optional[str]) – Overall settings for the task, in JSON format. For more information, +see https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html

  • +
  • **replication_task_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnReplicationTask.html

  • +
+
+
Returns
+

dms.CfnReplicationTask – A DMS Replication Task

+
+
Return type
+

dms.CfnReplicationTask

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.resources.GlueFactory.html b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.GlueFactory.html new file mode 100644 index 00000000..ffbef65d --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.GlueFactory.html @@ -0,0 +1,335 @@ + + + + + + + + + aws_ddk_core.resources.GlueFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.GlueFactory

+
+
+class aws_ddk_core.resources.GlueFactory
+

Class factory to create and configure Glue DDK resources, including Jobs.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

job(scope, id, environment_id, executable[, ...])

Create and configure Glue job.

+
+
+static job(scope: constructs.Construct, id: str, environment_id: str, executable: aws_cdk.aws_glue_alpha.JobExecutable, job_name: Optional[str] = None, description: Optional[str] = None, role: Optional[aws_cdk.aws_iam.IRole] = None, security_configuration: Optional[aws_cdk.aws_glue_alpha.ISecurityConfiguration] = None, timeout: Optional[aws_cdk.Duration] = None, worker_count: Optional[int] = None, worker_type: Optional[aws_cdk.aws_glue_alpha.WorkerType] = None, **job_props: Any) aws_cdk.aws_glue_alpha.IJob
+

Create and configure Glue job.

+

This construct allows to configure parameters of the job using ddk.json configuration file +depending on the environment_id in which the job is used. Supported parameters are: +default_arguments,`enable_profiling_metrics`, max_concurrent_runs, max_retries, +timeout, worker_count.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Glue job

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • executable (JobExecutable) – The job executable properties

  • +
  • job_name (Optional[str]) – The name of the Glue job

  • +
  • description (Optional[str]) – The description of the Glue job

  • +
  • role (Optional[IRole]) – The execution role of the Glue job

  • +
  • security_configuration (Optional[ISecurityConfiguration]) – The security configuration of the Glue job. If None, a default configuration is used

  • +
  • timeout (Optional[Duration]) – The job execution time (in seconds) after which Glue terminates the job. +aws_cdk.Duration.seconds(3600) by default.

  • +
  • worker_count (Optional[int]) – The number of workers of a defined WorkerType that are allocated when a job runs

  • +
  • worker_type (Optional[WorkerType]) – The type of predefined worker that is allocated when a job runs

  • +
  • job_props (Any) – Additional job properties. For complete list of properties refer to CDK Documentation - +Glue Job: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_glue_alpha/Job.html

  • +
+
+
Returns
+

job – Glue job

+
+
Return type
+

aws_cdk.aws_glue_alpha.Job

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html new file mode 100644 index 00000000..96e0f42e --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html @@ -0,0 +1,331 @@ + + + + + + + + + aws_ddk_core.resources.KMSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KMSFactory

+
+
+class aws_ddk_core.resources.KMSFactory
+

Class factory to create and configure Key Management Service DDK resources, including Keys.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

key(scope, id, environment_id[, alias, ...])

Create and configure KMS key.

+
+
+static key(scope: constructs.Construct, id: str, environment_id: str, alias: Optional[str] = None, enable_key_rotation: Optional[bool] = None, pending_window: Optional[aws_cdk.Duration] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, **key_props: Any) aws_cdk.aws_kms.IKey
+

Create and configure KMS key.

+

This construct allows to configure parameters of the key using ddk.json configuration file +depending on the environment_id in which the key is used. Supported parameters are: +enable_key_rotation,`pending_window`, and removal_policy.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the key

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • alias (Optional[str]) – Key alias

  • +
  • enable_key_rotation (Optional[bool]) – Indicates whether AWS KMS rotates the key. True by default.

  • +
  • pending_window (Optional[Duration]) – Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been +removed from a CloudFormation stack. aws_cdk.Duration.days(30) by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Whether the encryption key should be retained when it is removed from the Stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • key_props (Any) – Additional key properties. For complete list of properties refer to CDK Documentation - +KMS Key: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_kms/Key.html

  • +
+
+
Returns
+

key – KMS key

+
+
Return type
+

aws_cdk.aws_kms.Key

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html new file mode 100644 index 00000000..e7931efd --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html @@ -0,0 +1,383 @@ + + + + + + + + + aws_ddk_core.resources.KinesisFirehoseFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KinesisFirehoseFactory

+
+
+class aws_ddk_core.resources.KinesisFirehoseFactory
+

Class factory create and configure Kinesis DDK resources, including Delivery Streams.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

delivery_stream(scope, id, environment_id, ...)

Create and configure Firehose delivery stream.

s3_destination(id, environment_id, bucket[, ...])

Create and configure Firehose delivery S3 destination.

+
+
+static delivery_stream(scope: constructs.Construct, id: str, environment_id: str, destinations: Sequence[aws_cdk.aws_kinesisfirehose_alpha.IDestination], delivery_stream_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_kinesisfirehose_alpha.StreamEncryption] = None, encryption_key: Optional[aws_cdk.aws_kms.IKey] = None, role: Optional[aws_cdk.aws_iam.IRole] = None, source_stream: Optional[aws_cdk.aws_kinesis.IStream] = None, **firehose_props: Any) aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream
+

Create and configure Firehose delivery stream.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the delivery stream

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • destinations (Sequence[firehose.IDestination]) – The destinations that this delivery stream will deliver data to

  • +
  • delivery_stream_name (Optional[str] = None) – A name for the delivery stream

  • +
  • encryption (Optional[firehose.StreamEncryption] = None) – Indicates the type of customer master key (CMK) to use for server-side encryption, if any. +Default: StreamEncryption.UNENCRYPTED

  • +
  • encryption_key (Optional[IKey] = None) – Customer managed key to server-side encrypt data in the stream. +Default: - no KMS key will be used

  • +
  • role (Optional[IRole] = None) – The IAM role associated with this delivery stream. +Assumed by Kinesis Data Firehose to read from sources and encrypt data server-side. +Default: - a role will be created with default permissions.

  • +
  • source_stream (Optional[IStream] = None) – The Kinesis data stream to use as a source for this delivery stream

  • +
  • **firehose_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose Delivery Stream: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesisfirehose/DeliveryStream.html

  • +
+
+
Returns
+

delivery_stream – A Kinesis Firehose Delivery Stream

+
+
Return type
+

firehose.IDeliveryStream

+
+
+
+
+
+static s3_destination(id: str, environment_id: str, bucket: aws_cdk.aws_s3.IBucket, buffering_interval: typing.Optional[aws_ddk_core.resources.commons.Duration] = None, buffering_size: typing.Optional[aws_ddk_core.resources.commons.Size] = None, compression: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression] = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>, data_output_prefix: typing.Optional[str] = None, encryption_key: typing.Optional[aws_cdk.aws_kms.IKey] = None, error_output_prefix: typing.Optional[str] = None, logging: typing.Optional[bool] = True, log_group: typing.Optional[aws_cdk.aws_logs.ILogGroup] = None, processor: typing.Optional[aws_cdk.aws_kinesisfirehose_alpha.IDataProcessor] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, s3_backup: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.DestinationS3BackupProps] = None, **destination_props: typing.Any) aws_cdk.aws_kinesisfirehose_destinations_alpha.S3Bucket
+

Create and configure Firehose delivery S3 destination.

+

This construct allows to configure parameters of the firehose destination using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: buffering_interval and buffering_size

+
+
Parameters
+
    +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket (IBucket) – S3 Bucket to use for the destination.

  • +
  • buffering_interval (Optional[Duration] = None) – The length of time that Firehose buffers incoming data before delivering it to the S3 bucket. +Minimum: Duration.seconds(60) +Maximum: Duration.seconds(900) +Default: Duration.seconds(300)

  • +
  • buffering_size (Optional[Size] = None) – The size of the buffer that Kinesis Data Firehose uses for incoming data +before delivering it to the S3 bucket. +Minimum: Size.mebibytes(1) +Maximum: Size.mebibytes(128) +Default: Size.mebibytes(5)

  • +
  • compression (Optional[Compression] = None) – The type of compression that Kinesis Data Firehose uses to compress the data that it delivers +to the Amazon S3 bucket. +Default: Compression.GZIP

  • +
  • data_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3

  • +
  • encryption_key (Optional[IKey] = None) – The AWS KMS key used to encrypt the data that it delivers to your Amazon S3 bucket.

  • +
  • error_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. +This prefix appears immediately following the bucket name

  • +
  • logging (Optional[bool] = True) – If true, log errors when data transformation or data delivery fails. +If logGroup is provided, this will be implicitly set to true. +Default: true - errors are logged.

  • +
  • log_group (Optional[ILogGroup] = None) – The CloudWatch log group where log streams will be created to hold error logs. +Default: - if logging is set to true, a log group will be created for you.

  • +
  • processor (Optional[IDataProcessor] = None) – The data transformation that should be performed on the data before writing to the destination.

  • +
  • role (Optional[IRole] = None) – The IAM role associated with this destination. +Assumed by Kinesis Data Firehose to invoke processors and write to destinations

  • +
  • s3_backup (Optional[DestinationS3BackupProps] = None) – The configuration for backing up source records to S3.

  • +
  • **destination_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose S3 Destinations: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesisfirehose_destinations/S3Bucket.html

  • +
+
+
Returns
+

destination – A Kinesis Firehose S3 Delivery Destination

+
+
Return type
+

destinations.S3Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html new file mode 100644 index 00000000..7ce1f2f3 --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html @@ -0,0 +1,338 @@ + + + + + + + + + aws_ddk_core.resources.KinesisStreamsFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KinesisStreamsFactory

+
+
+class aws_ddk_core.resources.KinesisStreamsFactory
+

Class factory create and configure Kinesis DDK resources, including Data Streams.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

data_stream(scope, id, environment_id[, ...])

Create and configure Kinesis data stream.

+
+
+static data_stream(scope: constructs.Construct, id: str, environment_id: str, encryption: Optional[aws_cdk.aws_kinesis.StreamEncryption] = None, encryption_key: Optional[aws_cdk.aws_kms.IKey] = None, retention_period: Optional[aws_ddk_core.resources.commons.Duration] = None, shard_count: Optional[int] = None, stream_mode: Optional[aws_cdk.aws_kinesis.StreamMode] = None, stream_name: Optional[str] = None, **kinesis_props: Any) aws_cdk.aws_kinesis.IStream
+

Create and configure Kinesis data stream.

+

This construct allows to configure parameters of the Kinesis data stream using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: retention_period and shard_count.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the data stream

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • encryption (Optional[StreamEncryption] = None) – The kind of server-side encryption to apply to this stream. +If you choose KMS, you can specify a KMS key via encryptionKey. +If encryption key is not specified, a key will automatically be created. +Default: - StreamEncryption.KMS if encrypted Streams are supported +in the region or StreamEncryption.UNENCRYPTED otherwise. +StreamEncryption.KMS if an encryption key is supplied through the encryptionKey property

  • +
  • encryption_key (Optional[IKey] = None) – External KMS key to use for stream encryption. The ‘encryption’ property must be set to “Kms”. +Default: - Kinesis Data Streams master key (‘/alias/aws/kinesis’)

  • +
  • retention_period (Optional[Duration] = None) – The number of hours for the data records that are stored in shards to remain accessible. +Default: Duration.seconds(3600)

  • +
  • shard_count (Optional[int] = None) – The number of shards for the stream. Can only be provided if streamMode is Provisioned. +Default: 1

  • +
  • stream_mode (Optional[StreamMode] = None) – The capacity mode of this stream. +Default: StreamMode.PROVISIONED

  • +
  • stream_name (Optional[str] = None) – Enforces a particular physical stream name. +Default: A CloudFormation generated name

  • +
  • **kinesis_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose Data Stream: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesis/Stream.html

  • +
+
+
Returns
+

data_stream – A Kinesis Data Stream

+
+
Return type
+

Stream

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html new file mode 100644 index 00000000..0d6e686f --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html @@ -0,0 +1,341 @@ + + + + + + + + + aws_ddk_core.resources.LambdaFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.LambdaFactory

+
+
+class aws_ddk_core.resources.LambdaFactory
+

Class factory to create and configure Lambda DDK resources, including Functions.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

add_vpc_permissions(fn)

function(scope, id, environment_id, code, ...)

Create and configure Lambda function.

+
+
+static function(scope: constructs.Construct, id: str, environment_id: str, code: aws_cdk.aws_lambda.Code, handler: str, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, function_name: typing.Optional[str] = None, description: typing.Optional[str] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, dead_letter_queue_enabled: typing.Optional[bool] = None, dead_letter_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, **function_props: typing.Any) aws_cdk.aws_lambda.IFunction
+

Create and configure Lambda function.

+

This construct allows to configure parameters of the function using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +dead_letter_queue_enabled,`memory_size`, environment, profiling, +reserved_concurrent_executions, timeout, tracing, max_event_age, retry_attempts, +allow_all_outbound, and allow_public_subnet.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Lambda function

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Code) – The source code of the Lambda function

  • +
  • handler (str) – The name of the method within the code that Lambda calls to execute the function

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function

  • +
  • function_name (Optional[str]) – The name of the Lambda function

  • +
  • description (Optional[str]) – The description of the Lambda function

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • dead_letter_queue_enabled (Optional[bool]) – Determines if DLQ is enabled. False by default.

  • +
  • dead_letter_queue (Optional[IQueue]) – The SQS queue to use if DLQ is enabled

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default.

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default.

  • +
  • function_props (Any) – Additional function properties. For complete list of properties refer to CDK Documentation - +Lambda Function: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_lambda/Function.html

  • +
+
+
Returns
+

fn – Lambda function

+
+
Return type
+

aws_cdk.aws_lambda.Function

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html new file mode 100644 index 00000000..8323ed52 --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html @@ -0,0 +1,334 @@ + + + + + + + + + aws_ddk_core.resources.S3Factory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.S3Factory

+
+
+class aws_ddk_core.resources.S3Factory
+

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

bucket(scope, id, environment_id[, ...])

Create and configure S3 bucket.

+
+
+static bucket(scope: constructs.Construct, id: str, environment_id: str, bucket_name: Optional[str] = None, versioned: Optional[bool] = None, access_control: Optional[aws_cdk.aws_s3.BucketAccessControl] = None, block_public_access: Optional[aws_cdk.aws_s3.BlockPublicAccess] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, encryption: Optional[aws_cdk.aws_s3.BucketEncryption] = None, enforce_ssl: Optional[bool] = None, event_bridge_enabled: Optional[bool] = None, **bucket_props: Any) aws_cdk.aws_s3.IBucket
+

Create and configure S3 bucket.

+

This construct allows to configure parameters of the bucket using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +versioned,`auto_delete_objects`, enforce_ssl, access_control, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the bucket

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket_name (Optional[str]) – The name of the bucket

  • +
  • versioned (Optional[bool]) – Whether this bucket should have versioning turned on or not. True by default.

  • +
  • access_control (Optional[BucketAccessControl]) – Specifies a canned ACL that grants predefined permissions to the bucket +aws_cdk.aws_s3.BucketAccessControl.BUCKET_OWNER_FULL_CONTROL by default.

  • +
  • block_public_access (Optional[BlockPublicAccess]) – The block public access configuration of this bucket. +aws_cdk.aws_s3.BlockPublicAccess.BLOCK_ALL by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • encryption (Optional[BucketEncryption]) – The kind of server-side encryption to apply to this bucket. +aws_cdk.aws_s3.BucketEncryption.S3_MANAGED by default.

  • +
  • enforce_ssl (Optional[bool]) – Enforces SSL for requests. True by default.

  • +
  • event_bridge_enabled (Optional[bool]) – Whether this bucket should send notifications to Amazon EventBridge or not. +False by default.

  • +
  • bucket_props (Any) – Additional bucket properties. For complete list of properties refer to CDK Documentation - +S3 Bucket: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_s3/Bucket.html

  • +
+
+
Returns
+

bucket – S3 bucket

+
+
Return type
+

aws_cdk.aws_s3.Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html new file mode 100644 index 00000000..f023e924 --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html @@ -0,0 +1,331 @@ + + + + + + + + + aws_ddk_core.resources.SQSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.SQSFactory

+
+
+class aws_ddk_core.resources.SQSFactory
+

Class factory create and configure Simple Queue Service DDK resources, including Queues.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

apply_secure_queue_policy(queue)

queue(scope, environment_id, id[, ...])

Create and configure SQS queue.

+
+
+static queue(scope: constructs.Construct, environment_id: str, id: str, queue_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_sqs.QueueEncryption] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, dead_letter_queue: Optional[aws_cdk.aws_sqs.DeadLetterQueue] = None, **queue_props: Any) aws_cdk.aws_sqs.IQueue
+

Create and configure SQS queue.

+

This construct allows to configure parameters of the queue using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +content_based_deduplication,`data_key_reuse`, delivery_delay, max_message_size_bytes, +retention_period, visibility_timeout, receive_message_wait_time, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the queue

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • queue_name (Optional[str]) – Name of the queue

  • +
  • encryption (Optional[QueueEncryption]) – Whether the contents of the queue are encrypted, and by what type of key. +aws_cdk.aws_sqs.QueueEncryption.KMS_MANAGED by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • dead_letter_queue (Optional[DeadLetterQueue]) – Send messages to this queue if they were unsuccessfully dequeued a number of times.

  • +
  • queue_props (Any) – Additional queue properties. For complete list of properties refer to CDK Documentation - +SQS Queue: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_sqs/Queue.html

  • +
+
+
Returns
+

queue – SQS queue

+
+
Return type
+

aws_cdk.aws_sqs.Queue

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html new file mode 100644 index 00000000..6c749d33 --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html @@ -0,0 +1,325 @@ + + + + + + + + + aws_ddk_core.resources.StepFunctionsFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.StepFunctionsFactory

+
+
+class aws_ddk_core.resources.StepFunctionsFactory
+

Class factory create and configure AWS Step Functions Service DDK resources, including State Machines.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

state_machine(scope, environment_id, id[, ...])

Create and configure state machine.

+
+
+static state_machine(scope: constructs.Construct, environment_id: str, id: str, state_machine_name: Optional[str] = None, state_machine_type: Optional[aws_cdk.aws_stepfunctions.StateMachineType] = None, timeout: Optional[aws_ddk_core.resources.commons.Duration] = None, tracing_enabled: Optional[bool] = None, **state_machine_props: Any) aws_cdk.aws_stepfunctions.StateMachine
+

Create and configure state machine.

+

This construct allows to configure parameters of the state machine using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +state_machine_type,`timeout`, and tracing_enabled.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the state machine

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • state_machine_name (Optional[str]) – Name of the state machine

  • +
  • state_machine_type (Optional[sfn.StateMachineType]) – Type of the state machine

  • +
  • timeout (Optional[Duration]) – Maximum run time for this state machine

  • +
  • tracing_enabled (Optional[bool]) – Specifies whether Amazon X-Ray tracing is enabled for this state machine

  • +
  • state_machine_props (Any) – Additional state machine properties. For complete list of properties refer to CDK Documentation - +State Machine: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_stepfunctions/StateMachine.html

  • +
+
+
Returns
+

state_machine – State machine

+
+
Return type
+

aws_cdk.aws_stepfunctions.StateMachine

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html new file mode 100644 index 00000000..6496d76a --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html @@ -0,0 +1,365 @@ + + + + + + + + + aws_ddk_core.stages.AppFlowIngestionStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.AppFlowIngestionStage

+
+
+class aws_ddk_core.stages.AppFlowIngestionStage(*args: Any, **kwargs)
+

Class that represents an AppFlow DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, flow_name: typing.Optional[str] = None, flow_execution_status_check_period: aws_cdk.Duration = <aws_cdk.Duration object>, destination_flow_config: typing.Optional[aws_cdk.aws_appflow.CfnFlow.DestinationFlowConfigProperty] = None, source_flow_config: typing.Optional[aws_cdk.aws_appflow.CfnFlow.SourceFlowConfigProperty] = None, tasks: typing.Optional[typing.List[aws_cdk.aws_appflow.CfnFlow.TaskProperty]] = None, state_machine_input: typing.Optional[typing.Dict[str, typing.Any]] = None, additional_role_policy_statements: typing.Optional[typing.List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: typing.Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: typing.Optional[int] = 1) None
+

DDK AppFlow Ingestion stage.

+

Stage that contains a step function that runs an AppFlow flow ingestion. +If the AppFlow flow name is not supplied, then it is created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • flow_name (Optional[str]) – Name of the AppFlow flow to run. If None, an AppFlow flow is created

  • +
  • flow_execution_status_check_period (Duration) – Time to wait between flow execution status checks. +aws_cdk.Duration.seconds(15) by default

  • +
  • destination_flow_config (Optional[CfnFlow.DestinationFlowConfigProperty]) – The flow destination_flow_config properties

  • +
  • source_flow_config (Optional[CfnFlow.SourceFlowConfigProperty]) – The flow source_flow_config properties

  • +
  • tasks (Optional[List[CfnFlow.TaskProperty]]) – The flow tasks properties

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK AppFlow Ingestion stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

flow

CfnFlow The AppFlow flow

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property flow: aws_cdk.aws_appflow.CfnFlow
+

CfnFlow +The AppFlow flow

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html new file mode 100644 index 00000000..8e55837c --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html @@ -0,0 +1,352 @@ + + + + + + + + + aws_ddk_core.stages.AthenaSQLStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.AthenaSQLStage

+
+
+class aws_ddk_core.stages.AthenaSQLStage(*args: Any, **kwargs)
+

Class that represents a Athena SQL DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, query_string: str, workgroup: Optional[str] = None, catalog_name: Optional[str] = None, database_name: Optional[str] = None, output_bucket_name: Optional[str] = None, output_object_key: Optional[str] = None, encryption_option: Optional[aws_cdk.aws_stepfunctions_tasks.EncryptionOption] = None, encryption_key: Optional[aws_cdk.aws_kms.Key] = None, state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

DDK Athena SQL stage.

+

Stage that contains a step function that execute Athena SQL query.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • query_string (str) – SQL query that will be started

  • +
  • workgroup (Optional[str]) – Workgroup name

  • +
  • catalog_name (Optional[str]) – Catalog name

  • +
  • database_name (Optional[str]) – Database name

  • +
  • output_bucket_name (Optional[str]) – Output S3 bucket name

  • +
  • output_object_key (Optional[str]) – Output S3 key

  • +
  • encryption_option (Optional[EncryptionOption]) – Encryption configuration

  • +
  • encryption_key (Optional[Key]) – Encryption KMS key

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, query_string)

DDK Athena SQL stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

state_machine

StateMachine The state machine

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html new file mode 100644 index 00000000..c77226a2 --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html @@ -0,0 +1,386 @@ + + + + + + + + + aws_ddk_core.stages.DMSS3ToS3Stage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.DMSS3ToS3Stage

+
+
+class aws_ddk_core.stages.DMSS3ToS3Stage(*args: Any, **kwargs)
+

Class that represents a DMS to S3 to S3 Replication DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, source_bucket: aws_cdk.aws_s3.IBucket, target_bucket: aws_cdk.aws_s3.IBucket, external_table_definition: str, table_mappings: Optional[str] = None, replication_instance_class: str = 'dms.c5.large', source_bucket_prefix: Optional[str] = None, target_bucket_prefix: Optional[str] = None) None
+

DDK DMS S3 to S3 replication stage

+
+
Parameters
+
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK DMS S3 to S3 replication stage

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html new file mode 100644 index 00000000..2c79d381 --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html @@ -0,0 +1,381 @@ + + + + + + + + + aws_ddk_core.stages.GlueTransformStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.GlueTransformStage

+
+
+class aws_ddk_core.stages.GlueTransformStage(*args: Any, **kwargs)
+

Class that represents a Glue Transform DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, job_name: Optional[str] = None, executable: Optional[aws_cdk.aws_glue_alpha.JobExecutable] = None, job_role: Optional[aws_cdk.aws_iam.IRole] = None, crawler_name: Optional[str] = None, database_name: Optional[str] = None, crawler_role: Optional[aws_cdk.aws_iam.IRole] = None, targets: Optional[aws_cdk.aws_glue.CfnCrawler.TargetsProperty] = None, job_args: Optional[Dict[str, Any]] = None, state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

DDK Glue Transform stage.

+

Stage that contains a step function that runs Glue job, and a Glue crawler afterwards. +If the Glue job or crawler names are not supplied, then they are created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • job_name (Optional[str]) – The name of a preexisting Glue job to run. If None, a Glue job is created

  • +
  • executable (Optional[JobExecutable]) – The job executable properties

  • +
  • job_role (Optional[IRole]) – The job execution role

  • +
  • crawler_name (Optional[str]) – The name of a preexisting Glue crawler to run. If None, a Glue crawler is created

  • +
  • database_name (Optional[str]) – The name of the database in which the crawler’s output is stored

  • +
  • crawler_role (Optional[IRole]) – The crawler execution role

  • +
  • targets (Optional[TargetsProperty]) – A collection of targets to crawl

  • +
  • job_args (Optional[Dict[str, Any]]) – The input arguments to the Glue job

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – The input dict to the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK Glue Transform stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

crawler

Optional[CfnCrawler] The Glue crawler

job

Optional[IJob] The Glue job

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property crawler: Optional[aws_cdk.aws_glue.CfnCrawler]
+

Optional[CfnCrawler] +The Glue crawler

+
+
Type
+

Return

+
+
+
+
+
+property job: Optional[aws_cdk.aws_glue_alpha.IJob]
+

Optional[IJob] +The Glue job

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html new file mode 100644 index 00000000..7afffe7e --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html @@ -0,0 +1,460 @@ + + + + + + + + + aws_ddk_core.stages.KinesisToS3Stage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.KinesisToS3Stage

+
+
+class aws_ddk_core.stages.KinesisToS3Stage(*args: Any, **kwargs)
+

Class that represents a Firehose to S3 Ingestion DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, delivery_stream_name: typing.Optional[str] = None, bucket_name: typing.Optional[str] = None, buffering_interval: typing.Optional[aws_cdk.Duration] = None, buffering_size: typing.Optional[aws_cdk.Size] = None, compression: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression] = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>, data_output_prefix: typing.Optional[str] = None, data_stream_enabled: typing.Optional[bool] = False, encryption_key: typing.Optional[aws_cdk.aws_kms.IKey] = None, error_output_prefix: typing.Optional[str] = None, logging: typing.Optional[bool] = True, log_group: typing.Optional[aws_cdk.aws_logs.ILogGroup] = None, kinesis_delivery_stream_alarm_threshold: typing.Optional[int] = 900, kinesis_delivery_stream_alarm_evaluation_periods: typing.Optional[int] = 1, delivery_stream: typing.Optional[aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream] = None, bucket: typing.Optional[aws_cdk.aws_s3.IBucket] = None, data_stream: typing.Optional[aws_cdk.aws_kinesis.Stream] = None) None
+

DDK Kinesis Firehose Delivery stream to S3 stage, with an optional Kinesis Data Stream.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • delivery_stream_name (Optional[str] = None) – Name of the Firehose Delivery Stream

  • +
  • bucket_name (Optional[str] = None) – Name of S3 Bucket to be created as a delivery destination. +Amazon EventBridge notifications must be enabled on the bucket in order +for this stage to produce events after its completion.

  • +
  • buffering_interval (Optional[Duration] = None) – The length of time that Firehose buffers incoming data before delivering it to the S3 bucket. +Minimum: Duration.seconds(60) +Maximum: Duration.seconds(900) +Default: Duration.seconds(300)

  • +
  • buffering_size (Optional[Size] = None) – The size of the buffer that Kinesis Data Firehose uses for incoming +data before delivering it to the S3 bucket. +Minimum: Size.mebibytes(1) +Maximum: Size.mebibytes(128) +Default: Size.mebibytes(5)

  • +
  • compression (Optional[Compression] = None) – The type of compression that Kinesis Data Firehose uses to compress +the data that it delivers to the Amazon S3 bucket. +Default: - GZIP

  • +
  • data_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3. +This prefix appears immediately following the bucket name. +Default: “YYYY/MM/DD/HH”

  • +
  • data_stream_enabled (Optional[bool] = False) – Add Kinesis Data Stream to front Firehose Delivery. +Default: false

  • +
  • encryption_key (Optional[IKey] = None) – The AWS KMS key used to encrypt the data delivered to your Amazon S3 bucket

  • +
  • error_output_prefix (Optional[str] = None) – prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. +This prefix appears immediately following the bucket name. +Default: “YYYY/MM/DD/HH”

  • +
  • logging (Optional[bool] = True) – If true, log errors when data transformation or data delivery fails. +If log_group is provided, this will be implicitly set to true. +Default: true - errors are logged.

  • +
  • log_group (Optional[ILogGroup] = None) – The CloudWatch log group where log streams will be created to hold error logs. +Default: - if logging is set to true, a log group will be created for you.

  • +
  • kinesis_delivery_stream_alarm_threshold (Optional[int] = 900) – Threshold for Cloudwatch Alarm created for this stage. +Default: 900

  • +
  • kinesis_delivery_stream_alarm_evaluation_periods (Optional[int] = 1) – Evaluation period value for Cloudwatch alarm created for this stage. +Default: 1

  • +
  • delivery_stream (Optional[firehose.IDeliveryStream] = None) – Preexisting Delivery Stream to use in this stage

  • +
  • bucket (Optional[IBucket] = None) – Preexisting S3 Bucket to use as a destination for the Firehose Stream. +If no bucket is provided, a new one is created. +Amazon EventBridge notifications must be enabled on the bucket in order +for this stage to produce events after its completion.

  • +
  • data_stream (Optional[Stream] = None) – Preexisting Kinesis Data Stream to use in stage before Delivery Stream. +Setting this parameter will override any creation of Kinesis Data Streams +in this stage. data_stream_enabled will have no effect.

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK Kinesis Firehose Delivery stream to S3 stage, with an optional Kinesis Data Stream.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + +

bucket

S3 Bucket The S3 Destination Bucket

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

data_stream

Data Stream The Kinesis Data Stream

delivery_stream

Delivery Stream The Kinesis Firehose Delivery Stream

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property bucket: aws_cdk.aws_s3.IBucket
+

S3 Bucket +The S3 Destination Bucket

+
+
Type
+

Return

+
+
+
+
+
+property data_stream: aws_cdk.aws_kinesis.Stream
+

Data Stream +The Kinesis Data Stream

+
+
Type
+

Return

+
+
+
+
+
+property delivery_stream: aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream
+

Delivery Stream +The Kinesis Firehose Delivery Stream

+
+
Type
+

Return

+
+
+
+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html new file mode 100644 index 00000000..b2ee68be --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html @@ -0,0 +1,363 @@ + + + + + + + + + aws_ddk_core.stages.S3EventStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.S3EventStage

+
+
+class aws_ddk_core.stages.S3EventStage(*args: Any, **kwargs)
+

Class that represents an S3 Event DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, event_names: List[str], bucket_name: str, key_prefix: Optional[str] = None, **kwargs: Any) None
+

DDK S3 Event stage.

+

It implements an S3 event pattern based on event names, a bucket name and optional key prefix. +Amazon EventBridge notifications must be enabled on the bucket in order to use this construct.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • event_names (List[str]) – The list of events to capture, for example: [“Object Created”]. +https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventBridge.html

  • +
  • bucket_name (str) – The name of the S3 bucket. Amazon EventBridge notifications must be enabled +on the bucket in order to use this construct.

  • +
  • key_prefix (Optional[str]) – The S3 prefix. Capture root level prefix (“/”) by default

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK S3 Event stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + +

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html new file mode 100644 index 00000000..7d7b7f8e --- /dev/null +++ b/release/0.4.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html @@ -0,0 +1,415 @@ + + + + + + + + + aws_ddk_core.stages.SqsToLambdaStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.SqsToLambdaStage

+
+
+class aws_ddk_core.stages.SqsToLambdaStage(*args: Any, **kwargs)
+

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, code: typing.Optional[aws_cdk.aws_lambda.Code] = None, handler: typing.Optional[str] = None, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, visibility_timeout: typing.Optional[aws_cdk.Duration] = None, dead_letter_queue_enabled: bool = False, max_receive_count: int = 1, batch_size: typing.Optional[int] = None, layers: typing.Optional[typing.List[aws_cdk.aws_lambda.ILayerVersion]] = None, lambda_function: typing.Optional[aws_cdk.aws_lambda.IFunction] = None, sqs_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, lambda_function_errors_alarm_threshold: typing.Optional[int] = 5, lambda_function_errors_alarm_evaluation_periods: typing.Optional[int] = 1) None
+

DDK SQS to Lambda stage.

+

It implements an Amazon SQS queue connected to an AWS Lambda function, with an optional DLQ.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Optional[Code]) – The source code of the Lambda function +Must be set if lambda_function is not.

  • +
  • handler (Optional[str]) – The name of the method within the code that Lambda calls to execute the function. +Must be set if lambda_function is not.

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function. PYTHON_3_9 by default

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default

  • +
  • visibility_timeout (Optional[Duration]) – Timeout of processing a single message in the queue. Default: Duration.seconds(120).

  • +
  • dead_letter_queue_enabled (bool) – Determines if DLQ is enabled. False by default

  • +
  • max_receive_count (int) – The number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue. +1 by default

  • +
  • batch_size (Optional[int]) – The maximum number of records retrieved from the event source at the function invocation time. +10 by default

  • +
  • layers (Optional[List[ILayerVersion]]) – A list of layers to add to the lambda function’s execution environment.

  • +
  • lambda_function (Optional[IFunction]) – Preexisting Lambda Function to use in stage. None by default

  • +
  • sqs_queue (Optional[IQueue]) – Preexisting SQS Queue to use in stage. None by default

  • +
  • lambda_function_errors_alarm_threshold (Optional[int]) – Amount of errored function invocations before triggering CW alarm. Defaults to 5

  • +
  • lambda_function_errors_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, code, ...])

DDK SQS to Lambda stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

dlq

DeadLetterQueue The SQS dead letter queue

function

Function The Lambda function

node

The tree node.

queue

Queue The SQS queue

+
+
+property dlq: Optional[aws_cdk.aws_sqs.DeadLetterQueue]
+

DeadLetterQueue +The SQS dead letter queue

+
+
Type
+

Return

+
+
+
+
+
+property function: aws_cdk.aws_lambda.IFunction
+

Function +The Lambda function

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property queue: aws_cdk.aws_sqs.IQueue
+

Queue +The SQS queue

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/genindex.html b/release/0.4.0/api/genindex.html new file mode 100644 index 00000000..13bb8303 --- /dev/null +++ b/release/0.4.0/api/genindex.html @@ -0,0 +1,953 @@ + + + + + + + Index - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+

Index

+
Symbols | _ | A | B | C | D | E | F | G | J | K | L | N | Q | R | S
+
+
+

Symbols

+ + + +
+
+ +
+

_

+ + +
+
+ +
+

A

+ + + +
+
+ +
+

B

+ + + +
+
+ +
+

C

+ + + +
+
+ +
+

D

+ + + +
+
+ +
+

E

+ + + +
+
+ +
+

F

+ + + +
+
+ +
+

G

+ + + +
+
+ +
+

J

+ + + +
+
+ +
+

K

+ + + +
+
+ +
+

L

+ + +
+
+ +
+

N

+ + +
+
+ +
+

Q

+ + + +
+
+ +
+

R

+ + + +
+
+ +
+

S

+ + + +
+
+ + +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/index.html b/release/0.4.0/api/index.html new file mode 100644 index 00000000..e15d2072 --- /dev/null +++ b/release/0.4.0/api/index.html @@ -0,0 +1,303 @@ + + + + + + + + + Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/objects.inv b/release/0.4.0/api/objects.inv new file mode 100644 index 0000000000000000000000000000000000000000..ccf97f311487b076630ef9555ca7b19efa620c21 GIT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Nd^x7#+$4!!9=NxQj<85NJMdoh`c+G zaK$B@T>Xev!}RX#h}-i)Z_Q=2ycMUCZQG8`vBqcFoPVzR$o~P1$QG-qlpmJ> literal 0 HcmV?d00001 diff --git a/release/0.4.0/api/search.html b/release/0.4.0/api/search.html new file mode 100644 index 00000000..2619e82f --- /dev/null +++ b/release/0.4.0/api/search.html @@ -0,0 +1,258 @@ + + + + + + + Search - Contents + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/release/0.4.0/api/searchindex.js b/release/0.4.0/api/searchindex.js new file mode 100644 index 00000000..794fe14b --- /dev/null +++ b/release/0.4.0/api/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({docnames:["cli/aws_ddk","core/aws_ddk_core","core/stubs/aws_ddk_core.base.BaseStack","core/stubs/aws_ddk_core.cicd.CICDPipelineStack","core/stubs/aws_ddk_core.config.Config","core/stubs/aws_ddk_core.config.JSONConfigStrategy","core/stubs/aws_ddk_core.pipelines.DataPipeline","core/stubs/aws_ddk_core.pipelines.DataStage","core/stubs/aws_ddk_core.pipelines.EventStage","core/stubs/aws_ddk_core.pipelines.StateMachineStage","core/stubs/aws_ddk_core.resources.DMSFactory","core/stubs/aws_ddk_core.resources.GlueFactory","core/stubs/aws_ddk_core.resources.KMSFactory","core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory","core/stubs/aws_ddk_core.resources.KinesisStreamsFactory","core/stubs/aws_ddk_core.resources.LambdaFactory","core/stubs/aws_ddk_core.resources.S3Factory","core/stubs/aws_ddk_core.resources.SQSFactory","core/stubs/aws_ddk_core.resources.StepFunctionsFactory","core/stubs/aws_ddk_core.stages.AppFlowIngestionStage","core/stubs/aws_ddk_core.stages.AthenaSQLStage","core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage","core/stubs/aws_ddk_core.stages.GlueTransformStage","core/stubs/aws_ddk_core.stages.KinesisToS3Stage","core/stubs/aws_ddk_core.stages.S3EventStage","core/stubs/aws_ddk_core.stages.SqsToLambdaStage","index"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["cli/aws_ddk.rst","core/aws_ddk_core.rst","core/stubs/aws_ddk_core.base.BaseStack.rst","core/stubs/aws_ddk_core.cicd.CICDPipelineStack.rst","core/stubs/aws_ddk_core.config.Config.rst","core/stubs/aws_ddk_core.config.JSONConfigStrategy.rst","core/stubs/aws_ddk_core.pipelines.DataPipeline.rst","core/stubs/aws_ddk_core.pipelines.DataStage.rst","core/stubs/aws_ddk_core.pipelines.EventStage.rst","core/stubs/aws_ddk_core.pipelines.StateMachineStage.rst","core/stubs/aws_ddk_core.resources.DMSFactory.rst","core/stubs/aws_ddk_core.resources.GlueFactory.rst","core/stubs/aws_ddk_core.resources.KMSFactory.rst","core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.rst","core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.rst","core/stubs/aws_ddk_core.resources.LambdaFactory.rst","core/stubs/aws_ddk_core.resources.S3Factory.rst","core/stubs/aws_ddk_core.resources.SQSFactory.rst","core/stubs/aws_ddk_core.resources.StepFunctionsFactory.rst","core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.rst","core/stubs/aws_ddk_core.stages.AthenaSQLStage.rst","core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.rst","core/stubs/aws_ddk_core.stages.GlueTransformStage.rst","core/stubs/aws_ddk_core.stages.KinesisToS3Stage.rst","core/stubs/aws_ddk_core.stages.S3EventStage.rst","core/stubs/aws_ddk_core.stages.SqsToLambdaStage.rst","index.rst"],objects:{"aws_ddk_core.base":[[2,0,1,"","BaseStack"]],"aws_ddk_core.base.BaseStack":[[2,1,1,"","__init__"]],"aws_ddk_core.cicd":[[3,0,1,"","CICDPipelineStack"]],"aws_ddk_core.cicd.CICDPipelineStack":[[3,1,1,"","__init__"],[3,1,1,"","add_checks"],[3,1,1,"","add_custom_stage"],[3,1,1,"","add_notifications"],[3,1,1,"","add_security_lint_stage"],[3,1,1,"","add_source_action"],[3,1,1,"","add_stage"],[3,1,1,"","add_synth_action"],[3,1,1,"","add_test_stage"],[3,1,1,"","build"],[3,1,1,"","synth"]],"aws_ddk_core.config":[[4,0,1,"","Config"],[5,0,1,"","JSONConfigStrategy"]],"aws_ddk_core.config.Config":[[4,1,1,"","__init__"],[4,1,1,"","get_cdk_version"],[4,1,1,"","get_env"],[4,1,1,"","get_env_config"],[4,1,1,"","get_resource_config"],[4,1,1,"","get_tags"]],"aws_ddk_core.config.JSONConfigStrategy":[[5,1,1,"","__init__"],[5,1,1,"","get_config"]],"aws_ddk_core.pipelines":[[6,0,1,"","DataPipeline"],[7,0,1,"","DataStage"],[8,0,1,"","EventStage"],[9,0,1,"","StateMachineStage"]],"aws_ddk_core.pipelines.DataPipeline":[[6,1,1,"","__init__"],[6,1,1,"","add_notifications"],[6,1,1,"","add_rule"],[6,1,1,"","add_stage"]],"aws_ddk_core.pipelines.DataStage":[[7,1,1,"","__init__"],[7,1,1,"","add_alarm"],[7,2,1,"","cloudwatch_alarms"]],"aws_ddk_core.pipelines.EventStage":[[8,1,1,"","__init__"],[8,1,1,"","get_targets"]],"aws_ddk_core.pipelines.StateMachineStage":[[9,1,1,"","__init__"],[9,1,1,"","build_state_machine"],[9,1,1,"","get_event_pattern"],[9,1,1,"","get_targets"],[9,2,1,"","state_machine"]],"aws_ddk_core.resources":[[10,0,1,"","DMSFactory"],[11,0,1,"","GlueFactory"],[12,0,1,"","KMSFactory"],[13,0,1,"","KinesisFirehoseFactory"],[14,0,1,"","KinesisStreamsFactory"],[15,0,1,"","LambdaFactory"],[16,0,1,"","S3Factory"],[17,0,1,"","SQSFactory"],[18,0,1,"","StepFunctionsFactory"]],"aws_ddk_core.resources.DMSFactory":[[10,1,1,"","__init__"],[10,1,1,"","endpoint"],[10,1,1,"","endpoint_settings_s3"],[10,1,1,"","replication_instance"],[10,1,1,"","replication_task"]],"aws_ddk_core.resources.GlueFactory":[[11,1,1,"","__init__"],[11,1,1,"","job"]],"aws_ddk_core.resources.KMSFactory":[[12,1,1,"","__init__"],[12,1,1,"","key"]],"aws_ddk_core.resources.KinesisFirehoseFactory":[[13,1,1,"","__init__"],[13,1,1,"","delivery_stream"],[13,1,1,"","s3_destination"]],"aws_ddk_core.resources.KinesisStreamsFactory":[[14,1,1,"","__init__"],[14,1,1,"","data_stream"]],"aws_ddk_core.resources.LambdaFactory":[[15,1,1,"","__init__"],[15,1,1,"","function"]],"aws_ddk_core.resources.S3Factory":[[16,1,1,"","__init__"],[16,1,1,"","bucket"]],"aws_ddk_core.resources.SQSFactory":[[17,1,1,"","__init__"],[17,1,1,"","queue"]],"aws_ddk_core.resources.StepFunctionsFactory":[[18,1,1,"","__init__"],[18,1,1,"","state_machine"]],"aws_ddk_core.stages":[[19,0,1,"","AppFlowIngestionStage"],[20,0,1,"","AthenaSQLStage"],[21,0,1,"","DMSS3ToS3Stage"],[22,0,1,"","GlueTransformStage"],[23,0,1,"","KinesisToS3Stage"],[24,0,1,"","S3EventStage"],[25,0,1,"","SqsToLambdaStage"]],"aws_ddk_core.stages.AppFlowIngestionStage":[[19,1,1,"","__init__"],[19,2,1,"","flow"]],"aws_ddk_core.stages.AthenaSQLStage":[[20,1,1,"","__init__"]],"aws_ddk_core.stages.DMSS3ToS3Stage":[[21,1,1,"","__init__"],[21,2,1,"","event_pattern"],[21,1,1,"","get_event_pattern"],[21,1,1,"","get_targets"]],"aws_ddk_core.stages.GlueTransformStage":[[22,1,1,"","__init__"],[22,2,1,"","crawler"],[22,2,1,"","job"]],"aws_ddk_core.stages.KinesisToS3Stage":[[23,1,1,"","__init__"],[23,2,1,"","bucket"],[23,2,1,"","data_stream"],[23,2,1,"","delivery_stream"],[23,2,1,"","event_pattern"],[23,1,1,"","get_event_pattern"],[23,1,1,"","get_targets"]],"aws_ddk_core.stages.S3EventStage":[[24,1,1,"","__init__"],[24,2,1,"","event_pattern"],[24,1,1,"","get_event_pattern"]],"aws_ddk_core.stages.SqsToLambdaStage":[[25,1,1,"","__init__"],[25,2,1,"","dlq"],[25,2,1,"","function"],[25,1,1,"","get_event_pattern"],[25,1,1,"","get_targets"],[25,2,1,"","queue"]],"ddk-bootstrap":[[0,3,1,"cmdoption-ddk-bootstrap-e","--environment"],[0,3,1,"cmdoption-ddk-bootstrap-i","--iam-policies"],[0,3,1,"cmdoption-ddk-bootstrap-permissions-boundary","--permissions-boundary"],[0,3,1,"cmdoption-ddk-bootstrap-prefix","--prefix"],[0,3,1,"cmdoption-ddk-bootstrap-p","--profile"],[0,3,1,"cmdoption-ddk-bootstrap-qualifier","--qualifier"],[0,3,1,"cmdoption-ddk-bootstrap-r","--region"],[0,3,1,"cmdoption-ddk-bootstrap-t","--tags"],[0,3,1,"cmdoption-ddk-bootstrap-a","--trusted-accounts"],[0,3,1,"cmdoption-ddk-bootstrap-a","-a"],[0,3,1,"cmdoption-ddk-bootstrap-e","-e"],[0,3,1,"cmdoption-ddk-bootstrap-i","-i"],[0,3,1,"cmdoption-ddk-bootstrap-p","-p"],[0,3,1,"cmdoption-ddk-bootstrap-r","-r"],[0,3,1,"cmdoption-ddk-bootstrap-t","-t"]],"ddk-create-repository":[[0,3,1,"cmdoption-ddk-create-repository-d","--description"],[0,3,1,"cmdoption-ddk-create-repository-p","--profile"],[0,3,1,"cmdoption-ddk-create-repository-r","--region"],[0,3,1,"cmdoption-ddk-create-repository-t","--tags"],[0,3,1,"cmdoption-ddk-create-repository-d","-d"],[0,3,1,"cmdoption-ddk-create-repository-p","-p"],[0,3,1,"cmdoption-ddk-create-repository-r","-r"],[0,3,1,"cmdoption-ddk-create-repository-t","-t"],[0,3,1,"cmdoption-ddk-create-repository-arg-NAME","NAME"]],"ddk-deploy":[[0,3,1,"cmdoption-ddk-deploy-f","--force"],[0,3,1,"cmdoption-ddk-deploy-o","--output-dir"],[0,3,1,"cmdoption-ddk-deploy-p","--profile"],[0,3,1,"cmdoption-ddk-deploy-require-approval","--require-approval"],[0,3,1,"cmdoption-ddk-deploy-f","-f"],[0,3,1,"cmdoption-ddk-deploy-o","-o"],[0,3,1,"cmdoption-ddk-deploy-p","-p"]],"ddk-init":[[0,3,1,"cmdoption-ddk-init-e","--environment"],[0,3,1,"cmdoption-ddk-init-generate-only","--generate-only"],[0,3,1,"cmdoption-ddk-init-t","--template"],[0,3,1,"cmdoption-ddk-init-e","-e"],[0,3,1,"cmdoption-ddk-init-t","-t"],[0,3,1,"cmdoption-ddk-init-arg-NAME","NAME"]],ddk:[[0,3,1,"cmdoption-ddk-debug","--debug"],[0,3,1,"cmdoption-ddk-debug","--no-debug"],[0,3,1,"cmdoption-ddk-version","--version"]]},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"],"2":["py","property","Python property"],"3":["std","cmdoption","program option"]},objtypes:{"0":"py:class","1":"py:method","2":"py:property","3":"std:cmdoption"},terms:{"1":[0,7,9,11,12,13,14,15,19,20,22,23,25],"10":25,"111111111111":0,"120":[15,25],"128":[13,23],"15":19,"1984":0,"2":[11,12,15],"222222222222":0,"256":[15,25],"3":[11,12,15],"30":12,"300":[13,23],"31":10,"3600":[11,14],"5":[7,13,23,25],"60":[13,23],"900":[13,23],"class":[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],"default":[0,3,4,5,6,7,9,10,11,12,13,14,15,16,17,19,20,22,23,24,25],"function":[10,13,14,15,16,17,18,19,20,22,25],"int":[7,9,10,11,14,15,19,20,22,23,25],"new":[0,23],"null":10,"public":[10,16],"return":[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,21,22,23,24,25],"static":[10,11,12,13,14,15,16,17,18],"super":[7,8],"true":[0,10,12,13,16,23],"while":10,A:[0,10,13,14,22,23,25],By:6,For:[6,7,8,10,11,12,13,14,15,16,17,18,21],If:[0,2,10,11,13,14,19,22,23],It:[3,10,24,25],The:[0,3,7,9,10,11,12,13,14,15,16,19,20,21,22,23,24,25],To:[7,8],_:3,__init__:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],_event_pattern:8,_queue:7,abil:3,abl:[3,10],about:10,access:[10,14,16],access_control:16,account:[0,2,3,4],acl:16,action:3,add:[3,6,7,8,9,13,19,20,22,23,25],add_alarm:7,add_check:3,add_custom_stag:3,add_notif:[3,6],add_rul:6,add_security_lint_stag:3,add_source_act:3,add_stag:[3,6],add_synth_act:3,add_test_stag:3,addit:[2,3,9,10,11,12,13,14,15,16,17,18,19,20,22],additional_role_policy_stat:[9,19,20,22],address:10,after:[3,11,15,23,25],afterward:22,against:7,alarm:[7,9,19,20,22,23,25],alarm_comparison_oper:7,alarm_evaluation_period:7,alarm_id:7,alarm_metr:7,alarm_threshold:7,alia:[12,14],alloc:[10,11,15,25],allocated_storag:10,allow:[10,11,12,13,14,15,16,17,18],allow_all_outbound:15,allow_major_version_upgrad:10,allow_public_subnet:15,alwai:[0,11,12,15],amazon:[2,3,10,11,12,13,14,15,16,17,18,21,23,24,25],amazons3:24,amount:[10,15,25],an:[6,8,9,10,14,19,21,23,24,25],ani:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],api:[3,10,11,12,13,14,15,16,17,18],app:3,appear:[13,23],appflow:19,appli:[0,10,14,16,17],applic:[2,3],approv:[0,3],ar:[0,3,8,9,10,11,12,13,14,15,16,17,18,21,22,23,25],arg:[0,2,3,6,7,8,9,19,20,21,22,23,24,25],argument:[0,2,11,12,15,22],arn1:0,arn2:0,arn:[0,2,3,10],artifact:3,artifactori:3,ascii:10,assembl:[0,3],associ:[10,13],assum:13,athena:20,attach:0,attribut:[2,3,6,7,8,9,19,20,21,22,23,24,25],aurora:10,auto_delete_object:16,auto_minor_version_upgrad:10,automat:[10,14],avail:10,availability_zon:10,availabilityzon:10,avoid:3,aw:[0,2,3,4,8,10,11,12,13,14,15,16,17,18,21,23,24,25],aws_appflow:19,aws_cdk:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],aws_cloudwatch:7,aws_codestarnotif:3,aws_ddk:26,aws_ddk_cor:26,aws_dm:10,aws_ev:[6,8,9,21,23,24,25],aws_glu:22,aws_glue_alpha:[11,22],aws_iam:[3,9,11,13,15,19,20,22,25],aws_kinesi:[13,14,23],aws_kinesisfirehos:13,aws_kinesisfirehose_alpha:[13,23],aws_kinesisfirehose_destin:13,aws_kinesisfirehose_destinations_alpha:[13,23],aws_km:[12,13,14,20,23],aws_lambda:[15,25],aws_log:[13,23],aws_s3:[13,16,21,23],aws_sn:6,aws_sq:[15,17,25],aws_stepfunct:[9,18],aws_stepfunctions_task:20,awslab:[2,3],az:10,azuredb:10,back:13,bandit:3,base:[3,24,26],batch_siz:25,been:12,befor:[9,12,13,19,20,22,23,25],being:25,best:3,between:19,block:[3,16],block_al:16,block_public_access:16,blockpublicaccess:16,bool:[2,3,6,10,12,13,15,16,18,23,25],bootstrap:2,boundari:[0,2],branch:3,broaden:0,bucket:[3,10,13,16,17,20,21,23,24],bucket_fold:10,bucket_nam:[10,16,23,24],bucket_owner_full_control:16,bucket_prop:16,bucketaccesscontrol:16,bucketencrypt:16,bucketfold:10,buffer:[13,23],buffering_interv:[13,23],buffering_s:[13,23],build:[3,9],build_state_machin:9,builder:3,c5:21,call:[3,15,25],can:[2,3,5,10,14,16,25],capac:[10,14],captur:24,catalog:20,catalog_nam:20,cd:3,cdc:10,cdk:[0,2,3,4,10,11,12,13,14,15,16,17,18],cdk_version:[3,4],cfn:3,cfncrawler:22,cfnendpoint:10,cfnflow:19,cfnreplicationinst:10,cfnreplicationtask:10,chang:0,chap_sourc:21,chap_task:[10,21],charact:10,check:[3,19],choos:[10,14],chunki:3,ci:3,cicd:26,cicdpipelin:3,cli:0,cloud:[0,3,10],cloud_assembly_file_set:3,cloudform:[12,14],cloudwatch:[7,13,23],cloudwatch_alarm:7,cmk:[12,13],code:[0,3,15,25],codeartifact:3,codeartifact_domain:3,codeartifact_domain_own:3,codeartifact_repositori:3,codebuildstep:3,codecommit:3,codepipelinesourc:3,collect:22,com:[2,3,10,11,12,13,14,15,16,17,18,21,24],command:[0,3],common:[13,14,18],compar:[7,9,19,20,22,25],comparison:7,comparisonoper:7,complet:[10,11,12,13,14,15,16,17,18,23],compress:[13,23],comput:10,condit:10,config:[3,26],config_strategi:4,configstrategi:4,configur:[2,3,4,5,10,11,12,13,14,15,16,17,18,20],connect:[3,25],construct:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],constructor:3,consum:6,contain:[0,3,4,5,10,19,20,22],content:17,content_based_dedupl:17,continu:3,costcent:0,crawl:22,crawler:22,crawler_nam:22,crawler_rol:22,creat:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,22,23,24],creation:[6,9,23],credenti:0,csv:10,custom:[3,6,13],customizingtask:[10,21],cw:[9,19,20,22,25],d:0,dai:12,data:[6,7,8,9,10,13,14,19,20,21,22,23,25,26],data_key_reus:17,data_output_prefix:[13,23],data_stream:[14,23],data_stream_en:23,databas:[20,22],database_nam:[20,22],datastag:[6,9,19,20,22],db2:10,dd:23,ddd:10,ddk:[2,3,5,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],dead:25,dead_letter_queu:[15,17],dead_letter_queue_en:[15,25],deadletterqueu:[17,25],debug:0,def:[7,8],default_argu:11,defaultstacksynthes:2,defin:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],definit:[9,10,21],delet:12,deliv:[13,23],deliveri:[3,13,23],delivery_delai:17,delivery_stream:[13,23],delivery_stream_nam:[13,23],deliverystream:13,depend:[10,11,12,13,14,15,16,17,18],deploi:[2,3],deploy:[0,3,10],dequeu:[17,25],describ:[8,9,21,23,24,25],descript:[0,6,7,8,9,11,15],destin:[10,13,21,23],destination_flow_config:19,destination_prop:13,destinationflowconfigproperti:19,destinations3backupprop:13,detail:[3,7,8],detail_typ:[7,8],determin:[4,15,25],dev:[0,3],devstag:3,dict:[2,4,9,19,20,22],dictionari:[4,5],differ:5,differnet:2,digit:10,dir:0,directori:0,disabl:10,disambigu:2,displai:10,distinct:10,dlq:[15,25],dm:[10,21],doc:[2,3,10,11,12,13,14,15,16,17,18,21,24],docdb:10,document:[3,10,11,12,13,14,15,16,17,18,21],domain:3,domain_own:3,don:10,durat:[11,12,13,14,15,18,19,23,25],dure:[3,10],dynamodb:10,e:[0,3],east:0,effect:23,elasticsearch:10,empti:2,enabl:[2,10,15,18,23,24,25],enable_key_rot:12,enable_profiling_metr:11,enable_statist:10,encrypt:[3,10,12,13,14,16,17,20,23],encryption_kei:[13,14,20,23],encryption_opt:20,encryptionkei:14,encryptionopt:20,end:10,endpoint:10,endpoint_prop:10,endpoint_s3_prop:10,endpoint_settings_s3:10,endpoint_settings_s3_prop:10,endpoint_typ:10,endpointarn:10,endpointtyp:10,enforc:[14,16],enforce_ssl:16,engin:10,engine_nam:10,engine_vers:10,ensur:3,env:[3,4],env_config:4,environ:[0,2,3,4,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],environment_id:[2,3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],error:[13,23,25],error_output_prefix:[13,23],evalu:[13,23],even:0,event:[3,6,8,9,21,23,24,25],event_bridge_en:16,event_nam:[8,24],event_pattern:[6,8,9,21,23,24,25],event_target:6,eventbridg:[16,23,24],eventpattern:[6,7,8,9,21,23,24,25],exampl:[3,6,7,8,24],execut:[9,11,15,19,20,22,25],execute_security_lint:3,execute_test:3,exist:[3,6],exit:0,explicit:[11,12,15],extern:[10,14,21],external_table_definit:[10,21],externaltabledef:21,externaltabledefinit:10,f:0,factori:[10,11,12,13,14,15,16,17,18],fail:[9,13,19,20,22,23],fals:[0,3,6,10,15,16,23,25],featur:3,file:[0,3,5,10,11,12,13,14,15,16,17,18],firehos:[13,14,23],firehose_prop:13,flow:19,flow_execution_status_check_period:19,flow_nam:19,fn:15,folder:10,follow:[11,12,13,15,23],forc:0,form:4,format:[10,21],framework:0,from:[0,2,3,4,5,7,8,11,12,13,15,16,17,21,25],front:23,full:10,function_nam:15,function_prop:15,g:[0,3],gener:[0,14],get:[4,5,8,9,21,23,24,25],get_cdk_vers:4,get_config:5,get_env:4,get_env_config:4,get_event_pattern:[7,8,9,21,23,24,25],get_resource_config:4,get_tag:4,get_target:[6,7,8,9,21,23,25],gigabyt:10,git:0,github:[2,3],given:[4,5],glue:[11,22],grant:16,greater_than_threshold:7,group:[10,13,23],guid:2,gzip:[13,23],ha:12,handler:[15,25],have:[2,10,16,23],helper:9,hh24:10,hh:23,hold:[13,23],hope:3,hour:14,how:[2,3,4,21],html:[2,3,10,11,12,13,14,15,16,17,18,21,24],http:[2,3,10,11,12,13,14,15,16,17,18,21,24],hyphen:10,i:0,ialarm:7,iam:[0,9,10,13,19,20,22],iam_polici:0,ibucket:[13,16,21,23],ichain:9,id:[0,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],idataprocessor:13,ideliverystream:[13,23],ident:0,identifi:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],idestin:13,ifilesetproduc:3,ifunct:[15,25],ijob:[11,22],ikei:[12,13,14,23],ilayervers:25,iloggroup:[13,23],imetr:7,immedi:[13,23],implement:[7,8,24,25],implicitli:[13,23],includ:[2,3,10,11,12,13,14,15,16,17,18],incom:[13,23],index:26,indic:[10,12,13],infer:0,inform:[10,21],infrastructur:[3,7,8],ingest:[19,23],inherit:[2,7,8],initi:10,input:[8,9,19,20,21,22,23,25],instanc:[3,4,6,10],integr:3,interfac:3,interpret:21,invoc:25,invok:[8,9,13,21,23,25],io:[2,3],ip:10,iqueu:[15,17,25],irol:[11,13,15,22,25],iruletarget:[6,7,8,9,21,23,25],isecurityconfigur:11,isn:10,istream:[13,14],itop:6,its:23,job:[11,22],job_arg:22,job_nam:[11,22],job_prop:11,job_rol:22,jobexecut:[11,22],json:[3,4,5,10,11,12,13,14,15,16,17,18,21],jsonconfigstrategi:4,kafka:10,kb:10,kei:[2,3,5,10,12,13,14,17,20,23,24],key_prefix:24,key_prop:12,kind:[14,16],kinesi:[10,13,14,23],kinesis_delivery_stream_alarm_evaluation_period:23,kinesis_delivery_stream_alarm_threshold:23,kinesis_prop:14,km:[3,10,12,13,14,20,23],kms_key_id:10,kms_manag:17,kmskeyid:10,kwarg:[2,3,6,7,8,9,19,20,21,22,23,24,25],lambda:[15,25],lambda_funct:25,lambda_function_errors_alarm_evaluation_period:25,lambda_function_errors_alarm_threshold:25,larg:21,latest:[2,3,10,21,24],layer:25,leav:2,length:[13,23],letter:[10,25],level:[2,24],link:7,lint:3,list:[0,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],load:[5,10],loc:3,local:0,log:[0,13,23],log_group:[13,23],loggroup:13,lowercas:10,machin:[9,18,19,20,22],main:3,mainten:10,major:10,manag:[0,2,12,13],manual:[0,3],manual_approv:3,map:[10,21],mariadb:10,master:[13,14],match:[6,8,9,21,23,25],max:10,max_concurrent_run:11,max_event_ag:15,max_file_s:10,max_message_size_byt:17,max_receive_count:25,max_retri:11,maximum:[10,13,18,23,25],mb:[15,25],mebibyt:[13,23],memori:[10,15,25],memory_s:[15,25],messag:[17,25],method:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],metric:7,mi:10,migrat:10,migration_typ:10,min:10,minimum:[13,23],minor:10,mm:23,mode:14,modifi:3,modul:26,mongodb:10,more:[3,10,21],move:25,multi:[2,10],multi_az:10,multipl:[2,3],must:[10,14,23,24,25],mutat:3,my:[3,6,7],my_glue_stag:6,my_lambda_stag:6,mypipelin:3,mysql:10,mystag:[7,8],nag:3,name:[0,2,3,6,7,8,9,10,11,13,14,15,16,17,18,19,20,22,23,24,25],need:0,neptun:10,never:0,next:6,non:3,none:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],notif:[3,6,16,23,24],notification_rul:3,notificationrul:3,notifications_top:6,notifications_topic_arn:3,number:[7,9,10,11,12,14,17,19,20,22,25],o:0,object:[10,13,15,19,23,24,25],occur:10,off:0,one:[6,23],onli:[0,2,10,14],opensearch:10,oper:7,option:[0,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],oracl:10,order:[11,12,15,23,24],other:[2,10],otherwis:[3,11,12,14,15],output:[0,6,9,20,21,22,23,24,25],output_bucket_nam:20,output_dir:0,output_object_kei:20,over:[7,9,19,20,22,25],overal:10,overrid:[3,6,23],override_rul:6,owner:3,p:0,page:[10,26],pair:2,paramet:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],parquet:10,particular:14,path:[5,10],pattern:[6,8,9,21,23,24,25],pending_window:12,perform:[0,13],period:[7,9,12,19,20,22,23,25],permiss:[0,2,10,13,16],permissions_boundari:0,permissions_boundary_arn:2,physic:14,pipelin:[3,26],pipeline_nam:3,polici:[0,2,3,9,16,17,19,20,22],policystat:[3,9,19,20,22],possibl:3,postgr:10,postgresql:10,practic:3,predefin:[11,16],preexist:[22,23,25],prefer:[11,12,15],preferred_maintenance_window:10,prefix:[0,2,13,21,23,24],previou:6,previous_stag:6,privat:[3,10],process:25,processor:13,produc:[3,9,21,23,24,25],profil:[0,15],project:0,properti:[2,3,7,8,9,10,11,12,13,14,15,16,17,18,19,21,22,23,24,25],protect:2,provid:[0,4,10,13,14,23],provis:14,publicly_access:10,pull:3,pytest:3,python:[0,3,10,11,12,13,14,15,16,17,18],python_3_9:25,qualifi:[0,2],queri:20,query_str:20,queue:[7,15,17,25],queue_nam:17,queue_prop:17,queueencrypt:17,r:0,rai:18,rang:10,read:[4,5,13],receive_message_wait_tim:17,record:[13,14,23,25],redshift:10,refer:[10,11,12,13,14,15,16,17,18],region:[0,4,14],releas:[2,3],remain:14,remov:[12,16,17],removal_polici:[12,16,17],removalpolici:[12,16,17],replic:[10,21],replication_inst:10,replication_instance_arn:10,replication_instance_class:[10,21],replication_instance_identifi:10,replication_instance_prop:10,replication_subnet_group_identifi:10,replication_task:10,replication_task_prop:10,replication_task_set:10,repo:[0,3,4,5],repositori:3,repository_nam:3,repres:[4,6,7,8,10,19,20,21,22,23,24,25],request:16,requir:[0,7,8,10],require_approv:0,reserved_concurrent_execut:15,resourc:[0,4,26],resource_identifi:10,respect:[11,12,15],respons:10,retain:[12,16,17],retention_period:[14,17],retriev:25,retry_attempt:15,reus:3,role:[0,3,9,10,11,13,15,19,20,22,25],role_policy_stat:3,root:[4,5,24],rotat:[3,12],rout:[9,21,23,24,25],row:10,rule:[3,6,8,9,21,23,24,25],run:[3,11,18,19,22],runtim:[15,25],s3:[8,10,13,16,20,21,23,24],s3_backup:13,s3_destin:13,s3_manag:16,s3_set:10,s3bucket:13,s3settingsproperti:10,s:[7,9,21,22,23,24,25],same:2,save:3,schema_nam:10,scm:3,scope:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],search:26,second:[11,13,14,15,19,23,25],secur:[0,3,10,11],security_configur:11,see:[3,10,21],select:[9,21,23,24,25],self:[3,6,7,8],send:[3,16,17],sensit:0,sequenc:13,server:[13,14,16],servic:[12,16,17,18],service_access_role_arn:10,set:[0,2,3,10,13,14,23,25],sever:3,sfn:18,sh:3,shard:14,shard_count:14,should:[0,3,4,8,9,10,12,13,16,21,23,25],show:0,side:[13,14,16],simpl:[16,17],simplifi:9,singl:25,size:[10,13,23],skip:6,skip_rul:6,sn:[3,6],some:3,sourc:[0,3,8,10,13,15,21,25],source_act:3,source_bucket:21,source_bucket_prefix:21,source_endpoint_arn:10,source_flow_config:19,source_stream:13,sourceflowconfigproperti:19,specif:[0,3,6],specifi:[3,5,6,7,9,10,12,14,16,18,19,20,22,25],sq:[7,15,17,25],sql:20,sqlserver:10,sqs_queue:25,sqsfactori:7,sqsqueue:7,ssl:[3,16],stack:[0,2,3,12,16,17],stage:[3,6,7,8,9,26],stage_id:3,stage_nam:3,standard:2,start:[3,20],state:[9,18,19,20,22],state_machin:[9,18],state_machine_failed_executions_alarm_evaluation_period:[9,19,20,22],state_machine_failed_executions_alarm_threshold:[9,19,20,22],state_machine_input:[9,19,20,22],state_machine_nam:18,state_machine_prop:18,state_machine_typ:18,statemachin:[9,18],statemachinetyp:18,statement:[9,19,20,22],statist:[7,10],statu:19,step:[3,18,19,20,22],storag:[10,16],store:[10,14,22],str:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],strategi:4,stream:[13,14,23],stream_mod:14,stream_nam:14,streamencrypt:[13,14],streammod:14,string:10,structur:[0,3,9,21,23,24,25],subnet:10,suppli:[14,19,22],support:[2,3,10,11,12,13,14,15,16,17,18],sybas:10,synth:3,synth_act:3,synthes:[0,2,3],system:[0,10],t:[0,10],tabl:[10,21],table_map:[10,21],table_nam:10,tablemap:21,tag:[0,2,4],tag_kei:4,target:[6,8,9,10,21,22,23,24,25],target_bucket:21,target_bucket_prefix:21,target_endpoint_arn:10,targetsproperti:22,task:[10,19,21],taskproperti:19,taskset:10,templat:0,termin:[2,11,15,25],termination_protect:2,test:3,thei:[17,22],them:[3,9,13,21,23,24,25],thi:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],threshold:[7,9,19,20,22,23,25],through:14,time:[10,11,13,15,17,18,19,23,25],timeout:[11,15,18,25],topic:[3,6],trace:[15,18],tracing_en:18,transform:[13,22,23,25],trigger:[9,19,20,22,25],trust:0,trusted_account:0,turn:[0,16],type:[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,21,22,23,24,25],unencrypt:[13,14],union:10,uniqu:10,unsuccessfulli:[17,25],up:[0,10,13],upgrad:10,url:0,us:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,21,23,24,25],user:3,userguid:[10,21,24],usual:6,utc:10,v1:[3,10,13,14],v2:[2,10,11,12,15,16,17,18],valid:10,valu:[2,4,7,10,11,12,15,23],version:[0,3,4,10,16],via:[3,6,14],virtual:[0,10],visibility_timeout:[17,25],vpc:10,vpc_security_group_id:10,wait:[12,19],weekli:10,were:17,what:[0,8,9,17,21,23,25],when:[8,9,10,11,12,13,16,17,21,23,25],where:[0,4,13,23],whether:[10,12,16,17,18],which:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],window:10,wire:6,within:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],without:0,work:10,worker:11,worker_count:11,worker_typ:11,workertyp:11,workgroup:20,write:[13,23],x:18,you:[2,10,13,14,23],your:[0,3,10,13,23],yyyi:23,zone:10},titles:["aws_ddk package","aws_ddk_core package","aws_ddk_core.base.BaseStack","aws_ddk_core.cicd.CICDPipelineStack","aws_ddk_core.config.Config","aws_ddk_core.config.JSONConfigStrategy","aws_ddk_core.pipelines.DataPipeline","aws_ddk_core.pipelines.DataStage","aws_ddk_core.pipelines.EventStage","aws_ddk_core.pipelines.StateMachineStage","aws_ddk_core.resources.DMSFactory","aws_ddk_core.resources.GlueFactory","aws_ddk_core.resources.KMSFactory","aws_ddk_core.resources.KinesisFirehoseFactory","aws_ddk_core.resources.KinesisStreamsFactory","aws_ddk_core.resources.LambdaFactory","aws_ddk_core.resources.S3Factory","aws_ddk_core.resources.SQSFactory","aws_ddk_core.resources.StepFunctionsFactory","aws_ddk_core.stages.AppFlowIngestionStage","aws_ddk_core.stages.AthenaSQLStage","aws_ddk_core.stages.DMSS3ToS3Stage","aws_ddk_core.stages.GlueTransformStage","aws_ddk_core.stages.KinesisToS3Stage","aws_ddk_core.stages.S3EventStage","aws_ddk_core.stages.SqsToLambdaStage","AWS DDK API Documentation"],titleterms:{api:26,appflowingestionstag:19,athenasqlstag:20,aw:26,aws_ddk:0,aws_ddk_cor:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],base:[1,2],basestack:2,bootstrap:0,cicd:[1,3],cicdpipelinestack:3,config:[1,4,5],creat:0,data:1,datapipelin:6,datastag:7,ddk:[0,26],deploi:0,dmsfactori:10,dmss3tos3stag:21,document:26,eventstag:8,gluefactori:11,gluetransformstag:22,indic:26,init:0,jsonconfigstrategi:5,kinesisfirehosefactori:13,kinesisstreamsfactori:14,kinesistos3stag:23,kmsfactori:12,lambdafactori:15,packag:[0,1,26],pipelin:[1,6,7,8,9],repositori:0,resourc:[1,10,11,12,13,14,15,16,17,18],s3eventstag:24,s3factori:16,sqsfactori:17,sqstolambdastag:25,stage:[1,19,20,21,22,23,24,25],statemachinestag:9,stepfunctionsfactori:18,tabl:26}}) \ No newline at end of file diff --git a/release/0.4.0/how-to/custom-stage.html b/release/0.4.0/how-to/custom-stage.html new file mode 100644 index 00000000..05e1c736 --- /dev/null +++ b/release/0.4.0/how-to/custom-stage.html @@ -0,0 +1,197 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ +

I’ll write a file to my application stack package called sns.py.

+ +
from typing import Any, Dict, List, Optional
+
+from aws_cdk.aws_events import EventPattern, IRuleTarget
+from aws_cdk.aws_events_targets import SnsTopic
+from aws_cdk.aws_sns import Topic, ITopic
+from aws_cdk.aws_kms import Key
+from aws_ddk_core.pipelines import DataStage # importing DataStage class for ddk core
+from constructs import Construct
+
+
+class SNSStage(DataStage):
+    """
+    Class that represents a SNS DDK Stage.
+    """
+
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+        **kwargs: Any,
+    ) -> None:
+        """
+        DDK SNS stage.
+        """
+        super().__init__(scope, id, **kwargs)
+
+        self._event_detail_type: str = f"{id}-event-type"
+
+        # create topic
+        self._topic = Topic(
+            self, f"{id}-topic"
+        )
+
+    @property
+    def topic(self) -> ITopic:
+        """
+        Return: Topic
+            The SNS Topic
+        """
+        return self._topic
+
+    # method to retrieve Event Pattern
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=[self._event_detail_type],
+        )
+
+    # methord to retrieve Event Rule Target
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SnsTopic(self._topic)]
+
+
+ +

Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

+ +
.....
+from ddk_app.sns import SNSStage # import my class I built above
+
+
+class DDKApplicationStack(BaseStack):
+    def __init__(
+        self, scope: Construct, id: str, environment_id: str, **kwargs: Any
+    ) -> None:
+        super().__init__(scope, id, environment_id, **kwargs)
+
+        # create my bucket
+        ddk_bucket = S3Factory.bucket(
+            self,
+            "ddk-bucket",
+            environment_id,
+        )
+        
+        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
+        s3_event_stage = S3EventStage(
+            scope=self,
+            id="ddk-s3-event",
+            environment_id=environment_id,
+            event_names=["Object Created"],
+            bucket_name=ddk_bucket.bucket_name,
+            key_prefix="raw",
+        )
+
+        # instantiate my sns stage class
+        sns_stage = SNSStage(
+            scope=self,
+            id="ddk-sns",
+            environment_id=environment_id,
+        )
+
+        # construct my DataPipeline
+        (
+            DataPipeline(scope=self, id="ddk-pipeline")
+                .add_stage(s3_event_stage)
+                .add_stage(sns_stage)
+        )    
+
+ +

Build

+

Use ddk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.4.0/how-to/ddk-configuration.html b/release/0.4.0/how-to/ddk-configuration.html new file mode 100644 index 00000000..888fc635 --- /dev/null +++ b/release/0.4.0/how-to/ddk-configuration.html @@ -0,0 +1,165 @@ + + + + + + +DDK Configuration | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core supports environment specific configuration with the usage of the ddk.json file. You can leverage it to apply different configurations to each of your DDK environments.

+ +

Example

+
{
+    "environments": {
+        "dev": {
+            "account": "222222222222",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"},
+                "ddk-sqs-lambda-function": {"memory_size": 128},
+                "ddk-sqs-lambda-queue": {"retention_period": 5040}
+            },
+            "tags": {"CostCenter": "1984"}
+        },
+        "prod": {
+            "account": "333333333333",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"},
+                "ddk-sqs-lambda-function": {"memory_size": 512},
+                "ddk-sqs-lambda-queue": {"retention_period": 10080}
+            },
+            "tags": {"CostCenter": "2014"}
+        }
+    }
+}
+
+ +

For instance, based on the above configuration, the DDK Lambda function resource with id ddk-sqs-lambda-function has a memory size of 128 Mb in in the dev environment compared to 512 in the prod environment.

+ +

Implementation

+

Most DDK constructs can be configured via ddk.json. For example, the DDK BaseStack class allows the following parameters:

+
prefix: str
+qualifier: str
+termination_protection: str
+tags: Dict[str, str]
+
+

If the construct supports environment configuration, it will be listed in the documentation under Supported DDK Environment Configuration. See the API Documentation for a list of DDK constructs.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in ddk.json within the resources{} object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2},
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

Property Precedence

+

Explicit properties will always take precedence over config values.

+ +
# A DDK resource is configured with an explicit property 'shard_count'
+data_stream = KinesisStreamsFactory.data_stream(
+    self, id=f"example-data-stream", environment_id=environment_id, shard_count=10
+)
+
+

The above Kinesis Data Stream will be created with value ‘shard_count=10’ even if ddk.json has a different value

+ +

This configuration value would be overridden

+
{
+    "environments": {
+        "test": {
+            "account": "3333333333333",
+            "region": "us-east-1",
+            "resources": {
+                "example-data-stream": {"shard_count": 5},
+            }
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.4.0/how-to/index.html b/release/0.4.0/how-to/index.html new file mode 100644 index 00000000..61012d48 --- /dev/null +++ b/release/0.4.0/how-to/index.html @@ -0,0 +1,1841 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.4.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configuration + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.4.0/how-to/multi-account-deployment.html b/release/0.4.0/how-to/multi-account-deployment.html new file mode 100644 index 00000000..fab35e4f --- /dev/null +++ b/release/0.4.0/how-to/multi-account-deployment.html @@ -0,0 +1,188 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

ddk bootstrap allows us to setup cross-account access for a DDK account.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: ddk bootstrap -e cicd -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: ddk bootstrap -e dev -p ${DEV_AWS_PROFILE} -a 111111111111
  • +
  • [test]: ddk bootstrap -e test -p ${TEST_AWS_PROFILE} -a 111111111111
  • +
+ +

The dev & test environments are bootstrapped with -a 111111111111 to setup the required cross account access for the cicd account to manage resources within them.

+ +

Configuration

+

ddk.json must be configured with all your accounts.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ +

app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

+ +
#!/usr/bin/env python3
+
+import aws_cdk as cdk
+from aws_ddk_core.cicd import CICDPipelineStack
+from ddk_app.ddk_app_stack import DDKApplicationStack
+from aws_ddk_core.config import Config
+
+
+app = cdk.App()
+
+
+class ApplicationStage(cdk.Stage):
+    def __init__(
+        self,
+        scope,
+        environment_id: str,
+        **kwargs,
+    ) -> None:
+        super().__init__(scope, f"Ddk{environment_id.title()}Application", **kwargs)
+        DDKApplicationStack(self, "DataPipeline", environment_id)
+
+
+config = Config()
+(
+    CICDPipelineStack(
+        app,
+        id="DdkCodePipeline",
+        environment_id="cicd",
+        pipeline_name="ddk-application-pipeline",
+    )
+    .add_source_action(repository_name="ddk-repository")
+    .add_synth_action()
+    .build()
+    .add_stage("dev", ApplicationStage(app, "dev", env=config.get_env("dev")))
+    .add_stage("test", ApplicationStage(app, "test", env=config.get_env("test")))
+    .synth()
+)
+
+app.synth()
+
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
ddk create-repository ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running ddk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment. +Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.4.0/how-to/private-artifactory.html b/release/0.4.0/how-to/private-artifactory.html new file mode 100644 index 00000000..24928d9f --- /dev/null +++ b/release/0.4.0/how-to/private-artifactory.html @@ -0,0 +1,90 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for PII). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example: +https://github.com/aws-samples/aws-ddk-examples/tree/main/private_artifactory

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.4.0/how-to/spend-first-hour.html b/release/0.4.0/how-to/spend-first-hour.html new file mode 100644 index 00000000..f81c2d7b --- /dev/null +++ b/release/0.4.0/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.4.0/how-to/understand-concepts.html b/release/0.4.0/how-to/understand-concepts.html new file mode 100644 index 00000000..11917b64 --- /dev/null +++ b/release/0.4.0/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK over the AWS CDK?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.4.0/index.html b/release/0.4.0/index.html new file mode 100644 index 00000000..2504ae8f --- /dev/null +++ b/release/0.4.0/index.html @@ -0,0 +1,1847 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.4.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configuration + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.5.1/api/_static/basic.css b/release/0.5.1/api/_static/basic.css new file mode 100644 index 00000000..bf18350b --- /dev/null +++ b/release/0.5.1/api/_static/basic.css @@ -0,0 +1,906 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 450px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a.brackets:before, +span.brackets > a:before{ + content: "["; +} + +a.brackets:after, +span.brackets > a:after { + content: "]"; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +dl.footnote > dt, +dl.citation > dt { + float: left; + margin-right: 0.5em; +} + +dl.footnote > dd, +dl.citation > dd { + margin-bottom: 0em; +} + +dl.footnote > dd:after, +dl.citation > dd:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dt:after { + content: ":"; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/release/0.5.1/api/_static/doctools.js b/release/0.5.1/api/_static/doctools.js new file mode 100644 index 00000000..e509e483 --- /dev/null +++ b/release/0.5.1/api/_static/doctools.js @@ -0,0 +1,326 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated === 'undefined') + return string; + return (typeof translated === 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated === 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) === 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this === '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keydown(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box, textarea, dropdown or button + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' + && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey + && !event.shiftKey) { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + break; + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + break; + } + } + }); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/release/0.5.1/api/_static/documentation_options.js b/release/0.5.1/api/_static/documentation_options.js new file mode 100644 index 00000000..437fc25d --- /dev/null +++ b/release/0.5.1/api/_static/documentation_options.js @@ -0,0 +1,12 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: '0.5.1', + LANGUAGE: 'None', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false +}; \ No newline at end of file diff --git a/release/0.5.1/api/_static/file.png b/release/0.5.1/api/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/release/0.5.1/api/_static/jquery-3.5.1.js b/release/0.5.1/api/_static/jquery-3.5.1.js new file mode 100644 index 00000000..50937333 --- /dev/null +++ b/release/0.5.1/api/_static/jquery-3.5.1.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk package

+
+

ddk

+

AWS DDK CLI.

+
ddk [OPTIONS] COMMAND [ARGS]...
+
+
+

Options

+
+
+--version
+

Show the version and exit.

+
+
+
+--debug, --no-debug
+

Turn debug logging on/off.

+
+
Default
+

False

+
+
+
+
+

bootstrap

+

Bootstrap the AWS account with DDK resources.

+
ddk bootstrap [OPTIONS]
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+--prefix <prefix>
+

The prefix to resource names.

+
+
Default
+

ddk

+
+
+
+
+
+--qualifier <qualifier>
+

The CDK bootstrap qualifier.

+
+
+
+-a, --trusted-accounts <trusted_accounts>
+

List of trusted AWS accounts to perform deployments (e.g. -a 111111111111 -a 222222222222).

+
+
+
+-i, --iam-policies <iam_policies>
+

List of IAM managed policy ARNs that should be attached to the role performing deployments. +(e.g. -i arn1 -i arn2)

+
+
+
+--permissions-boundary <permissions_boundary>
+

IAM managed permissions boundary policy ARN that should be attached to the role performing deployments.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the stack (e.g -t CostCenter 1984 -t Framework DDK).

+
+
+
+

create-repository

+
+

Create a code repository from the source system provider.

+

NAME is the name of the repository.

+
+
ddk create-repository [OPTIONS] NAME
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+-d, --description <description>
+

The description of the repository.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the repository (e.g -t CostCenter 1984 -t Framework DDK).

+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+

deploy

+

Deploy DDK stacks to AWS account.

+
ddk deploy [OPTIONS]
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+--require-approval <require_approval>
+

What security-sensitive changes need manual approval.

+
+
Options
+

never | any-change | broadening

+
+
+
+
+
+-f, --force
+

Always deploy stack even if templates are identical.

+
+
+
+-o, --output-dir <output_dir>
+

Directory where cloud assembly is synthesized.

+
+
+
+

init

+
+

Create the local structure for a new AWS DDK Python project.

+

NAME is the name of the project.

+
+
ddk init [OPTIONS] NAME
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-t, --template <template>
+

A directory containing a project template directory, or a URL to a git repository

+
+
+
+--generate-only
+

If true, only generates project files, without setting up a git repo or a virtual environment

+
+
Default
+

False

+
+
+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/aws_ddk_core.html b/release/0.5.1/api/core/aws_ddk_core.html new file mode 100644 index 00000000..095c1306 --- /dev/null +++ b/release/0.5.1/api/core/aws_ddk_core.html @@ -0,0 +1,450 @@ + + + + + + + + + aws_ddk_core package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core package

+ +
+

Base

+
++++ + + + + + +

BaseStack(*args, **kwargs)

Base Stack to inherit from.

+
+
+

CICD

+
++++ + + + + + +

CICDPipelineStack(*args, **kwargs)

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+
+
+

Config

+
++++ + + + + + + + + +

Config([config_strategy])

Class used to read configuration with a configurable strategy.

JSONConfigStrategy([path])

Read config from ddk.json in the root of the repo.

+
+
+

Data Pipelines

+
++++ + + + + + + + + + + + + + + +

DataPipeline(*args, **kwargs)

Class that represents a data pipeline.

DataStage(*args, **kwargs)

Class that represents a data stage within a data pipeline.

EventStage(*args, **kwargs)

Class that represents an event stage within a data pipeline.

StateMachineStage(*args, **kwargs)

DataStage with helper methods to simplify StateMachine stages creation.

+
+
+

Resources

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

DataBrewFactory()

Class factory to create and configure DataBrew DDK resources, including Jobs.

DMSFactory()

Class factory create and configure DMS DDK resources, including endpoints, replication tasks and replication instances.

GlueFactory()

Class factory to create and configure Glue DDK resources, including Jobs.

KinesisFirehoseFactory()

Class factory create and configure Kinesis DDK resources, including Delivery Streams.

KinesisStreamsFactory()

Class factory create and configure Kinesis DDK resources, including Data Streams.

KMSFactory()

Class factory to create and configure Key Management Service DDK resources, including Keys.

LambdaFactory()

Class factory to create and configure Lambda DDK resources, including Functions.

S3Factory()

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

SQSFactory()

Class factory create and configure Simple Queue Service DDK resources, including Queues.

StepFunctionsFactory()

Class factory create and configure AWS Step Functions Service DDK resources, including State Machines.

+
+
+

Data Stages

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + +

AppFlowIngestionStage(*args, **kwargs)

Class that represents an AppFlow DDK DataStage.

AthenaSQLStage(*args, **kwargs)

Class that represents a Athena SQL DDK DataStage.

DataBrewTransformStage(*args, **kwargs)

Class that represents a DataBrew Transform DDK DataStage.

DMSS3ToS3Stage(*args, **kwargs)

Class that represents a DMS to S3 to S3 Replication DDK Stage.

GlueTransformStage(*args, **kwargs)

Class that represents a Glue Transform DDK DataStage.

KinesisToS3Stage(*args, **kwargs)

Class that represents a Firehose to S3 Ingestion DDK Stage.

S3EventStage(*args, **kwargs)

Class that represents an S3 Event DDK Stage.

SqsToLambdaStage(*args, **kwargs)

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.base.BaseStack.html b/release/0.5.1/api/core/stubs/aws_ddk_core.base.BaseStack.html new file mode 100644 index 00000000..b791a04e --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.base.BaseStack.html @@ -0,0 +1,439 @@ + + + + + + + + + aws_ddk_core.base.BaseStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.base.BaseStack

+
+
+class aws_ddk_core.base.BaseStack(*args: Any, **kwargs)
+

Base Stack to inherit from.

+

Includes configurable termination protection, synthesizer, permissions boundary and tags.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, termination_protection: Optional[bool] = None, permissions_boundary_arn: Optional[str] = None, synthesizer: Optional[aws_cdk.DefaultStackSynthesizer] = None, **kwargs: Any) None
+

Create a stack.

+

Includes termination protection settings, multi-level (application, environment, and stack-level) tags, +and permissions boundary.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stack

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • termination_protection (str) – Stack termination protection

  • +
  • permissions_boundary_arn (Optional[str]) – ARN of the permissions boundary managed policy

  • +
  • synthesizer (Optional[DefaultStackSynthesizer]) – CDK synthesizer configuration +https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html#bootstrapping-synthesizers

  • +
  • kwargs (Any) – Additional arguments

  • +
  • Configuration (Supported DDK Environment) –

  • +
  • https (//awslabs.github.io/aws-ddk/release/latest/how-to/ddk-configuration.html) –

  • +
  • ----------

  • +
  • prefix (str) – Prefix for stack identifier.

  • +
  • qualifier (str) – Qualifier to disambiguate multiple environments in the same account. +You can use this and leave the other naming properties empty if you +have deployed the bootstrap environment with standard names but only differnet qualifiers

  • +
  • termination_protection – If this value is set, stack termination protection will be enabled.

  • +
  • tags (Dict[str, str]) – Tag key/value pairs.

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Create a stack.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_transform(transform)

Add a Transform to this stack.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

bundling_required

Indicates whether the stack requires bundling or not.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html b/release/0.5.1/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html new file mode 100644 index 00000000..c28cc0aa --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html @@ -0,0 +1,672 @@ + + + + + + + + + aws_ddk_core.cicd.CICDPipelineStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.cicd.CICDPipelineStack

+
+
+class aws_ddk_core.cicd.CICDPipelineStack(*args: Any, **kwargs)
+

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+

The pipeline is based on CDK self-mutating pipeline but includes +several DDK-specific features, including:

+
    +
  • Ability to configure some properties via JSON config e.g. manual approvals for application stages

  • +
  • Defaults for source/synth - CodeCommit & cdk synth, with ability to override them

  • +
  • Ability to connect to private artifactory to pull artifacts from at synth

  • +
  • Security best practices - ensures pipeline buckets block non-SSL, and are KMS-encrypted with rotated keys

  • +
  • Builder interface to avoid chunky constructor methods

  • +
+

The user should be able to reuse the pipeline in multiple DDK applications hoping to save LOC.

+

Example:

+
pipeline = (
+    CICDPipelineStack(
+        app,
+        id="my-pipeline",
+        environment_id="cicd",
+        pipeline_name="MyPipeline",
+    )
+    .add_source_action(repository_name="my-repo")
+    .add_synth_action()
+    .build()
+    .add_checks()
+    .add_stage("dev", DevStage(app, "dev"))
+    .synth()
+    .add_notifications()
+)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, pipeline_name: Optional[str] = None, env: Optional[aws_cdk.Environment] = None, **kwargs: Any) None
+

Start building Code Pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • environment_id (str) – Identifier of the environment that will contain the pipeline

  • +
  • pipeline_name (Optional[str]) – Name of the pipeline

  • +
  • env (Optional[Environment]) – Environment

  • +
  • kwargs (Any) – Additional args

  • +
  • Configuration (Supported DDK Environment) –

  • +
  • https (//awslabs.github.io/aws-ddk/release/latest/how-to/ddk-configuration.html) –

  • +
  • ----------

  • +
  • cdk_version (str) – Version of the AWS CDK to use in the deployment pipeline.

  • +
  • repository (str) – Name of the CodeArtifact repository to pull artifacts from.

  • +
  • domain (str) – Name of the CodeArtifact domain.

  • +
  • domain_owner (str) – CodeArtifact domain owner account.

  • +
  • manual_approvals (str) – Configure manual approvals if this parameter is set.

  • +
  • notifications_topic_arn (str) – Existing SNS topic arn to use for pipeline notifications.

  • +
  • execute_security_lint (str) – Configure security lint stage of pipeline if this parameter is set.

  • +
  • execute_tests (str) – Configure tests stage of pipeline if this parameter is set.

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Start building Code Pipeline.

add_checks()

Add checks to the pipeline (e.g.

add_custom_stage(stage_name, steps)

Add custom stage to the pipeline.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_notifications([notification_rule])

Add pipeline notifications.

add_security_lint_stage([stage_name, ...])

Add linting - cfn-nag, and bandit.

add_source_action([repository_name, branch, ...])

Add source action.

add_stage(stage_id, stage[, manual_approvals])

Add application stage to the CICD pipeline.

add_synth_action([codeartifact_repository, ...])

Add synth action.

add_test_stage([stage_name, ...])

Add test - e.g.

add_transform(transform)

Add a Transform to this stack.

build()

Build the pipeline structure.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

synth()

Synthesize the pipeline.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

bundling_required

Indicates whether the stack requires bundling or not.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+add_checks() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add checks to the pipeline (e.g. linting, security, tests…).

+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_custom_stage(stage_name: str, steps: List[aws_cdk.pipelines.Step]) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add custom stage to the pipeline.

+
+
Parameters
+
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_notifications(notification_rule: Optional[aws_cdk.aws_codestarnotifications.NotificationRule] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add pipeline notifications. Create notification rule that sends events to the specified SNS topic.

+
+
Parameters
+

notification_rule (Optional[NotificationRule]) – Override notification rule

+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_security_lint_stage(stage_name: Optional[str] = None, cloud_assembly_file_set: Optional[aws_cdk.pipelines.IFileSetProducer] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add linting - cfn-nag, and bandit.

+
+
Parameters
+
    +
  • stage_name (Optional[str]) – Name of the stage

  • +
  • cloud_assembly_file_set (Optional[IFileSetProducer]) – Cloud assembly file set producer

  • +
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_source_action(repository_name: Optional[str] = None, branch: str = 'main', source_action: Optional[aws_cdk.pipelines.CodePipelineSource] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add source action.

+
+
Parameters
+
    +
  • repository_name (Optional[str]) – Name of the SCM repository

  • +
  • branch (str) – Branch of the SCM repository

  • +
  • source_action (Optional[CodePipelineSource]) – Override source action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_stage(stage_id: str, stage: aws_cdk.Stage, manual_approvals: Optional[bool] = False) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add application stage to the CICD pipeline. This stage deploys your application infrastructure.

+
+
Parameters
+
    +
  • stage_id (str) – Identifier of the stage

  • +
  • stage (Stage) – Application stage instance

  • +
  • manual_approvals (Optional[bool]) – Configure manual approvals. False by default

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_synth_action(codeartifact_repository: Optional[str] = None, codeartifact_domain: Optional[str] = None, codeartifact_domain_owner: Optional[str] = None, role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, synth_action: Optional[aws_cdk.pipelines.CodeBuildStep] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add synth action. During synth can connect and pull artifacts from a private artifactory.

+
+
Parameters
+
    +
  • codeartifact_repository (Optional[str]) – Name of the CodeArtifact repository to pull artifacts from

  • +
  • codeartifact_domain (Optional[str]) – Name of the CodeArtifact domain

  • +
  • codeartifact_domain_owner (Optional[str]) – CodeArtifact domain owner account

  • +
  • role_policy_statements (Optional[List[PolicyStatement]]) – Additional policies to add to the synth action role

  • +
  • synth_action (Optional[CodeBuildStep]) – Override synth action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_test_stage(stage_name: Optional[str] = None, cloud_assembly_file_set: Optional[aws_cdk.pipelines.IFileSetProducer] = None, commands: Optional[List[str]] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add test - e.g. pytest.

+
+
Parameters
+
    +
  • stage_name (Optional[str]) – Name of the stage

  • +
  • cloud_assembly_file_set (Optional[IFileSetProducer]) – Cloud assembly file set

  • +
  • commands (Optional[List[str]]) – Additional commands to run in the test. Defaults to “./test.sh” otherwise

  • +
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+build() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Build the pipeline structure.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+synth() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Synthesize the pipeline.

+

It is not possible to modify the pipeline after calling this method.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.config.Config.html b/release/0.5.1/api/core/stubs/aws_ddk_core.config.Config.html new file mode 100644 index 00000000..c8dce4f3 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.config.Config.html @@ -0,0 +1,395 @@ + + + + + + + + + aws_ddk_core.config.Config - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.Config

+
+
+class aws_ddk_core.config.Config(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None)
+

Class used to read configuration with a configurable strategy.

+
+
+__init__(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None) None
+

Create Config class instance.

+

Provide ConfigStrategy to determine how/where the config should be read from. +Reads from cdk.json in the root of the repo by default.

+
+
Parameters
+

config_strategy (Optional[ConfigStrategy]) – Strategy that determines how and where to read config from. JSONConfigStrategy by default

+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__([config_strategy])

Create Config class instance.

get_cdk_version()

Return CDK version.

get_env(environment_id)

Get environment representing AWS account and region.

get_env_config(environment_id)

Get environment config.

get_resource_config(environment_id, id)

Get resource config of the resource with given id in the environment with the given environment id.

get_tags()

Return tags.

+
+
+get_cdk_version() Optional[str]
+

Return CDK version.

+
+
Returns
+

cdk_version – CDK version

+
+
Return type
+

Optional[str]

+
+
+
+
+
+get_env(environment_id: str) aws_cdk.Environment
+

Get environment representing AWS account and region.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env – CDK Environment(account, region)

+
+
Return type
+

Environment

+
+
+
+
+
+get_env_config(environment_id: str) Dict[str, Any]
+

Get environment config.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env_config – Dictionary that contains config for the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_resource_config(environment_id: str, id: str) Dict[str, Any]
+

Get resource config of the resource with given id in the environment with the given environment id.

+
+
Parameters
+
    +
  • environment_id (str) – Identifier of the environment

  • +
  • id (str) – Identifier of the resource

  • +
+
+
Returns
+

config – Dictionary that contains config for the given resource in the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_tags() Dict[str, str]
+

Return tags.

+
+
Returns
+

tags – Dict of a form {‘tag_key’: ‘value’}

+
+
Return type
+

Dict[str, str]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html b/release/0.5.1/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html new file mode 100644 index 00000000..49a63b87 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html @@ -0,0 +1,321 @@ + + + + + + + + + aws_ddk_core.config.JSONConfigStrategy - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.JSONConfigStrategy

+
+
+class aws_ddk_core.config.JSONConfigStrategy(path: str = './ddk.json')
+

Read config from ddk.json in the root of the repo.

+

Can be used to read from any JSON file by specifying a different path.

+
+
+__init__(path: str = './ddk.json') None
+

Load the JSON file in the given path.

+
+
Parameters
+

path (str) – Path to the JSON config, ‘./ddk.json’ by default

+
+
+
+

Methods

+
++++ + + + + + + + + +

__init__([path])

Load the JSON file in the given path.

get_config(key)

Get config by key.

+
+
+get_config(key: str) Any
+

Get config by key.

+
+
Parameters
+

key (str) – Key

+
+
Returns
+

config – Dictionary that contains the configuration

+
+
Return type
+

Any

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html b/release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html new file mode 100644 index 00000000..89698c9d --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html @@ -0,0 +1,397 @@ + + + + + + + + + aws_ddk_core.pipelines.DataPipeline - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.DataPipeline

+
+
+class aws_ddk_core.pipelines.DataPipeline(*args: Any, **kwargs)
+

Class that represents a data pipeline. Used to wire stages via Event Rules. For example:

+
DataPipeline(self, id, description="My pipeline")
+    .add_stage(my_lambda_stage)
+    .add_stage(my_glue_stage)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a data pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • name (Optional[str]) – Name of the pipeline

  • +
  • description (Optional[str]) – Description of the pipeline

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a data pipeline.

add_notifications([notifications_topic])

Create a rule that matches specificed event pattern with the specified target.

add_rule([id, event_pattern, event_targets, ...])

Create a rule that matches specificed event pattern with the specified target.

add_stage(stage[, skip_rule, override_rule])

Add a stage to the data pipeline.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+add_notifications(notifications_topic: Optional[aws_cdk.aws_sns.ITopic] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+

notifications_topic (Optional[ITopic]) – Existing SNS Topic to consume notifications with.

+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+add_rule(id: Optional[str] = None, event_pattern: Optional[aws_cdk.aws_events.EventPattern] = None, event_targets: Optional[List[aws_cdk.aws_events.IRuleTarget]] = None, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+
    +
  • id (Optional[str]) – Identifier of the rule

  • +
  • event_pattern (Optional[EventPattern]) – Event pattern of the rule

  • +
  • event_targets (Optional[List[IRuleTarget]]) – Target of the rule - usually previous_stage.get_targets()

  • +
  • override_rule (Optional[Rule]) – Custom rule

  • +
+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+add_stage(stage: aws_ddk_core.pipelines.stage.DataStage, skip_rule: bool = False, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Add a stage to the data pipeline.

+

By default, creates an Event Rule that matches output event pattern of the previous stage +with targets of the next one.

+
+
Parameters
+
    +
  • stage (DataStage) – Stage instance

  • +
  • skip_rule (bool) – Skip creation of the default rule

  • +
  • override_rule (Optional[Rule]) – Override the default rule by the rule specified in this parameter

  • +
+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.DataStage.html b/release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.DataStage.html new file mode 100644 index 00000000..efeb6a4c --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.DataStage.html @@ -0,0 +1,398 @@ + + + + + + + + + aws_ddk_core.pipelines.DataStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.DataStage

+
+
+class aws_ddk_core.pipelines.DataStage(*args: Any, **kwargs)
+

Class that represents a data stage within a data pipeline.

+

To create a DataStage, inherit from this class, add infrastructure required by the stage, and implement +get_event_pattern and get_targets methods. For example:

+
class MyStage(DataStage):
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+    ) -> None:
+        super().__init__(scope, id)
+
+        # Define stage infrastructure, for example a queue
+        self._queue = SQSFactory.queue(
+            self,
+            id,
+            environment_id,
+        )
+
+    @property
+    def queue(self) -> Queue:
+        '''
+        Return: Queue
+            The SQS queue
+        '''
+        return self._queue
+
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=["my-detail-type"],
+        )
+
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SqsQueue(self._queue)]
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

+
+
+add_alarm(alarm_id: str, alarm_metric: aws_cdk.aws_cloudwatch.IMetric, alarm_comparison_operator: Optional[aws_cdk.aws_cloudwatch.ComparisonOperator] = ComparisonOperator.GREATER_THAN_THRESHOLD, alarm_evaluation_periods: Optional[int] = 1, alarm_threshold: Optional[int] = 5) aws_ddk_core.pipelines.stage.DataStage
+

Add a CloudWatch alarm for the Data Stage

+
+
Parameters
+
    +
  • alarm_id (str) – Identifier of the CloudWatch Alarm.

  • +
  • alarm_metric (IMetric) – Metric to use for creating the Stage’s CloudWatch Alarm.

  • +
  • alarm_comparison_operator (Optional[ComparisonOperator]) – Comparison operator to use for alarm. GREATER_THAN_THRESHOLD by default.

  • +
  • alarm_threshold (Optional[int]) – The value against which the specified alarm statistic is compared. 5 by default.

  • +
  • alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. 1 by default.

  • +
+
+
+
+
+
+property cloudwatch_alarms: List[Optional[aws_cdk.aws_cloudwatch.IAlarm]]
+

List[Alarm] +List of CloudWatch Alarms linked to the stage

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.EventStage.html b/release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.EventStage.html new file mode 100644 index 00000000..a36ad517 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.EventStage.html @@ -0,0 +1,370 @@ + + + + + + + + + aws_ddk_core.pipelines.EventStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.EventStage

+
+
+class aws_ddk_core.pipelines.EventStage(*args: Any, **kwargs)
+

Class that represents an event stage within a data pipeline.

+

To create an EventStage, inherit from this class, add infrastructure required by the stage, and implement +get_event_pattern method. For example:

+
class MyStage(EventStage):
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+    ) -> None:
+        super().__init__(scope, id)
+
+        # Define stage infrastructure, for example an S3 event pattern
+        self._event_pattern = EventPattern(
+            source=["aws.s3"],
+            detail=detail,
+            detail_type=event_names,
+        )
+
+    @property
+    def event_pattern(self) -> EventPattern:
+        return self._event_pattern
+
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return self._event_pattern
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html b/release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html new file mode 100644 index 00000000..357b3821 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html @@ -0,0 +1,400 @@ + + + + + + + + + aws_ddk_core.pipelines.StateMachineStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.StateMachineStage

+
+
+class aws_ddk_core.pipelines.StateMachineStage(*args: Any, **kwargs)
+

DataStage with helper methods to simplify StateMachine stages creation.

+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

state_machine

StateMachine The state machine

+
+
+build_state_machine(id: str, environment_id: str, definition: Optional[aws_cdk.aws_stepfunctions.IChainable], state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

Build state machine.

+
+
Parameters
+
    +
  • id (str) – Identifier of the state machine

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • definition (Optional[IChainable]) – State machine definition

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property state_machine: aws_cdk.aws_stepfunctions.StateMachine
+

StateMachine +The state machine

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.resources.DMSFactory.html b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.DMSFactory.html new file mode 100644 index 00000000..0f9869d6 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.DMSFactory.html @@ -0,0 +1,473 @@ + + + + + + + + + aws_ddk_core.resources.DMSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.DMSFactory

+
+
+class aws_ddk_core.resources.DMSFactory
+

Class factory create and configure DMS DDK resources, +including endpoints, replication tasks and replication instances.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__()

endpoint(scope, id, environment_id, ...)

Create and configure DMS endpoint.

endpoint_settings_s3(scope, id, ...[, ...])

Create and configure DMS endpoint settings for s3.

replication_instance(scope, id, ...[, ...])

Create and configure DMS replication instance.

replication_task(scope, id, environment_id, ...)

Create and configure DMS replication task.

+
+
+static endpoint(scope: constructs.Construct, id: str, environment_id: str, endpoint_type: str, engine_name: str, s3_settings: Optional[aws_cdk.aws_dms.CfnEndpoint.S3SettingsProperty], **endpoint_props: Any) aws_cdk.aws_dms.CfnEndpoint
+

Create and configure DMS endpoint.

+

This construct allows to configure parameters of the dms endpoint using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: …

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • endpoint_type (str) – The type of endpoint. Valid values are source and target.

  • +
  • engine_name (str) – The type of engine for the endpoint, depending on the EndpointType value. +Valid values : mysql | oracle | postgres | mariadb | aurora | aurora-postgresql +| opensearch | redshift | s3 | db2 | azuredb | sybase | dynamodb | mongodb +| kinesis | kafka | elasticsearch | docdb | sqlserver | neptune

  • +
  • s3_settings (Union[dms.S3SettingsProperty, None]) – Settings in JSON format for the source and target Amazon S3 endpoint. +For more information about other available settings, see +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_dms/CfnEndpoint.html#s3settingsproperty

  • +
  • **endpoint_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnEndpoint.html

  • +
+
+
Returns
+

dms.CfnEndpoint – A DMS Endpoint

+
+
Return type
+

dms.CfnEndpoint

+
+
+
+
+
+static endpoint_settings_s3(scope: constructs.Construct, id: str, environment_id: str, bucket_name: str, bucket_folder: Optional[str] = None, service_access_role_arn: Optional[str] = None, external_table_definition: Optional[str] = None, enable_statistics: Optional[bool] = None, max_file_size: Optional[int] = None, **endpoint_s3_props: Any) aws_cdk.aws_dms.CfnEndpoint.S3SettingsProperty
+

Create and configure DMS endpoint settings for s3.

+

This construct allows to configure parameters of the dms endpoint using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: enable_statistics and max_file_size

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket_name (str) – The name of the S3 bucket.

  • +
  • bucket_folder (Optional[str]) – An optional parameter to set a folder name in the S3 bucket. +If provided, tables are created in the path bucketFolder / schema_name / table_name / . +If this parameter isn’t specified, the path used is schema_name / table_name / .

  • +
  • service_access_role_arn (Optional[str]) – An IAM role that should be able to access the specified bucket. +If no bucket is specified a role with required permissions will +be created for you.

  • +
  • external_table_definition (Optional[str]) – The external table definition. +Conditional: If S3 is used as a source then ExternalTableDefinition is required.

  • +
  • enable_statistics (Optional[bool]) – A value that enables statistics for Parquet pages and row groups. +Choose true to enable statistics, false to disable. +Statistics include NULL , DISTINCT , MAX , and MIN values. +This parameter defaults to true . +This value is used for .parquet file format only.

  • +
  • max_file_size (Optional[int]) – A value that specifies the maximum size (in KB) of any .csv file to be created +while migrating to an S3 target during full load

  • +
  • **endpoint_settings_s3_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnEndpoint.html#s3settingsproperty

  • +
+
+
Returns
+

dms.CfnEndpoint.S3SettingsProperty – DMS Endpoint Settings for S3

+
+
Return type
+

dms.CfnEndpoint.S3SettingsProperty:

+
+
+
+
+
+static replication_instance(scope: constructs.Construct, id: str, environment_id: str, replication_instance_class: str, allocated_storage: Optional[str] = None, allow_major_version_upgrade: Optional[bool] = False, auto_minor_version_upgrade: Optional[bool] = False, availability_zone: Optional[str] = None, engine_version: Optional[str] = None, kms_key_id: Optional[str] = None, multi_az: Optional[bool] = False, preferred_maintenance_window: Optional[str] = None, publicly_accessible: Optional[bool] = False, replication_instance_identifier: Optional[str] = None, replication_subnet_group_identifier: Optional[str] = None, resource_identifier: Optional[str] = None, vpc_security_group_ids: Optional[List[str]] = None, **replication_instance_props: Any) aws_cdk.aws_dms.CfnReplicationInstance
+

Create and configure DMS replication instance.

+

This construct allows to configure parameters of the dms replication instance using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: …

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • replication_instance_class (str) – The compute and memory capacity of the replication instance +as defined for the specified replication instance class.

  • +
  • allocated_storage (Optional[str]) – The amount of storage (in gigabytes) to be initially allocated for the replication instance.

  • +
  • allow_major_version_upgrade (Optional[bool]) – Indicates that major version upgrades are allowed.

  • +
  • auto_minor_version_upgrade (Optional[bool]) – A value that indicates whether minor engine upgrades are applied automatically to the +replication instance during the maintenance window. +This parameter defaults to true. +Default: true

  • +
  • availability_zone (Optional[str]) – The Availability Zone that the replication instance will be created in

  • +
  • engine_version (Optional[str]) – The engine version number of the replication instance. +If an engine version number is not specified when a replication instance is created, +the default is the latest engine version available.

  • +
  • kms_key_id (Optional[str]) – An AWS KMS key identifier that is used to encrypt the data on the replication instance. +If you don’t specify a value for the KmsKeyId parameter, AWS DMS uses your default encryption key.

  • +
  • multi_az (Optional[bool]) – Specifies whether the replication instance is a Multi-AZ deployment. +You can’t set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.

  • +
  • preferred_maintenance_window (Optional[str]) – The weekly time range during which system maintenance can occur, in UTC. +Format : ddd:hh24:mi-ddd:hh24:mi

  • +
  • publicly_accessible (Optional[bool]) – Specifies the accessibility options for the replication instance. +A value of true represents an instance with a public IP address. +A value of false represents an instance with a private IP address.

  • +
  • replication_instance_identifier (Optional[str]) – The replication instance identifier. This parameter is stored as a lowercase string.

  • +
  • replication_subnet_group_identifier (Optional[str]) – A subnet group to associate with the replication instance.

  • +
  • resource_identifier (Optional[str]) – A display name for the resource identifier at the end of the EndpointArn response +parameter that is returned in the created Endpoint object. +The value for this parameter can have up to 31 characters. +It can contain only ASCII letters, digits, and hyphen (‘-‘)

  • +
  • vpc_security_group_ids (Optional[List[str]]) – Specifies the virtual private cloud (VPC) security group to be used with the replication instance. +The VPC security group must work with the VPC containing the replication instance.

  • +
  • **replication_instance_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnReplicationInstance.html

  • +
+
+
Returns
+

dms.CfnReplicationInstance – A DMS Replication instance

+
+
Return type
+

dms.CfnReplicationInstance

+
+
+
+
+
+static replication_task(scope: constructs.Construct, id: str, environment_id: str, replication_instance_arn: str, source_endpoint_arn: str, target_endpoint_arn: str, table_mappings: str, migration_type: str = 'full-load', replication_task_settings: Optional[str] = None, **replication_task_props: Any) aws_cdk.aws_dms.CfnEndpoint
+

Create and configure DMS replication task.

+

This construct allows to configure parameters of the dms replication task using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: …

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • migration_type (str) – The migration type. Valid values: full-load | cdc | full-load-and-cdc +Default: ‘full-load’

  • +
  • replication_instance_arn (str) – The Amazon Resource Name (ARN) of a replication instance.

  • +
  • source_endpoint_arn (str) – An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.

  • +
  • target_endpoint_arn (str) – An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.

  • +
  • table_mappings (str) – The table mappings for the task, in JSON format.

  • +
  • replication_task_settings (Optional[str]) – Overall settings for the task, in JSON format. For more information, +see https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html

  • +
  • **replication_task_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnReplicationTask.html

  • +
+
+
Returns
+

dms.CfnReplicationTask – A DMS Replication Task

+
+
Return type
+

dms.CfnReplicationTask

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.resources.DataBrewFactory.html b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.DataBrewFactory.html new file mode 100644 index 00000000..b8bf7ab1 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.DataBrewFactory.html @@ -0,0 +1,350 @@ + + + + + + + + + aws_ddk_core.resources.DataBrewFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.DataBrewFactory

+
+
+class aws_ddk_core.resources.DataBrewFactory
+

Class factory to create and configure DataBrew DDK resources, including Jobs.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

job(scope, id, environment_id, name, ...[, ...])

Create and configure a DataBrew job.

+
+
+static job(scope: constructs.Construct, id: str, environment_id: str, name: str, role_arn: str, type: str, dataset_name: Optional[str] = None, recipe: Optional[aws_cdk.aws_databrew.CfnJob.RecipeProperty] = None, encryption_mode: Optional[str] = None, log_subscription: Optional[str] = None, max_capacity: Optional[int] = None, max_retries: Optional[int] = None, output_location: Optional[aws_cdk.aws_databrew.CfnJob.OutputLocationProperty] = None, outputs: Optional[Sequence[aws_cdk.aws_databrew.CfnJob.OutputProperty]] = None, timeout: Optional[aws_cdk.Duration] = None, **job_props: Any) aws_cdk.aws_databrew.CfnJob
+

Create and configure a DataBrew job.

+

This construct allows to configure parameters of the job using ddk.json configuration file +depending on the environment_id in which the job is used. Supported parameters are: +max_capacity,`max_retries`, timeout

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the DataBrew job

  • +
  • environment_id (str) – Identifier of the environment in which the job is used

  • +
  • name (str) – Name of the DataBrew job

  • +
  • role_arn (Optional[str]) – Arn of the execution role of the DataBrew job

  • +
  • type (str) –

    +
    The type of the DataBrew job, which must be one of the following:

    PROFILE - A job to analyze a dataset, to determine its size, data types, data distribution, and more. +RECIPE - A job to apply one or more transformations to a dataset.

    +
    +
    +

  • +
  • dataset_name (Optional[str]) – The name of the DataBrew dataset to be processed by the DataBrew job

  • +
  • recipe (Optional[databrew.CfnJob.RecipeProperty]) – The recipe to be used by the DataBrew job which is a series of data transformation steps.

  • +
  • encryption_mode (Optional[str]) –

    +
    The encryption mode to be used by the DataBrew job, which can be one of the following:

    SSE-KMS - Server-side encryption with keys managed by AWS KMS. +SSE-S3 - Server-side encryption with keys managed by Amazon S3.

    +
    +
    +

  • +
  • log_subscription (Optional[str]) – The status of the Amazon Cloudwatch logging for the DataBrew job

  • +
  • max_capacity (Optional[int]) – The maximum number of nodes that can be consumed by the DataBrew job.

  • +
  • max_retries (Optional[int]) – The maximum number of times to retry the DataBrew job

  • +
  • output_location (Optional[databrew.CfnJob.OutputLocationProperty]) – Output location to be used by the DataBrew job

  • +
  • outputs (Optional[Sequence[databrew.CfnJob.OutputProperty]]) – One or more output artifacts that represent the output of the DataBrew job

  • +
  • timeout (Optional[cdk.Duration]) – The job execution time (in seconds) after which DataBrew terminates the job. +aws_cdk.Duration.seconds(3600) by default.

  • +
  • job_props (Any) – Additional job properties. For complete list of properties refer to CDK Documentation - +DataBrew Job: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_databrew/CfnJob.html

  • +
+
+
Returns
+

job – DataBrew job

+
+
Return type
+

databrew.CfnJob

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.resources.GlueFactory.html b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.GlueFactory.html new file mode 100644 index 00000000..1e7983fb --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.GlueFactory.html @@ -0,0 +1,337 @@ + + + + + + + + + aws_ddk_core.resources.GlueFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.GlueFactory

+
+
+class aws_ddk_core.resources.GlueFactory
+

Class factory to create and configure Glue DDK resources, including Jobs.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

job(scope, id, environment_id, executable[, ...])

Create and configure Glue job.

+
+
+static job(scope: constructs.Construct, id: str, environment_id: str, executable: aws_cdk.aws_glue_alpha.JobExecutable, job_name: Optional[str] = None, description: Optional[str] = None, role: Optional[aws_cdk.aws_iam.IRole] = None, security_configuration: Optional[aws_cdk.aws_glue_alpha.ISecurityConfiguration] = None, timeout: Optional[aws_cdk.Duration] = None, worker_count: Optional[int] = None, worker_type: Optional[aws_cdk.aws_glue_alpha.WorkerType] = None, **job_props: Any) aws_cdk.aws_glue_alpha.IJob
+

Create and configure Glue job.

+

This construct allows to configure parameters of the job using ddk.json configuration file +depending on the environment_id in which the job is used. Supported parameters are: +default_arguments,`enable_profiling_metrics`, max_concurrent_runs, max_retries, +timeout, worker_count.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Glue job

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • executable (JobExecutable) – The job executable properties

  • +
  • job_name (Optional[str]) – The name of the Glue job

  • +
  • description (Optional[str]) – The description of the Glue job

  • +
  • role (Optional[IRole]) – The execution role of the Glue job

  • +
  • security_configuration (Optional[ISecurityConfiguration]) – The security configuration of the Glue job. If None, a default configuration is used

  • +
  • timeout (Optional[Duration]) – The job execution time (in seconds) after which Glue terminates the job. +aws_cdk.Duration.seconds(3600) by default.

  • +
  • worker_count (Optional[int]) – The number of workers of a defined WorkerType that are allocated when a job runs

  • +
  • worker_type (Optional[WorkerType]) – The type of predefined worker that is allocated when a job runs

  • +
  • job_props (Any) – Additional job properties. For complete list of properties refer to CDK Documentation - +Glue Job: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_glue_alpha/Job.html

  • +
+
+
Returns
+

job – Glue job

+
+
Return type
+

aws_cdk.aws_glue_alpha.Job

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.resources.KMSFactory.html b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.KMSFactory.html new file mode 100644 index 00000000..f325c115 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.KMSFactory.html @@ -0,0 +1,333 @@ + + + + + + + + + aws_ddk_core.resources.KMSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KMSFactory

+
+
+class aws_ddk_core.resources.KMSFactory
+

Class factory to create and configure Key Management Service DDK resources, including Keys.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

key(scope, id, environment_id[, alias, ...])

Create and configure KMS key.

+
+
+static key(scope: constructs.Construct, id: str, environment_id: str, alias: Optional[str] = None, enable_key_rotation: Optional[bool] = None, pending_window: Optional[aws_cdk.Duration] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, **key_props: Any) aws_cdk.aws_kms.IKey
+

Create and configure KMS key.

+

This construct allows to configure parameters of the key using ddk.json configuration file +depending on the environment_id in which the key is used. Supported parameters are: +enable_key_rotation,`pending_window`, and removal_policy.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the key

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • alias (Optional[str]) – Key alias

  • +
  • enable_key_rotation (Optional[bool]) – Indicates whether AWS KMS rotates the key. True by default.

  • +
  • pending_window (Optional[Duration]) – Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been +removed from a CloudFormation stack. aws_cdk.Duration.days(30) by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Whether the encryption key should be retained when it is removed from the Stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • key_props (Any) – Additional key properties. For complete list of properties refer to CDK Documentation - +KMS Key: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_kms/Key.html

  • +
+
+
Returns
+

key – KMS key

+
+
Return type
+

aws_cdk.aws_kms.Key

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html new file mode 100644 index 00000000..a9111f31 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html @@ -0,0 +1,385 @@ + + + + + + + + + aws_ddk_core.resources.KinesisFirehoseFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KinesisFirehoseFactory

+
+
+class aws_ddk_core.resources.KinesisFirehoseFactory
+

Class factory create and configure Kinesis DDK resources, including Delivery Streams.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

delivery_stream(scope, id, environment_id, ...)

Create and configure Firehose delivery stream.

s3_destination(id, environment_id, bucket[, ...])

Create and configure Firehose delivery S3 destination.

+
+
+static delivery_stream(scope: constructs.Construct, id: str, environment_id: str, destinations: Sequence[aws_cdk.aws_kinesisfirehose_alpha.IDestination], delivery_stream_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_kinesisfirehose_alpha.StreamEncryption] = None, encryption_key: Optional[aws_cdk.aws_kms.IKey] = None, role: Optional[aws_cdk.aws_iam.IRole] = None, source_stream: Optional[aws_cdk.aws_kinesis.IStream] = None, **firehose_props: Any) aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream
+

Create and configure Firehose delivery stream.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the delivery stream

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • destinations (Sequence[firehose.IDestination]) – The destinations that this delivery stream will deliver data to

  • +
  • delivery_stream_name (Optional[str] = None) – A name for the delivery stream

  • +
  • encryption (Optional[firehose.StreamEncryption] = None) – Indicates the type of customer master key (CMK) to use for server-side encryption, if any. +Default: StreamEncryption.UNENCRYPTED

  • +
  • encryption_key (Optional[IKey] = None) – Customer managed key to server-side encrypt data in the stream. +Default: - no KMS key will be used

  • +
  • role (Optional[IRole] = None) – The IAM role associated with this delivery stream. +Assumed by Kinesis Data Firehose to read from sources and encrypt data server-side. +Default: - a role will be created with default permissions.

  • +
  • source_stream (Optional[IStream] = None) – The Kinesis data stream to use as a source for this delivery stream

  • +
  • **firehose_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose Delivery Stream: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesisfirehose/DeliveryStream.html

  • +
+
+
Returns
+

delivery_stream – A Kinesis Firehose Delivery Stream

+
+
Return type
+

firehose.IDeliveryStream

+
+
+
+
+
+static s3_destination(id: str, environment_id: str, bucket: aws_cdk.aws_s3.IBucket, buffering_interval: typing.Optional[aws_ddk_core.resources.commons.Duration] = None, buffering_size: typing.Optional[aws_ddk_core.resources.commons.Size] = None, compression: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression] = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>, data_output_prefix: typing.Optional[str] = None, encryption_key: typing.Optional[aws_cdk.aws_kms.IKey] = None, error_output_prefix: typing.Optional[str] = None, logging: typing.Optional[bool] = True, log_group: typing.Optional[aws_cdk.aws_logs.ILogGroup] = None, processor: typing.Optional[aws_cdk.aws_kinesisfirehose_alpha.IDataProcessor] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, s3_backup: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.DestinationS3BackupProps] = None, **destination_props: typing.Any) aws_cdk.aws_kinesisfirehose_destinations_alpha.S3Bucket
+

Create and configure Firehose delivery S3 destination.

+

This construct allows to configure parameters of the firehose destination using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: buffering_interval and buffering_size

+
+
Parameters
+
    +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket (IBucket) – S3 Bucket to use for the destination.

  • +
  • buffering_interval (Optional[Duration] = None) – The length of time that Firehose buffers incoming data before delivering it to the S3 bucket. +Minimum: Duration.seconds(60) +Maximum: Duration.seconds(900) +Default: Duration.seconds(300)

  • +
  • buffering_size (Optional[Size] = None) – The size of the buffer that Kinesis Data Firehose uses for incoming data +before delivering it to the S3 bucket. +Minimum: Size.mebibytes(1) +Maximum: Size.mebibytes(128) +Default: Size.mebibytes(5)

  • +
  • compression (Optional[Compression] = None) – The type of compression that Kinesis Data Firehose uses to compress the data that it delivers +to the Amazon S3 bucket. +Default: Compression.GZIP

  • +
  • data_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3

  • +
  • encryption_key (Optional[IKey] = None) – The AWS KMS key used to encrypt the data that it delivers to your Amazon S3 bucket.

  • +
  • error_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. +This prefix appears immediately following the bucket name

  • +
  • logging (Optional[bool] = True) – If true, log errors when data transformation or data delivery fails. +If logGroup is provided, this will be implicitly set to true. +Default: true - errors are logged.

  • +
  • log_group (Optional[ILogGroup] = None) – The CloudWatch log group where log streams will be created to hold error logs. +Default: - if logging is set to true, a log group will be created for you.

  • +
  • processor (Optional[IDataProcessor] = None) – The data transformation that should be performed on the data before writing to the destination.

  • +
  • role (Optional[IRole] = None) – The IAM role associated with this destination. +Assumed by Kinesis Data Firehose to invoke processors and write to destinations

  • +
  • s3_backup (Optional[DestinationS3BackupProps] = None) – The configuration for backing up source records to S3.

  • +
  • **destination_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose S3 Destinations: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesisfirehose_destinations/S3Bucket.html

  • +
+
+
Returns
+

destination – A Kinesis Firehose S3 Delivery Destination

+
+
Return type
+

destinations.S3Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html new file mode 100644 index 00000000..d768f79b --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html @@ -0,0 +1,340 @@ + + + + + + + + + aws_ddk_core.resources.KinesisStreamsFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KinesisStreamsFactory

+
+
+class aws_ddk_core.resources.KinesisStreamsFactory
+

Class factory create and configure Kinesis DDK resources, including Data Streams.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

data_stream(scope, id, environment_id[, ...])

Create and configure Kinesis data stream.

+
+
+static data_stream(scope: constructs.Construct, id: str, environment_id: str, encryption: Optional[aws_cdk.aws_kinesis.StreamEncryption] = None, encryption_key: Optional[aws_cdk.aws_kms.IKey] = None, retention_period: Optional[aws_ddk_core.resources.commons.Duration] = None, shard_count: Optional[int] = None, stream_mode: Optional[aws_cdk.aws_kinesis.StreamMode] = None, stream_name: Optional[str] = None, **kinesis_props: Any) aws_cdk.aws_kinesis.IStream
+

Create and configure Kinesis data stream.

+

This construct allows to configure parameters of the Kinesis data stream using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: retention_period and shard_count.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the data stream

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • encryption (Optional[StreamEncryption] = None) – The kind of server-side encryption to apply to this stream. +If you choose KMS, you can specify a KMS key via encryptionKey. +If encryption key is not specified, a key will automatically be created. +Default: - StreamEncryption.KMS if encrypted Streams are supported +in the region or StreamEncryption.UNENCRYPTED otherwise. +StreamEncryption.KMS if an encryption key is supplied through the encryptionKey property

  • +
  • encryption_key (Optional[IKey] = None) – External KMS key to use for stream encryption. The ‘encryption’ property must be set to “Kms”. +Default: - Kinesis Data Streams master key (‘/alias/aws/kinesis’)

  • +
  • retention_period (Optional[Duration] = None) – The number of hours for the data records that are stored in shards to remain accessible. +Default: Duration.seconds(3600)

  • +
  • shard_count (Optional[int] = None) – The number of shards for the stream. Can only be provided if streamMode is Provisioned. +Default: 1

  • +
  • stream_mode (Optional[StreamMode] = None) – The capacity mode of this stream. +Default: StreamMode.PROVISIONED

  • +
  • stream_name (Optional[str] = None) – Enforces a particular physical stream name. +Default: A CloudFormation generated name

  • +
  • **kinesis_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose Data Stream: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesis/Stream.html

  • +
+
+
Returns
+

data_stream – A Kinesis Data Stream

+
+
Return type
+

Stream

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html new file mode 100644 index 00000000..4350e906 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html @@ -0,0 +1,343 @@ + + + + + + + + + aws_ddk_core.resources.LambdaFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.LambdaFactory

+
+
+class aws_ddk_core.resources.LambdaFactory
+

Class factory to create and configure Lambda DDK resources, including Functions.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

add_vpc_permissions(fn)

function(scope, id, environment_id, code, ...)

Create and configure Lambda function.

+
+
+static function(scope: constructs.Construct, id: str, environment_id: str, code: aws_cdk.aws_lambda.Code, handler: str, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, function_name: typing.Optional[str] = None, description: typing.Optional[str] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, dead_letter_queue_enabled: typing.Optional[bool] = None, dead_letter_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, **function_props: typing.Any) aws_cdk.aws_lambda.IFunction
+

Create and configure Lambda function.

+

This construct allows to configure parameters of the function using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +dead_letter_queue_enabled,`memory_size`, environment, profiling, +reserved_concurrent_executions, timeout, tracing, max_event_age, retry_attempts, +allow_all_outbound, and allow_public_subnet.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Lambda function

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Code) – The source code of the Lambda function

  • +
  • handler (str) – The name of the method within the code that Lambda calls to execute the function

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function

  • +
  • function_name (Optional[str]) – The name of the Lambda function

  • +
  • description (Optional[str]) – The description of the Lambda function

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • dead_letter_queue_enabled (Optional[bool]) – Determines if DLQ is enabled. False by default.

  • +
  • dead_letter_queue (Optional[IQueue]) – The SQS queue to use if DLQ is enabled

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default.

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default.

  • +
  • function_props (Any) – Additional function properties. For complete list of properties refer to CDK Documentation - +Lambda Function: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_lambda/Function.html

  • +
+
+
Returns
+

fn – Lambda function

+
+
Return type
+

aws_cdk.aws_lambda.Function

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.resources.S3Factory.html b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.S3Factory.html new file mode 100644 index 00000000..eec62a49 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.S3Factory.html @@ -0,0 +1,336 @@ + + + + + + + + + aws_ddk_core.resources.S3Factory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.S3Factory

+
+
+class aws_ddk_core.resources.S3Factory
+

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

bucket(scope, id, environment_id[, ...])

Create and configure S3 bucket.

+
+
+static bucket(scope: constructs.Construct, id: str, environment_id: str, bucket_name: Optional[str] = None, versioned: Optional[bool] = None, access_control: Optional[aws_cdk.aws_s3.BucketAccessControl] = None, block_public_access: Optional[aws_cdk.aws_s3.BlockPublicAccess] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, encryption: Optional[aws_cdk.aws_s3.BucketEncryption] = None, enforce_ssl: Optional[bool] = None, event_bridge_enabled: Optional[bool] = None, **bucket_props: Any) aws_cdk.aws_s3.IBucket
+

Create and configure S3 bucket.

+

This construct allows to configure parameters of the bucket using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +versioned,`auto_delete_objects`, enforce_ssl, access_control, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the bucket

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket_name (Optional[str]) – The name of the bucket

  • +
  • versioned (Optional[bool]) – Whether this bucket should have versioning turned on or not. True by default.

  • +
  • access_control (Optional[BucketAccessControl]) – Specifies a canned ACL that grants predefined permissions to the bucket +aws_cdk.aws_s3.BucketAccessControl.BUCKET_OWNER_FULL_CONTROL by default.

  • +
  • block_public_access (Optional[BlockPublicAccess]) – The block public access configuration of this bucket. +aws_cdk.aws_s3.BlockPublicAccess.BLOCK_ALL by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • encryption (Optional[BucketEncryption]) – The kind of server-side encryption to apply to this bucket. +aws_cdk.aws_s3.BucketEncryption.S3_MANAGED by default.

  • +
  • enforce_ssl (Optional[bool]) – Enforces SSL for requests. True by default.

  • +
  • event_bridge_enabled (Optional[bool]) – Whether this bucket should send notifications to Amazon EventBridge or not. +False by default.

  • +
  • bucket_props (Any) – Additional bucket properties. For complete list of properties refer to CDK Documentation - +S3 Bucket: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_s3/Bucket.html

  • +
+
+
Returns
+

bucket – S3 bucket

+
+
Return type
+

aws_cdk.aws_s3.Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.resources.SQSFactory.html b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.SQSFactory.html new file mode 100644 index 00000000..3eb8be5e --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.SQSFactory.html @@ -0,0 +1,333 @@ + + + + + + + + + aws_ddk_core.resources.SQSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.SQSFactory

+
+
+class aws_ddk_core.resources.SQSFactory
+

Class factory create and configure Simple Queue Service DDK resources, including Queues.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

apply_secure_queue_policy(queue)

queue(scope, environment_id, id[, ...])

Create and configure SQS queue.

+
+
+static queue(scope: constructs.Construct, environment_id: str, id: str, queue_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_sqs.QueueEncryption] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, dead_letter_queue: Optional[aws_cdk.aws_sqs.DeadLetterQueue] = None, **queue_props: Any) aws_cdk.aws_sqs.IQueue
+

Create and configure SQS queue.

+

This construct allows to configure parameters of the queue using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +content_based_deduplication,`data_key_reuse`, delivery_delay, max_message_size_bytes, +retention_period, visibility_timeout, receive_message_wait_time, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the queue

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • queue_name (Optional[str]) – Name of the queue

  • +
  • encryption (Optional[QueueEncryption]) – Whether the contents of the queue are encrypted, and by what type of key. +aws_cdk.aws_sqs.QueueEncryption.KMS_MANAGED by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • dead_letter_queue (Optional[DeadLetterQueue]) – Send messages to this queue if they were unsuccessfully dequeued a number of times.

  • +
  • queue_props (Any) – Additional queue properties. For complete list of properties refer to CDK Documentation - +SQS Queue: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_sqs/Queue.html

  • +
+
+
Returns
+

queue – SQS queue

+
+
Return type
+

aws_cdk.aws_sqs.Queue

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html new file mode 100644 index 00000000..9c07bf01 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html @@ -0,0 +1,327 @@ + + + + + + + + + aws_ddk_core.resources.StepFunctionsFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.StepFunctionsFactory

+
+
+class aws_ddk_core.resources.StepFunctionsFactory
+

Class factory create and configure AWS Step Functions Service DDK resources, including State Machines.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

state_machine(scope, environment_id, id[, ...])

Create and configure state machine.

+
+
+static state_machine(scope: constructs.Construct, environment_id: str, id: str, state_machine_name: Optional[str] = None, state_machine_type: Optional[aws_cdk.aws_stepfunctions.StateMachineType] = None, timeout: Optional[aws_ddk_core.resources.commons.Duration] = None, tracing_enabled: Optional[bool] = None, **state_machine_props: Any) aws_cdk.aws_stepfunctions.StateMachine
+

Create and configure state machine.

+

This construct allows to configure parameters of the state machine using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +state_machine_type,`timeout`, and tracing_enabled.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the state machine

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • state_machine_name (Optional[str]) – Name of the state machine

  • +
  • state_machine_type (Optional[sfn.StateMachineType]) – Type of the state machine

  • +
  • timeout (Optional[Duration]) – Maximum run time for this state machine

  • +
  • tracing_enabled (Optional[bool]) – Specifies whether Amazon X-Ray tracing is enabled for this state machine

  • +
  • state_machine_props (Any) – Additional state machine properties. For complete list of properties refer to CDK Documentation - +State Machine: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_stepfunctions/StateMachine.html

  • +
+
+
Returns
+

state_machine – State machine

+
+
Return type
+

aws_cdk.aws_stepfunctions.StateMachine

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html new file mode 100644 index 00000000..56965bf3 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html @@ -0,0 +1,367 @@ + + + + + + + + + aws_ddk_core.stages.AppFlowIngestionStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.AppFlowIngestionStage

+
+
+class aws_ddk_core.stages.AppFlowIngestionStage(*args: Any, **kwargs)
+

Class that represents an AppFlow DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, flow_name: typing.Optional[str] = None, flow_execution_status_check_period: aws_cdk.Duration = <aws_cdk.Duration object>, destination_flow_config: typing.Optional[aws_cdk.aws_appflow.CfnFlow.DestinationFlowConfigProperty] = None, source_flow_config: typing.Optional[aws_cdk.aws_appflow.CfnFlow.SourceFlowConfigProperty] = None, tasks: typing.Optional[typing.List[aws_cdk.aws_appflow.CfnFlow.TaskProperty]] = None, state_machine_input: typing.Optional[typing.Dict[str, typing.Any]] = None, additional_role_policy_statements: typing.Optional[typing.List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: typing.Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: typing.Optional[int] = 1) None
+

DDK AppFlow Ingestion stage.

+

Stage that contains a step function that runs an AppFlow flow ingestion. +If the AppFlow flow name is not supplied, then it is created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • flow_name (Optional[str]) – Name of the AppFlow flow to run. If None, an AppFlow flow is created

  • +
  • flow_execution_status_check_period (Duration) – Time to wait between flow execution status checks. +aws_cdk.Duration.seconds(15) by default

  • +
  • destination_flow_config (Optional[CfnFlow.DestinationFlowConfigProperty]) – The flow destination_flow_config properties

  • +
  • source_flow_config (Optional[CfnFlow.SourceFlowConfigProperty]) – The flow source_flow_config properties

  • +
  • tasks (Optional[List[CfnFlow.TaskProperty]]) – The flow tasks properties

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK AppFlow Ingestion stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

flow

CfnFlow The AppFlow flow

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property flow: aws_cdk.aws_appflow.CfnFlow
+

CfnFlow +The AppFlow flow

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html new file mode 100644 index 00000000..596a82c9 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html @@ -0,0 +1,354 @@ + + + + + + + + + aws_ddk_core.stages.AthenaSQLStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.AthenaSQLStage

+
+
+class aws_ddk_core.stages.AthenaSQLStage(*args: Any, **kwargs)
+

Class that represents a Athena SQL DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, query_string: str, workgroup: Optional[str] = None, catalog_name: Optional[str] = None, database_name: Optional[str] = None, output_bucket_name: Optional[str] = None, output_object_key: Optional[str] = None, encryption_option: Optional[aws_cdk.aws_stepfunctions_tasks.EncryptionOption] = None, encryption_key: Optional[aws_cdk.aws_kms.Key] = None, state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

DDK Athena SQL stage.

+

Stage that contains a step function that execute Athena SQL query.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • query_string (str) – SQL query that will be started

  • +
  • workgroup (Optional[str]) – Workgroup name

  • +
  • catalog_name (Optional[str]) – Catalog name

  • +
  • database_name (Optional[str]) – Database name

  • +
  • output_bucket_name (Optional[str]) – Output S3 bucket name

  • +
  • output_object_key (Optional[str]) – Output S3 key

  • +
  • encryption_option (Optional[EncryptionOption]) – Encryption configuration

  • +
  • encryption_key (Optional[Key]) – Encryption KMS key

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, query_string)

DDK Athena SQL stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

state_machine

StateMachine The state machine

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html new file mode 100644 index 00000000..56d3013d --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html @@ -0,0 +1,388 @@ + + + + + + + + + aws_ddk_core.stages.DMSS3ToS3Stage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.DMSS3ToS3Stage

+
+
+class aws_ddk_core.stages.DMSS3ToS3Stage(*args: Any, **kwargs)
+

Class that represents a DMS to S3 to S3 Replication DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, source_bucket: aws_cdk.aws_s3.IBucket, target_bucket: aws_cdk.aws_s3.IBucket, external_table_definition: str, table_mappings: Optional[str] = None, replication_instance_class: str = 'dms.c5.large', source_bucket_prefix: Optional[str] = None, target_bucket_prefix: Optional[str] = None) None
+

DDK DMS S3 to S3 replication stage

+
+
Parameters
+
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK DMS S3 to S3 replication stage

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.stages.DataBrewTransformStage.html b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.DataBrewTransformStage.html new file mode 100644 index 00000000..76d02c81 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.DataBrewTransformStage.html @@ -0,0 +1,366 @@ + + + + + + + + + aws_ddk_core.stages.DataBrewTransformStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.DataBrewTransformStage

+
+
+class aws_ddk_core.stages.DataBrewTransformStage(*args: Any, **kwargs)
+

Class that represents a DataBrew Transform DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, job_name: Optional[str] = None, job_role_arn: Optional[str] = None, job_type: Optional[str] = None, dataset_name: Optional[str] = None, recipe: Optional[aws_cdk.aws_databrew.CfnJob.RecipeProperty] = None, outputs: Optional[List[aws_cdk.aws_databrew.CfnJob.OutputProperty]] = None, state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

DDK DataBrew Transform stage.

+

Stage that contains a step function that runs DataBrew job

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • job_name (Optional[str]) – The name of a preexisting DataBrew job to run. If None, a DataBrew job is created

  • +
  • job_role_arn (Optional[str]) – The Arn of the job execution role. Required if job_name is None.

  • +
  • job_type (Optional[str]) – The type of job to run. Required if job_name is None.

  • +
  • dataset_name (Optional[str]) – The name of the dataset to use for the job.

  • +
  • recipe (Optional[CfnJob.RecipeProperty]) – The recipe to be used by the DataBrew job which is a series of data transformation steps.

  • +
  • outputs (Optional[List[CfnJob.OutputProperty]]) – The output properties for the job.

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – The input dict to the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK DataBrew Transform stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

job

Optional[CfnJob] The DataBrew job

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property job: Optional[aws_cdk.aws_databrew.CfnJob]
+

Optional[CfnJob] +The DataBrew job

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html new file mode 100644 index 00000000..e8fff38e --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html @@ -0,0 +1,383 @@ + + + + + + + + + aws_ddk_core.stages.GlueTransformStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.GlueTransformStage

+
+
+class aws_ddk_core.stages.GlueTransformStage(*args: Any, **kwargs)
+

Class that represents a Glue Transform DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, job_name: Optional[str] = None, executable: Optional[aws_cdk.aws_glue_alpha.JobExecutable] = None, job_role: Optional[aws_cdk.aws_iam.IRole] = None, crawler_name: Optional[str] = None, database_name: Optional[str] = None, crawler_role: Optional[aws_cdk.aws_iam.IRole] = None, targets: Optional[aws_cdk.aws_glue.CfnCrawler.TargetsProperty] = None, job_args: Optional[Dict[str, Any]] = None, state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

DDK Glue Transform stage.

+

Stage that contains a step function that runs Glue job, and a Glue crawler afterwards. +If the Glue job or crawler names are not supplied, then they are created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • job_name (Optional[str]) – The name of a preexisting Glue job to run. If None, a Glue job is created

  • +
  • executable (Optional[JobExecutable]) – The job executable properties

  • +
  • job_role (Optional[IRole]) – The job execution role

  • +
  • crawler_name (Optional[str]) – The name of a preexisting Glue crawler to run. If None, a Glue crawler is created

  • +
  • database_name (Optional[str]) – The name of the database in which the crawler’s output is stored

  • +
  • crawler_role (Optional[IRole]) – The crawler execution role

  • +
  • targets (Optional[TargetsProperty]) – A collection of targets to crawl

  • +
  • job_args (Optional[Dict[str, Any]]) – The input arguments to the Glue job

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – The input dict to the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK Glue Transform stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

crawler

Optional[CfnCrawler] The Glue crawler

job

Optional[IJob] The Glue job

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property crawler: Optional[aws_cdk.aws_glue.CfnCrawler]
+

Optional[CfnCrawler] +The Glue crawler

+
+
Type
+

Return

+
+
+
+
+
+property job: Optional[aws_cdk.aws_glue_alpha.IJob]
+

Optional[IJob] +The Glue job

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html new file mode 100644 index 00000000..a2df8162 --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html @@ -0,0 +1,462 @@ + + + + + + + + + aws_ddk_core.stages.KinesisToS3Stage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.KinesisToS3Stage

+
+
+class aws_ddk_core.stages.KinesisToS3Stage(*args: Any, **kwargs)
+

Class that represents a Firehose to S3 Ingestion DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, delivery_stream_name: typing.Optional[str] = None, bucket_name: typing.Optional[str] = None, buffering_interval: typing.Optional[aws_cdk.Duration] = None, buffering_size: typing.Optional[aws_cdk.Size] = None, compression: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression] = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>, data_output_prefix: typing.Optional[str] = None, data_stream_enabled: typing.Optional[bool] = False, encryption_key: typing.Optional[aws_cdk.aws_kms.IKey] = None, error_output_prefix: typing.Optional[str] = None, logging: typing.Optional[bool] = True, log_group: typing.Optional[aws_cdk.aws_logs.ILogGroup] = None, kinesis_delivery_stream_alarm_threshold: typing.Optional[int] = 900, kinesis_delivery_stream_alarm_evaluation_periods: typing.Optional[int] = 1, delivery_stream: typing.Optional[aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream] = None, bucket: typing.Optional[aws_cdk.aws_s3.IBucket] = None, data_stream: typing.Optional[aws_cdk.aws_kinesis.Stream] = None) None
+

DDK Kinesis Firehose Delivery stream to S3 stage, with an optional Kinesis Data Stream.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • delivery_stream_name (Optional[str] = None) – Name of the Firehose Delivery Stream

  • +
  • bucket_name (Optional[str] = None) – Name of S3 Bucket to be created as a delivery destination. +Amazon EventBridge notifications must be enabled on the bucket in order +for this stage to produce events after its completion.

  • +
  • buffering_interval (Optional[Duration] = None) – The length of time that Firehose buffers incoming data before delivering it to the S3 bucket. +Minimum: Duration.seconds(60) +Maximum: Duration.seconds(900) +Default: Duration.seconds(300)

  • +
  • buffering_size (Optional[Size] = None) – The size of the buffer that Kinesis Data Firehose uses for incoming +data before delivering it to the S3 bucket. +Minimum: Size.mebibytes(1) +Maximum: Size.mebibytes(128) +Default: Size.mebibytes(5)

  • +
  • compression (Optional[Compression] = None) – The type of compression that Kinesis Data Firehose uses to compress +the data that it delivers to the Amazon S3 bucket. +Default: - GZIP

  • +
  • data_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3. +This prefix appears immediately following the bucket name. +Default: “YYYY/MM/DD/HH”

  • +
  • data_stream_enabled (Optional[bool] = False) – Add Kinesis Data Stream to front Firehose Delivery. +Default: false

  • +
  • encryption_key (Optional[IKey] = None) – The AWS KMS key used to encrypt the data delivered to your Amazon S3 bucket

  • +
  • error_output_prefix (Optional[str] = None) – prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. +This prefix appears immediately following the bucket name. +Default: “YYYY/MM/DD/HH”

  • +
  • logging (Optional[bool] = True) – If true, log errors when data transformation or data delivery fails. +If log_group is provided, this will be implicitly set to true. +Default: true - errors are logged.

  • +
  • log_group (Optional[ILogGroup] = None) – The CloudWatch log group where log streams will be created to hold error logs. +Default: - if logging is set to true, a log group will be created for you.

  • +
  • kinesis_delivery_stream_alarm_threshold (Optional[int] = 900) – Threshold for Cloudwatch Alarm created for this stage. +Default: 900

  • +
  • kinesis_delivery_stream_alarm_evaluation_periods (Optional[int] = 1) – Evaluation period value for Cloudwatch alarm created for this stage. +Default: 1

  • +
  • delivery_stream (Optional[firehose.IDeliveryStream] = None) – Preexisting Delivery Stream to use in this stage

  • +
  • bucket (Optional[IBucket] = None) – Preexisting S3 Bucket to use as a destination for the Firehose Stream. +If no bucket is provided, a new one is created. +Amazon EventBridge notifications must be enabled on the bucket in order +for this stage to produce events after its completion.

  • +
  • data_stream (Optional[Stream] = None) – Preexisting Kinesis Data Stream to use in stage before Delivery Stream. +Setting this parameter will override any creation of Kinesis Data Streams +in this stage. data_stream_enabled will have no effect.

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK Kinesis Firehose Delivery stream to S3 stage, with an optional Kinesis Data Stream.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + +

bucket

S3 Bucket The S3 Destination Bucket

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

data_stream

Data Stream The Kinesis Data Stream

delivery_stream

Delivery Stream The Kinesis Firehose Delivery Stream

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property bucket: aws_cdk.aws_s3.IBucket
+

S3 Bucket +The S3 Destination Bucket

+
+
Type
+

Return

+
+
+
+
+
+property data_stream: aws_cdk.aws_kinesis.Stream
+

Data Stream +The Kinesis Data Stream

+
+
Type
+

Return

+
+
+
+
+
+property delivery_stream: aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream
+

Delivery Stream +The Kinesis Firehose Delivery Stream

+
+
Type
+

Return

+
+
+
+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.stages.S3EventStage.html b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.S3EventStage.html new file mode 100644 index 00000000..d135633c --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.S3EventStage.html @@ -0,0 +1,365 @@ + + + + + + + + + aws_ddk_core.stages.S3EventStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.S3EventStage

+
+
+class aws_ddk_core.stages.S3EventStage(*args: Any, **kwargs)
+

Class that represents an S3 Event DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, event_names: List[str], bucket_name: str, key_prefix: Optional[str] = None, **kwargs: Any) None
+

DDK S3 Event stage.

+

It implements an S3 event pattern based on event names, a bucket name and optional key prefix. +Amazon EventBridge notifications must be enabled on the bucket in order to use this construct.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • event_names (List[str]) – The list of events to capture, for example: [“Object Created”]. +https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventBridge.html

  • +
  • bucket_name (str) – The name of the S3 bucket. Amazon EventBridge notifications must be enabled +on the bucket in order to use this construct.

  • +
  • key_prefix (Optional[str]) – The S3 prefix. Capture root level prefix (“/”) by default

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK S3 Event stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + +

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html new file mode 100644 index 00000000..20d8a3ac --- /dev/null +++ b/release/0.5.1/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html @@ -0,0 +1,417 @@ + + + + + + + + + aws_ddk_core.stages.SqsToLambdaStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.SqsToLambdaStage

+
+
+class aws_ddk_core.stages.SqsToLambdaStage(*args: Any, **kwargs)
+

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, code: typing.Optional[aws_cdk.aws_lambda.Code] = None, handler: typing.Optional[str] = None, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, visibility_timeout: typing.Optional[aws_cdk.Duration] = None, dead_letter_queue_enabled: bool = False, max_receive_count: int = 1, batch_size: typing.Optional[int] = None, layers: typing.Optional[typing.List[aws_cdk.aws_lambda.ILayerVersion]] = None, lambda_function: typing.Optional[aws_cdk.aws_lambda.IFunction] = None, sqs_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, lambda_function_errors_alarm_threshold: typing.Optional[int] = 5, lambda_function_errors_alarm_evaluation_periods: typing.Optional[int] = 1) None
+

DDK SQS to Lambda stage.

+

It implements an Amazon SQS queue connected to an AWS Lambda function, with an optional DLQ.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Optional[Code]) – The source code of the Lambda function +Must be set if lambda_function is not.

  • +
  • handler (Optional[str]) – The name of the method within the code that Lambda calls to execute the function. +Must be set if lambda_function is not.

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function. PYTHON_3_9 by default

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default

  • +
  • visibility_timeout (Optional[Duration]) – Timeout of processing a single message in the queue. Default: Duration.seconds(120).

  • +
  • dead_letter_queue_enabled (bool) – Determines if DLQ is enabled. False by default

  • +
  • max_receive_count (int) – The number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue. +1 by default

  • +
  • batch_size (Optional[int]) – The maximum number of records retrieved from the event source at the function invocation time. +10 by default

  • +
  • layers (Optional[List[ILayerVersion]]) – A list of layers to add to the lambda function’s execution environment.

  • +
  • lambda_function (Optional[IFunction]) – Preexisting Lambda Function to use in stage. None by default

  • +
  • sqs_queue (Optional[IQueue]) – Preexisting SQS Queue to use in stage. None by default

  • +
  • lambda_function_errors_alarm_threshold (Optional[int]) – Amount of errored function invocations before triggering CW alarm. Defaults to 5

  • +
  • lambda_function_errors_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, code, ...])

DDK SQS to Lambda stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

dlq

DeadLetterQueue The SQS dead letter queue

function

Function The Lambda function

node

The tree node.

queue

Queue The SQS queue

+
+
+property dlq: Optional[aws_cdk.aws_sqs.DeadLetterQueue]
+

DeadLetterQueue +The SQS dead letter queue

+
+
Type
+

Return

+
+
+
+
+
+property function: aws_cdk.aws_lambda.IFunction
+

Function +The Lambda function

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property queue: aws_cdk.aws_sqs.IQueue
+

Queue +The SQS queue

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/genindex.html b/release/0.5.1/api/genindex.html new file mode 100644 index 00000000..c9599894 --- /dev/null +++ b/release/0.5.1/api/genindex.html @@ -0,0 +1,971 @@ + + + + + + + Index - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+

Index

+
Symbols | _ | A | B | C | D | E | F | G | J | K | L | N | Q | R | S
+
+
+

Symbols

+ + + +
+
+ +
+

_

+ + +
+
+ +
+

A

+ + + +
+
+ +
+

B

+ + + +
+
+ +
+

C

+ + + +
+
+ +
+

D

+ + + +
+
+ +
+

E

+ + + +
+
+ +
+

F

+ + + +
+
+ +
+

G

+ + + +
+
+ +
+

J

+ + + +
+
+ +
+

K

+ + + +
+
+ +
+

L

+ + +
+
+ +
+

N

+ + +
+
+ +
+

Q

+ + + +
+
+ +
+

R

+ + + +
+
+ +
+

S

+ + + +
+
+ + +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/index.html b/release/0.5.1/api/index.html new file mode 100644 index 00000000..b7269241 --- /dev/null +++ b/release/0.5.1/api/index.html @@ -0,0 +1,305 @@ + + + + + + + + + Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/objects.inv b/release/0.5.1/api/objects.inv new file mode 100644 index 0000000000000000000000000000000000000000..388cd1c0a9111e3ac1fa9b50f256e74205c0523b GIT binary patch literal 2270 zcmV<42qE_)AX9K?X>NERX>N99Zgg*Qc_4OWa&u{KZXhxWBOp+6Z)#;@bUGkGS5qKF zL`w=IAXa5^b7^mGIv@%oAXI2&AaZ4GVQFq;WpW^IW*~HEX>%ZEX>4U6X>%ZBZ*6dL zWpi_7WFU2OX>MmAdTeQ8E(&Y}D=T~T^_o{Sm^47Psx!mN^^wM!>?vas& zY;y*LC6S!}{Ryy>U<7Da*m-F>u)E*KYFX_{!t6!INwST(RN`vMw7B|e|5+Hux1`*E z;ThAK{7&lIpS7u$`ZF8WxZ0RJ`}7;3(U?#ir$uVwxVE1Qvys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Y&g;~wyPdSqp%Ru+l2RFj%)Y`)9GBx=MEXeKc1G#y+C%2MUb$~bD)knEZ9QMmSJ>F;y sJj$g0ZNe7m-Q5Ybr@h(O$LMHl!4%(g729jA&Z52lRQHkp0~hQVr|3s9LI3~& literal 0 HcmV?d00001 diff --git a/release/0.5.1/api/search.html b/release/0.5.1/api/search.html new file mode 100644 index 00000000..3a0e6dea --- /dev/null +++ b/release/0.5.1/api/search.html @@ -0,0 +1,260 @@ + + + + + + + Search - Contents + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ + + +
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + + + + \ No newline at end of file diff --git a/release/0.5.1/api/searchindex.js b/release/0.5.1/api/searchindex.js new file mode 100644 index 00000000..a02ca408 --- /dev/null +++ b/release/0.5.1/api/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({docnames:["cli/aws_ddk","core/aws_ddk_core","core/stubs/aws_ddk_core.base.BaseStack","core/stubs/aws_ddk_core.cicd.CICDPipelineStack","core/stubs/aws_ddk_core.config.Config","core/stubs/aws_ddk_core.config.JSONConfigStrategy","core/stubs/aws_ddk_core.pipelines.DataPipeline","core/stubs/aws_ddk_core.pipelines.DataStage","core/stubs/aws_ddk_core.pipelines.EventStage","core/stubs/aws_ddk_core.pipelines.StateMachineStage","core/stubs/aws_ddk_core.resources.DMSFactory","core/stubs/aws_ddk_core.resources.DataBrewFactory","core/stubs/aws_ddk_core.resources.GlueFactory","core/stubs/aws_ddk_core.resources.KMSFactory","core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory","core/stubs/aws_ddk_core.resources.KinesisStreamsFactory","core/stubs/aws_ddk_core.resources.LambdaFactory","core/stubs/aws_ddk_core.resources.S3Factory","core/stubs/aws_ddk_core.resources.SQSFactory","core/stubs/aws_ddk_core.resources.StepFunctionsFactory","core/stubs/aws_ddk_core.stages.AppFlowIngestionStage","core/stubs/aws_ddk_core.stages.AthenaSQLStage","core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage","core/stubs/aws_ddk_core.stages.DataBrewTransformStage","core/stubs/aws_ddk_core.stages.GlueTransformStage","core/stubs/aws_ddk_core.stages.KinesisToS3Stage","core/stubs/aws_ddk_core.stages.S3EventStage","core/stubs/aws_ddk_core.stages.SqsToLambdaStage","index"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["cli/aws_ddk.rst","core/aws_ddk_core.rst","core/stubs/aws_ddk_core.base.BaseStack.rst","core/stubs/aws_ddk_core.cicd.CICDPipelineStack.rst","core/stubs/aws_ddk_core.config.Config.rst","core/stubs/aws_ddk_core.config.JSONConfigStrategy.rst","core/stubs/aws_ddk_core.pipelines.DataPipeline.rst","core/stubs/aws_ddk_core.pipelines.DataStage.rst","core/stubs/aws_ddk_core.pipelines.EventStage.rst","core/stubs/aws_ddk_core.pipelines.StateMachineStage.rst","core/stubs/aws_ddk_core.resources.DMSFactory.rst","core/stubs/aws_ddk_core.resources.DataBrewFactory.rst","core/stubs/aws_ddk_core.resources.GlueFactory.rst","core/stubs/aws_ddk_core.resources.KMSFactory.rst","core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.rst","core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.rst","core/stubs/aws_ddk_core.resources.LambdaFactory.rst","core/stubs/aws_ddk_core.resources.S3Factory.rst","core/stubs/aws_ddk_core.resources.SQSFactory.rst","core/stubs/aws_ddk_core.resources.StepFunctionsFactory.rst","core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.rst","core/stubs/aws_ddk_core.stages.AthenaSQLStage.rst","core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.rst","core/stubs/aws_ddk_core.stages.DataBrewTransformStage.rst","core/stubs/aws_ddk_core.stages.GlueTransformStage.rst","core/stubs/aws_ddk_core.stages.KinesisToS3Stage.rst","core/stubs/aws_ddk_core.stages.S3EventStage.rst","core/stubs/aws_ddk_core.stages.SqsToLambdaStage.rst","index.rst"],objects:{"aws_ddk_core.base":[[2,0,1,"","BaseStack"]],"aws_ddk_core.base.BaseStack":[[2,1,1,"","__init__"]],"aws_ddk_core.cicd":[[3,0,1,"","CICDPipelineStack"]],"aws_ddk_core.cicd.CICDPipelineStack":[[3,1,1,"","__init__"],[3,1,1,"","add_checks"],[3,1,1,"","add_custom_stage"],[3,1,1,"","add_notifications"],[3,1,1,"","add_security_lint_stage"],[3,1,1,"","add_source_action"],[3,1,1,"","add_stage"],[3,1,1,"","add_synth_action"],[3,1,1,"","add_test_stage"],[3,1,1,"","build"],[3,1,1,"","synth"]],"aws_ddk_core.config":[[4,0,1,"","Config"],[5,0,1,"","JSONConfigStrategy"]],"aws_ddk_core.config.Config":[[4,1,1,"","__init__"],[4,1,1,"","get_cdk_version"],[4,1,1,"","get_env"],[4,1,1,"","get_env_config"],[4,1,1,"","get_resource_config"],[4,1,1,"","get_tags"]],"aws_ddk_core.config.JSONConfigStrategy":[[5,1,1,"","__init__"],[5,1,1,"","get_config"]],"aws_ddk_core.pipelines":[[6,0,1,"","DataPipeline"],[7,0,1,"","DataStage"],[8,0,1,"","EventStage"],[9,0,1,"","StateMachineStage"]],"aws_ddk_core.pipelines.DataPipeline":[[6,1,1,"","__init__"],[6,1,1,"","add_notifications"],[6,1,1,"","add_rule"],[6,1,1,"","add_stage"]],"aws_ddk_core.pipelines.DataStage":[[7,1,1,"","__init__"],[7,1,1,"","add_alarm"],[7,2,1,"","cloudwatch_alarms"]],"aws_ddk_core.pipelines.EventStage":[[8,1,1,"","__init__"],[8,1,1,"","get_targets"]],"aws_ddk_core.pipelines.StateMachineStage":[[9,1,1,"","__init__"],[9,1,1,"","build_state_machine"],[9,1,1,"","get_event_pattern"],[9,1,1,"","get_targets"],[9,2,1,"","state_machine"]],"aws_ddk_core.resources":[[10,0,1,"","DMSFactory"],[11,0,1,"","DataBrewFactory"],[12,0,1,"","GlueFactory"],[13,0,1,"","KMSFactory"],[14,0,1,"","KinesisFirehoseFactory"],[15,0,1,"","KinesisStreamsFactory"],[16,0,1,"","LambdaFactory"],[17,0,1,"","S3Factory"],[18,0,1,"","SQSFactory"],[19,0,1,"","StepFunctionsFactory"]],"aws_ddk_core.resources.DMSFactory":[[10,1,1,"","__init__"],[10,1,1,"","endpoint"],[10,1,1,"","endpoint_settings_s3"],[10,1,1,"","replication_instance"],[10,1,1,"","replication_task"]],"aws_ddk_core.resources.DataBrewFactory":[[11,1,1,"","__init__"],[11,1,1,"","job"]],"aws_ddk_core.resources.GlueFactory":[[12,1,1,"","__init__"],[12,1,1,"","job"]],"aws_ddk_core.resources.KMSFactory":[[13,1,1,"","__init__"],[13,1,1,"","key"]],"aws_ddk_core.resources.KinesisFirehoseFactory":[[14,1,1,"","__init__"],[14,1,1,"","delivery_stream"],[14,1,1,"","s3_destination"]],"aws_ddk_core.resources.KinesisStreamsFactory":[[15,1,1,"","__init__"],[15,1,1,"","data_stream"]],"aws_ddk_core.resources.LambdaFactory":[[16,1,1,"","__init__"],[16,1,1,"","function"]],"aws_ddk_core.resources.S3Factory":[[17,1,1,"","__init__"],[17,1,1,"","bucket"]],"aws_ddk_core.resources.SQSFactory":[[18,1,1,"","__init__"],[18,1,1,"","queue"]],"aws_ddk_core.resources.StepFunctionsFactory":[[19,1,1,"","__init__"],[19,1,1,"","state_machine"]],"aws_ddk_core.stages":[[20,0,1,"","AppFlowIngestionStage"],[21,0,1,"","AthenaSQLStage"],[22,0,1,"","DMSS3ToS3Stage"],[23,0,1,"","DataBrewTransformStage"],[24,0,1,"","GlueTransformStage"],[25,0,1,"","KinesisToS3Stage"],[26,0,1,"","S3EventStage"],[27,0,1,"","SqsToLambdaStage"]],"aws_ddk_core.stages.AppFlowIngestionStage":[[20,1,1,"","__init__"],[20,2,1,"","flow"]],"aws_ddk_core.stages.AthenaSQLStage":[[21,1,1,"","__init__"]],"aws_ddk_core.stages.DMSS3ToS3Stage":[[22,1,1,"","__init__"],[22,2,1,"","event_pattern"],[22,1,1,"","get_event_pattern"],[22,1,1,"","get_targets"]],"aws_ddk_core.stages.DataBrewTransformStage":[[23,1,1,"","__init__"],[23,2,1,"","job"]],"aws_ddk_core.stages.GlueTransformStage":[[24,1,1,"","__init__"],[24,2,1,"","crawler"],[24,2,1,"","job"]],"aws_ddk_core.stages.KinesisToS3Stage":[[25,1,1,"","__init__"],[25,2,1,"","bucket"],[25,2,1,"","data_stream"],[25,2,1,"","delivery_stream"],[25,2,1,"","event_pattern"],[25,1,1,"","get_event_pattern"],[25,1,1,"","get_targets"]],"aws_ddk_core.stages.S3EventStage":[[26,1,1,"","__init__"],[26,2,1,"","event_pattern"],[26,1,1,"","get_event_pattern"]],"aws_ddk_core.stages.SqsToLambdaStage":[[27,1,1,"","__init__"],[27,2,1,"","dlq"],[27,2,1,"","function"],[27,1,1,"","get_event_pattern"],[27,1,1,"","get_targets"],[27,2,1,"","queue"]],"ddk-bootstrap":[[0,3,1,"cmdoption-ddk-bootstrap-e","--environment"],[0,3,1,"cmdoption-ddk-bootstrap-i","--iam-policies"],[0,3,1,"cmdoption-ddk-bootstrap-permissions-boundary","--permissions-boundary"],[0,3,1,"cmdoption-ddk-bootstrap-prefix","--prefix"],[0,3,1,"cmdoption-ddk-bootstrap-p","--profile"],[0,3,1,"cmdoption-ddk-bootstrap-qualifier","--qualifier"],[0,3,1,"cmdoption-ddk-bootstrap-r","--region"],[0,3,1,"cmdoption-ddk-bootstrap-t","--tags"],[0,3,1,"cmdoption-ddk-bootstrap-a","--trusted-accounts"],[0,3,1,"cmdoption-ddk-bootstrap-a","-a"],[0,3,1,"cmdoption-ddk-bootstrap-e","-e"],[0,3,1,"cmdoption-ddk-bootstrap-i","-i"],[0,3,1,"cmdoption-ddk-bootstrap-p","-p"],[0,3,1,"cmdoption-ddk-bootstrap-r","-r"],[0,3,1,"cmdoption-ddk-bootstrap-t","-t"]],"ddk-create-repository":[[0,3,1,"cmdoption-ddk-create-repository-d","--description"],[0,3,1,"cmdoption-ddk-create-repository-p","--profile"],[0,3,1,"cmdoption-ddk-create-repository-r","--region"],[0,3,1,"cmdoption-ddk-create-repository-t","--tags"],[0,3,1,"cmdoption-ddk-create-repository-d","-d"],[0,3,1,"cmdoption-ddk-create-repository-p","-p"],[0,3,1,"cmdoption-ddk-create-repository-r","-r"],[0,3,1,"cmdoption-ddk-create-repository-t","-t"],[0,3,1,"cmdoption-ddk-create-repository-arg-NAME","NAME"]],"ddk-deploy":[[0,3,1,"cmdoption-ddk-deploy-f","--force"],[0,3,1,"cmdoption-ddk-deploy-o","--output-dir"],[0,3,1,"cmdoption-ddk-deploy-p","--profile"],[0,3,1,"cmdoption-ddk-deploy-require-approval","--require-approval"],[0,3,1,"cmdoption-ddk-deploy-f","-f"],[0,3,1,"cmdoption-ddk-deploy-o","-o"],[0,3,1,"cmdoption-ddk-deploy-p","-p"]],"ddk-init":[[0,3,1,"cmdoption-ddk-init-e","--environment"],[0,3,1,"cmdoption-ddk-init-generate-only","--generate-only"],[0,3,1,"cmdoption-ddk-init-t","--template"],[0,3,1,"cmdoption-ddk-init-e","-e"],[0,3,1,"cmdoption-ddk-init-t","-t"],[0,3,1,"cmdoption-ddk-init-arg-NAME","NAME"]],ddk:[[0,3,1,"cmdoption-ddk-debug","--debug"],[0,3,1,"cmdoption-ddk-debug","--no-debug"],[0,3,1,"cmdoption-ddk-version","--version"]]},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"],"2":["py","property","Python property"],"3":["std","cmdoption","program option"]},objtypes:{"0":"py:class","1":"py:method","2":"py:property","3":"std:cmdoption"},terms:{"1":[0,7,9,11,12,13,14,15,16,20,21,23,24,25,27],"10":27,"111111111111":0,"120":[16,27],"128":[14,25],"15":20,"1984":0,"2":[11,12,13,16],"222222222222":0,"256":[16,27],"3":[11,12,13,16],"30":13,"300":[14,25],"31":10,"3600":[11,12,15],"5":[7,14,25,27],"60":[14,25],"900":[14,25],"class":[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],"default":[0,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,20,21,23,24,25,26,27],"function":[10,14,15,16,17,18,19,20,21,23,24,27],"int":[7,9,10,11,12,15,16,20,21,23,24,25,27],"new":[0,25],"null":10,"public":[10,17],"return":[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,23,24,25,26,27],"static":[10,11,12,13,14,15,16,17,18,19],"super":[7,8],"true":[0,10,13,14,17,25],"while":10,A:[0,10,11,14,15,24,25,27],By:6,For:[6,7,8,10,11,12,13,14,15,16,17,18,19,22],If:[0,2,10,12,14,15,20,23,24,25],It:[3,10,26,27],One:11,The:[0,3,7,9,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27],To:[7,8],_:3,__init__:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],_event_pattern:8,_queue:7,abil:3,abl:[3,10],about:10,access:[10,15,17],access_control:17,account:[0,2,3,4],acl:17,action:3,add:[3,6,7,8,9,14,20,21,23,24,25,27],add_alarm:7,add_check:3,add_custom_stag:3,add_notif:[3,6],add_rul:6,add_security_lint_stag:3,add_source_act:3,add_stag:[3,6],add_synth_act:3,add_test_stag:3,addit:[2,3,9,10,11,12,13,14,15,16,17,18,19,20,21,23,24],additional_role_policy_stat:[9,20,21,23,24],address:10,after:[3,11,12,16,25,27],afterward:24,against:7,alarm:[7,9,20,21,23,24,25,27],alarm_comparison_oper:7,alarm_evaluation_period:7,alarm_id:7,alarm_metr:7,alarm_threshold:7,alia:[13,15],alloc:[10,12,16,27],allocated_storag:10,allow:[10,11,12,13,14,15,16,17,18,19],allow_all_outbound:16,allow_major_version_upgrad:10,allow_public_subnet:16,alwai:[0,11,12,13,16],amazon:[2,3,10,11,12,13,14,15,16,17,18,19,22,25,26,27],amazons3:26,amount:[10,16,27],an:[6,8,9,10,15,20,22,25,26,27],analyz:11,ani:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],api:[3,10,11,12,13,14,15,16,17,18,19],app:3,appear:[14,25],appflow:20,appli:[0,10,11,15,17,18],applic:[2,3],approv:[0,3],ar:[0,3,8,9,10,11,12,13,14,15,16,17,18,19,22,24,25,27],arg:[0,2,3,6,7,8,9,20,21,22,23,24,25,26,27],argument:[0,2,11,12,13,16,24],arn1:0,arn2:0,arn:[0,2,3,10,11,23],artifact:[3,11],artifactori:3,ascii:10,assembl:[0,3],associ:[10,14],assum:14,athena:21,attach:0,attribut:[2,3,6,7,8,9,20,21,22,23,24,25,26,27],aurora:10,auto_delete_object:17,auto_minor_version_upgrad:10,automat:[10,15],avail:10,availability_zon:10,availabilityzon:10,avoid:3,aw:[0,2,3,4,8,10,11,12,13,14,15,16,17,18,19,22,25,26,27],aws_appflow:20,aws_cdk:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],aws_cloudwatch:7,aws_codestarnotif:3,aws_databrew:[11,23],aws_ddk:28,aws_ddk_cor:28,aws_dm:10,aws_ev:[6,8,9,22,25,26,27],aws_glu:24,aws_glue_alpha:[12,24],aws_iam:[3,9,12,14,16,20,21,23,24,27],aws_kinesi:[14,15,25],aws_kinesisfirehos:14,aws_kinesisfirehose_alpha:[14,25],aws_kinesisfirehose_destin:14,aws_kinesisfirehose_destinations_alpha:[14,25],aws_km:[13,14,15,21,25],aws_lambda:[16,27],aws_log:[14,25],aws_s3:[14,17,22,25],aws_sn:6,aws_sq:[16,18,27],aws_stepfunct:[9,19],aws_stepfunctions_task:21,awslab:[2,3],az:10,azuredb:10,back:14,bandit:3,base:[3,26,28],batch_siz:27,been:13,befor:[9,13,14,20,21,23,24,25,27],being:27,best:3,between:20,block:[3,17],block_al:17,block_public_access:17,blockpublicaccess:17,bool:[2,3,6,10,13,14,16,17,19,25,27],bootstrap:2,boundari:[0,2],branch:3,broaden:0,bucket:[3,10,14,17,18,21,22,25,26],bucket_fold:10,bucket_nam:[10,17,25,26],bucket_owner_full_control:17,bucket_prop:17,bucketaccesscontrol:17,bucketencrypt:17,bucketfold:10,buffer:[14,25],buffering_interv:[14,25],buffering_s:[14,25],build:[3,9],build_state_machin:9,builder:3,c5:22,call:[3,16,27],can:[2,3,5,10,11,15,17,27],capac:[10,15],captur:26,catalog:21,catalog_nam:21,cd:3,cdc:10,cdk:[0,2,3,4,10,11,12,13,14,15,16,17,18,19],cdk_version:[3,4],cfn:3,cfncrawler:24,cfnendpoint:10,cfnflow:20,cfnjob:[11,23],cfnreplicationinst:10,cfnreplicationtask:10,chang:0,chap_sourc:22,chap_task:[10,22],charact:10,check:[3,20],choos:[10,15],chunki:3,ci:3,cicd:28,cicdpipelin:3,cli:0,cloud:[0,3,10],cloud_assembly_file_set:3,cloudform:[13,15],cloudwatch:[7,11,14,25],cloudwatch_alarm:7,cmk:[13,14],code:[0,3,16,27],codeartifact:3,codeartifact_domain:3,codeartifact_domain_own:3,codeartifact_repositori:3,codebuildstep:3,codecommit:3,codepipelinesourc:3,collect:24,com:[2,3,10,11,12,13,14,15,16,17,18,19,22,26],command:[0,3],common:[14,15,19],compar:[7,9,20,21,23,24,27],comparison:7,comparisonoper:7,complet:[10,11,12,13,14,15,16,17,18,19,25],compress:[14,25],comput:10,condit:10,config:[3,28],config_strategi:4,configstrategi:4,configur:[2,3,4,5,10,11,12,13,14,15,16,17,18,19,21],connect:[3,27],construct:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],constructor:3,consum:[6,11],contain:[0,3,4,5,10,20,21,23,24],content:18,content_based_dedupl:18,continu:3,costcent:0,crawl:24,crawler:24,crawler_nam:24,crawler_rol:24,creat:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,23,24,25,26],creation:[6,9,25],credenti:0,csv:10,custom:[3,6,14],customizingtask:[10,22],cw:[9,20,21,23,24,27],d:0,dai:13,data:[6,7,8,9,10,11,14,15,20,21,22,23,24,25,27,28],data_key_reus:18,data_output_prefix:[14,25],data_stream:[15,25],data_stream_en:25,databas:[21,24],database_nam:[21,24],databrew:[11,23],dataset:[11,23],dataset_nam:[11,23],datastag:[6,9,20,21,23,24],db2:10,dd:25,ddd:10,ddk:[2,3,5,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],dead:27,dead_letter_queu:[16,18],dead_letter_queue_en:[16,27],deadletterqueu:[18,27],debug:0,def:[7,8],default_argu:12,defaultstacksynthes:2,defin:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],definit:[9,10,22],delet:13,deliv:[14,25],deliveri:[3,14,25],delivery_delai:18,delivery_stream:[14,25],delivery_stream_nam:[14,25],deliverystream:14,depend:[10,11,12,13,14,15,16,17,18,19],deploi:[2,3],deploy:[0,3,10],dequeu:[18,27],describ:[8,9,22,25,26,27],descript:[0,6,7,8,9,12,16],destin:[10,14,22,25],destination_flow_config:20,destination_prop:14,destinationflowconfigproperti:20,destinations3backupprop:14,detail:[3,7,8],detail_typ:[7,8],determin:[4,11,16,27],dev:[0,3],devstag:3,dict:[2,4,9,20,21,23,24],dictionari:[4,5],differ:5,differnet:2,digit:10,dir:0,directori:0,disabl:10,disambigu:2,displai:10,distinct:10,distribut:11,dlq:[16,27],dm:[10,22],doc:[2,3,10,11,12,13,14,15,16,17,18,19,22,26],docdb:10,document:[3,10,11,12,13,14,15,16,17,18,19,22],domain:3,domain_own:3,don:10,durat:[11,12,13,14,15,16,19,20,25,27],dure:[3,10],dynamodb:10,e:[0,3],east:0,effect:25,elasticsearch:10,empti:2,enabl:[2,10,16,19,25,26,27],enable_key_rot:13,enable_profiling_metr:12,enable_statist:10,encrypt:[3,10,11,13,14,15,17,18,21,25],encryption_kei:[14,15,21,25],encryption_mod:11,encryption_opt:21,encryptionkei:15,encryptionopt:21,end:10,endpoint:10,endpoint_prop:10,endpoint_s3_prop:10,endpoint_settings_s3:10,endpoint_settings_s3_prop:10,endpoint_typ:10,endpointarn:10,endpointtyp:10,enforc:[15,17],enforce_ssl:17,engin:10,engine_nam:10,engine_vers:10,ensur:3,env:[3,4],env_config:4,environ:[0,2,3,4,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],environment_id:[2,3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],error:[14,25,27],error_output_prefix:[14,25],evalu:[14,25],even:0,event:[3,6,8,9,22,25,26,27],event_bridge_en:17,event_nam:[8,26],event_pattern:[6,8,9,22,25,26,27],event_target:6,eventbridg:[17,25,26],eventpattern:[6,7,8,9,22,25,26,27],exampl:[3,6,7,8,26],execut:[9,11,12,16,20,21,23,24,27],execute_security_lint:3,execute_test:3,exist:[3,6],exit:0,explicit:[11,12,13,16],extern:[10,15,22],external_table_definit:[10,22],externaltabledef:22,externaltabledefinit:10,f:0,factori:[10,11,12,13,14,15,16,17,18,19],fail:[9,14,20,21,23,24,25],fals:[0,3,6,10,16,17,25,27],featur:3,file:[0,3,5,10,11,12,13,14,15,16,17,18,19],firehos:[14,15,25],firehose_prop:14,flow:20,flow_execution_status_check_period:20,flow_nam:20,fn:16,folder:10,follow:[11,12,13,14,16,25],forc:0,form:4,format:[10,22],framework:0,from:[0,2,3,4,5,7,8,11,12,13,14,16,17,18,22,27],front:25,full:10,function_nam:16,function_prop:16,g:[0,3],gener:[0,15],get:[4,5,8,9,22,25,26,27],get_cdk_vers:4,get_config:5,get_env:4,get_env_config:4,get_event_pattern:[7,8,9,22,25,26,27],get_resource_config:4,get_tag:4,get_target:[6,7,8,9,22,25,27],gigabyt:10,git:0,github:[2,3],given:[4,5],glue:[12,24],grant:17,greater_than_threshold:7,group:[10,14,25],guid:2,gzip:[14,25],ha:13,handler:[16,27],have:[2,10,17,25],helper:9,hh24:10,hh:25,hold:[14,25],hope:3,hour:15,how:[2,3,4,22],html:[2,3,10,11,12,13,14,15,16,17,18,19,22,26],http:[2,3,10,11,12,13,14,15,16,17,18,19,22,26],hyphen:10,i:0,ialarm:7,iam:[0,9,10,14,20,21,23,24],iam_polici:0,ibucket:[14,17,22,25],ichain:9,id:[0,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],idataprocessor:14,ideliverystream:[14,25],ident:0,identifi:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],idestin:14,ifilesetproduc:3,ifunct:[16,27],ijob:[12,24],ikei:[13,14,15,25],ilayervers:27,iloggroup:[14,25],imetr:7,immedi:[14,25],implement:[7,8,26,27],implicitli:[14,25],includ:[2,3,10,11,12,13,14,15,16,17,18,19],incom:[14,25],index:28,indic:[10,13,14],infer:0,inform:[10,22],infrastructur:[3,7,8],ingest:[20,25],inherit:[2,7,8],initi:10,input:[8,9,20,21,22,23,24,25,27],instanc:[3,4,6,10],integr:3,interfac:3,interpret:22,invoc:27,invok:[8,9,14,22,25,27],io:[2,3],ip:10,iqueu:[16,18,27],irol:[12,14,16,24,27],iruletarget:[6,7,8,9,22,25,27],isecurityconfigur:12,isn:10,istream:[14,15],itop:6,its:[11,25],job:[11,12,23,24],job_arg:24,job_nam:[12,23,24],job_prop:[11,12],job_rol:24,job_role_arn:23,job_typ:23,jobexecut:[12,24],json:[3,4,5,10,11,12,13,14,15,16,17,18,19,22],jsonconfigstrategi:4,kafka:10,kb:10,kei:[2,3,5,10,11,13,14,15,18,21,25,26],key_prefix:26,key_prop:13,kind:[15,17],kinesi:[10,14,15,25],kinesis_delivery_stream_alarm_evaluation_period:25,kinesis_delivery_stream_alarm_threshold:25,kinesis_prop:15,km:[3,10,11,13,14,15,21,25],kms_key_id:10,kms_manag:18,kmskeyid:10,kwarg:[2,3,6,7,8,9,20,21,22,23,24,25,26,27],lambda:[16,27],lambda_funct:27,lambda_function_errors_alarm_evaluation_period:27,lambda_function_errors_alarm_threshold:27,larg:22,latest:[2,3,10,22,26],layer:27,leav:2,length:[14,25],letter:[10,27],level:[2,26],link:7,lint:3,list:[0,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],load:[5,10],loc:3,local:0,locat:11,log:[0,11,14,25],log_group:[14,25],log_subscript:11,loggroup:14,lowercas:10,machin:[9,19,20,21,23,24],main:3,mainten:10,major:10,manag:[0,2,11,13,14],manual:[0,3],manual_approv:3,map:[10,22],mariadb:10,master:[14,15],match:[6,8,9,22,25,27],max:10,max_capac:11,max_concurrent_run:12,max_event_ag:16,max_file_s:10,max_message_size_byt:18,max_receive_count:27,max_retri:[11,12],maximum:[10,11,14,19,25,27],mb:[16,27],mebibyt:[14,25],memori:[10,16,27],memory_s:[16,27],messag:[18,27],method:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],metric:7,mi:10,migrat:10,migration_typ:10,min:10,minimum:[14,25],minor:10,mm:25,mode:[11,15],modifi:3,modul:28,mongodb:10,more:[3,10,11,22],move:27,multi:[2,10],multi_az:10,multipl:[2,3],must:[10,11,15,25,26,27],mutat:3,my:[3,6,7],my_glue_stag:6,my_lambda_stag:6,mypipelin:3,mysql:10,mystag:[7,8],nag:3,name:[0,2,3,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,23,24,25,26,27],need:0,neptun:10,never:0,next:6,node:11,non:3,none:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],notif:[3,6,17,25,26],notification_rul:3,notificationrul:3,notifications_top:6,notifications_topic_arn:3,number:[7,9,10,11,12,13,15,18,20,21,23,24,27],o:0,object:[10,14,16,20,25,26,27],occur:10,off:0,one:[6,11,25],onli:[0,2,10,15],opensearch:10,oper:7,option:[0,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],oracl:10,order:[11,12,13,16,25,26],other:[2,10],otherwis:[3,11,12,13,15,16],output:[0,6,9,11,21,22,23,24,25,26,27],output_bucket_nam:21,output_dir:0,output_loc:11,output_object_kei:21,outputlocationproperti:11,outputproperti:[11,23],over:[7,9,20,21,23,24,27],overal:10,overrid:[3,6,25],override_rul:6,owner:3,p:0,page:[10,28],pair:2,paramet:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],parquet:10,particular:15,path:[5,10],pattern:[6,8,9,22,25,26,27],pending_window:13,perform:[0,14],period:[7,9,13,20,21,23,24,25,27],permiss:[0,2,10,14,17],permissions_boundari:0,permissions_boundary_arn:2,physic:15,pipelin:[3,28],pipeline_nam:3,polici:[0,2,3,9,17,18,20,21,23,24],policystat:[3,9,20,21,23,24],possibl:3,postgr:10,postgresql:10,practic:3,predefin:[12,17],preexist:[23,24,25,27],prefer:[11,12,13,16],preferred_maintenance_window:10,prefix:[0,2,14,22,25,26],previou:6,previous_stag:6,privat:[3,10],process:[11,27],processor:14,produc:[3,9,22,25,26,27],profil:[0,11,16],project:0,properti:[2,3,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,23,24,25,26,27],protect:2,provid:[0,4,10,14,15,25],provis:15,publicly_access:10,pull:3,pytest:3,python:[0,3,10,11,12,13,14,15,16,17,18,19],python_3_9:27,qualifi:[0,2],queri:21,query_str:21,queue:[7,16,18,27],queue_nam:18,queue_prop:18,queueencrypt:18,r:0,rai:19,rang:10,read:[4,5,14],receive_message_wait_tim:18,recip:[11,23],recipeproperti:[11,23],record:[14,15,25,27],redshift:10,refer:[10,11,12,13,14,15,16,17,18,19],region:[0,4,15],releas:[2,3],remain:15,remov:[13,17,18],removal_polici:[13,17,18],removalpolici:[13,17,18],replic:[10,22],replication_inst:10,replication_instance_arn:10,replication_instance_class:[10,22],replication_instance_identifi:10,replication_instance_prop:10,replication_subnet_group_identifi:10,replication_task:10,replication_task_prop:10,replication_task_set:10,repo:[0,3,4,5],repositori:3,repository_nam:3,repres:[4,6,7,8,10,11,20,21,22,23,24,25,26,27],request:17,requir:[0,7,8,10,23],require_approv:0,reserved_concurrent_execut:16,resourc:[0,4,28],resource_identifi:10,respect:[11,12,13,16],respons:10,retain:[13,17,18],retention_period:[15,18],retri:11,retriev:27,retry_attempt:16,reus:3,role:[0,3,9,10,11,12,14,16,20,21,23,24,27],role_arn:11,role_policy_stat:3,root:[4,5,26],rotat:[3,13],rout:[9,22,25,26,27],row:10,rule:[3,6,8,9,22,25,26,27],run:[3,12,19,20,23,24],runtim:[16,27],s3:[8,10,11,14,17,21,22,25,26],s3_backup:14,s3_destin:14,s3_manag:17,s3_set:10,s3bucket:14,s3settingsproperti:10,s:[7,9,22,24,25,26,27],same:2,save:3,schema_nam:10,scm:3,scope:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],search:28,second:[11,12,14,15,16,20,25,27],secur:[0,3,10,12],security_configur:12,see:[3,10,22],select:[9,22,25,26,27],self:[3,6,7,8],send:[3,17,18],sensit:0,sequenc:[11,14],seri:[11,23],server:[11,14,15,17],servic:[13,17,18,19],service_access_role_arn:10,set:[0,2,3,10,14,15,25,27],sever:3,sfn:19,sh:3,shard:15,shard_count:15,should:[0,3,4,8,9,10,13,14,17,22,25,27],show:0,side:[11,14,15,17],simpl:[17,18],simplifi:9,singl:27,size:[10,11,14,25],skip:6,skip_rul:6,sn:[3,6],some:3,sourc:[0,3,8,10,14,16,22,27],source_act:3,source_bucket:22,source_bucket_prefix:22,source_endpoint_arn:10,source_flow_config:20,source_stream:14,sourceflowconfigproperti:20,specif:[0,3,6],specifi:[3,5,6,7,9,10,13,15,17,19,20,21,23,24,27],sq:[7,16,18,27],sql:21,sqlserver:10,sqs_queue:27,sqsfactori:7,sqsqueue:7,sse:11,ssl:[3,17],stack:[0,2,3,13,17,18],stage:[3,6,7,8,9,28],stage_id:3,stage_nam:3,standard:2,start:[3,21],state:[9,19,20,21,23,24],state_machin:[9,19],state_machine_failed_executions_alarm_evaluation_period:[9,20,21,23,24],state_machine_failed_executions_alarm_threshold:[9,20,21,23,24],state_machine_input:[9,20,21,23,24],state_machine_nam:19,state_machine_prop:19,state_machine_typ:19,statemachin:[9,19],statemachinetyp:19,statement:[9,20,21,23,24],statist:[7,10],statu:[11,20],step:[3,11,19,20,21,23,24],storag:[10,17],store:[10,15,24],str:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],strategi:4,stream:[14,15,25],stream_mod:15,stream_nam:15,streamencrypt:[14,15],streammod:15,string:10,structur:[0,3,9,22,25,26,27],subnet:10,suppli:[15,20,24],support:[2,3,10,11,12,13,14,15,16,17,18,19],sybas:10,synth:3,synth_act:3,synthes:[0,2,3],system:[0,10],t:[0,10],tabl:[10,22],table_map:[10,22],table_nam:10,tablemap:22,tag:[0,2,4],tag_kei:4,target:[6,8,9,10,22,24,25,26,27],target_bucket:22,target_bucket_prefix:22,target_endpoint_arn:10,targetsproperti:24,task:[10,20,22],taskproperti:20,taskset:10,templat:0,termin:[2,11,12,16,27],termination_protect:2,test:3,thei:[18,24],them:[3,9,14,22,25,26,27],thi:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],threshold:[7,9,20,21,23,24,25,27],through:15,time:[10,11,12,14,16,18,19,20,25,27],timeout:[11,12,16,19,27],topic:[3,6],trace:[16,19],tracing_en:19,transform:[11,14,23,24,25,27],trigger:[9,20,21,23,24,27],trust:0,trusted_account:0,turn:[0,17],type:[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,23,24,25,26,27],unencrypt:[14,15],union:10,uniqu:10,unsuccessfulli:[18,27],up:[0,10,14],upgrad:10,url:0,us:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,22,23,25,26,27],user:3,userguid:[10,22,26],usual:6,utc:10,v1:[3,10,14,15],v2:[2,10,11,12,13,16,17,18,19],valid:10,valu:[2,4,7,10,11,12,13,16,25],version:[0,3,4,10,17],via:[3,6,15],virtual:[0,10],visibility_timeout:[18,27],vpc:10,vpc_security_group_id:10,wait:[13,20],weekli:10,were:18,what:[0,8,9,18,22,25,27],when:[8,9,10,12,13,14,17,18,22,25,27],where:[0,4,14,25],whether:[10,13,17,18,19],which:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],window:10,wire:6,within:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],without:0,work:10,worker:12,worker_count:12,worker_typ:12,workertyp:12,workgroup:21,write:[14,25],x:19,you:[2,10,14,15,25],your:[0,3,10,14,25],yyyi:25,zone:10},titles:["aws_ddk package","aws_ddk_core package","aws_ddk_core.base.BaseStack","aws_ddk_core.cicd.CICDPipelineStack","aws_ddk_core.config.Config","aws_ddk_core.config.JSONConfigStrategy","aws_ddk_core.pipelines.DataPipeline","aws_ddk_core.pipelines.DataStage","aws_ddk_core.pipelines.EventStage","aws_ddk_core.pipelines.StateMachineStage","aws_ddk_core.resources.DMSFactory","aws_ddk_core.resources.DataBrewFactory","aws_ddk_core.resources.GlueFactory","aws_ddk_core.resources.KMSFactory","aws_ddk_core.resources.KinesisFirehoseFactory","aws_ddk_core.resources.KinesisStreamsFactory","aws_ddk_core.resources.LambdaFactory","aws_ddk_core.resources.S3Factory","aws_ddk_core.resources.SQSFactory","aws_ddk_core.resources.StepFunctionsFactory","aws_ddk_core.stages.AppFlowIngestionStage","aws_ddk_core.stages.AthenaSQLStage","aws_ddk_core.stages.DMSS3ToS3Stage","aws_ddk_core.stages.DataBrewTransformStage","aws_ddk_core.stages.GlueTransformStage","aws_ddk_core.stages.KinesisToS3Stage","aws_ddk_core.stages.S3EventStage","aws_ddk_core.stages.SqsToLambdaStage","AWS DDK API Documentation"],titleterms:{api:28,appflowingestionstag:20,athenasqlstag:21,aw:28,aws_ddk:0,aws_ddk_cor:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],base:[1,2],basestack:2,bootstrap:0,cicd:[1,3],cicdpipelinestack:3,config:[1,4,5],creat:0,data:1,databrewfactori:11,databrewtransformstag:23,datapipelin:6,datastag:7,ddk:[0,28],deploi:0,dmsfactori:10,dmss3tos3stag:22,document:28,eventstag:8,gluefactori:12,gluetransformstag:24,indic:28,init:0,jsonconfigstrategi:5,kinesisfirehosefactori:14,kinesisstreamsfactori:15,kinesistos3stag:25,kmsfactori:13,lambdafactori:16,packag:[0,1,28],pipelin:[1,6,7,8,9],repositori:0,resourc:[1,10,11,12,13,14,15,16,17,18,19],s3eventstag:26,s3factori:17,sqsfactori:18,sqstolambdastag:27,stage:[1,20,21,22,23,24,25,26,27],statemachinestag:9,stepfunctionsfactori:19,tabl:28}}) \ No newline at end of file diff --git a/release/0.5.1/how-to/custom-stage.html b/release/0.5.1/how-to/custom-stage.html new file mode 100644 index 00000000..cf537d7c --- /dev/null +++ b/release/0.5.1/how-to/custom-stage.html @@ -0,0 +1,197 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ +

I’ll write a file to my application stack package called sns.py.

+ +
from typing import Any, Dict, List, Optional
+
+from aws_cdk.aws_events import EventPattern, IRuleTarget
+from aws_cdk.aws_events_targets import SnsTopic
+from aws_cdk.aws_sns import Topic, ITopic
+from aws_cdk.aws_kms import Key
+from aws_ddk_core.pipelines import DataStage # importing DataStage class for ddk core
+from constructs import Construct
+
+
+class SNSStage(DataStage):
+    """
+    Class that represents a SNS DDK Stage.
+    """
+
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+        **kwargs: Any,
+    ) -> None:
+        """
+        DDK SNS stage.
+        """
+        super().__init__(scope, id, **kwargs)
+
+        self._event_detail_type: str = f"{id}-event-type"
+
+        # create topic
+        self._topic = Topic(
+            self, f"{id}-topic"
+        )
+
+    @property
+    def topic(self) -> ITopic:
+        """
+        Return: Topic
+            The SNS Topic
+        """
+        return self._topic
+
+    # method to retrieve Event Pattern
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=[self._event_detail_type],
+        )
+
+    # methord to retrieve Event Rule Target
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SnsTopic(self._topic)]
+
+
+ +

Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

+ +
.....
+from ddk_app.sns import SNSStage # import my class I built above
+
+
+class DDKApplicationStack(BaseStack):
+    def __init__(
+        self, scope: Construct, id: str, environment_id: str, **kwargs: Any
+    ) -> None:
+        super().__init__(scope, id, environment_id, **kwargs)
+
+        # create my bucket
+        ddk_bucket = S3Factory.bucket(
+            self,
+            "ddk-bucket",
+            environment_id,
+        )
+        
+        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
+        s3_event_stage = S3EventStage(
+            scope=self,
+            id="ddk-s3-event",
+            environment_id=environment_id,
+            event_names=["Object Created"],
+            bucket_name=ddk_bucket.bucket_name,
+            key_prefix="raw",
+        )
+
+        # instantiate my sns stage class
+        sns_stage = SNSStage(
+            scope=self,
+            id="ddk-sns",
+            environment_id=environment_id,
+        )
+
+        # construct my DataPipeline
+        (
+            DataPipeline(scope=self, id="ddk-pipeline")
+                .add_stage(s3_event_stage)
+                .add_stage(sns_stage)
+        )    
+
+ +

Build

+

Use ddk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.5.1/how-to/ddk-configuration.html b/release/0.5.1/how-to/ddk-configuration.html new file mode 100644 index 00000000..a95c78e9 --- /dev/null +++ b/release/0.5.1/how-to/ddk-configuration.html @@ -0,0 +1,165 @@ + + + + + + +DDK Configuration | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core supports environment specific configuration with the usage of the ddk.json file. You can leverage it to apply different configurations to each of your DDK environments.

+ +

Example

+
{
+    "environments": {
+        "dev": {
+            "account": "222222222222",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"},
+                "ddk-sqs-lambda-function": {"memory_size": 128},
+                "ddk-sqs-lambda-queue": {"retention_period": 5040}
+            },
+            "tags": {"CostCenter": "1984"}
+        },
+        "prod": {
+            "account": "333333333333",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"},
+                "ddk-sqs-lambda-function": {"memory_size": 512},
+                "ddk-sqs-lambda-queue": {"retention_period": 10080}
+            },
+            "tags": {"CostCenter": "2014"}
+        }
+    }
+}
+
+ +

For instance, based on the above configuration, the DDK Lambda function resource with id ddk-sqs-lambda-function has a memory size of 128 Mb in in the dev environment compared to 512 in the prod environment.

+ +

Implementation

+

Most DDK constructs can be configured via ddk.json. For example, the DDK BaseStack class allows the following parameters:

+
prefix: str
+qualifier: str
+termination_protection: str
+tags: Dict[str, str]
+
+

If the construct supports environment configuration, it will be listed in the documentation under Supported DDK Environment Configuration. See the API Documentation for a list of DDK constructs.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in ddk.json within the resources{} object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2},
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

Property Precedence

+

Explicit properties will always take precedence over config values.

+ +
# A DDK resource is configured with an explicit property 'shard_count'
+data_stream = KinesisStreamsFactory.data_stream(
+    self, id=f"example-data-stream", environment_id=environment_id, shard_count=10
+)
+
+

The above Kinesis Data Stream will be created with value ‘shard_count=10’ even if ddk.json has a different value

+ +

This configuration value would be overridden

+
{
+    "environments": {
+        "test": {
+            "account": "3333333333333",
+            "region": "us-east-1",
+            "resources": {
+                "example-data-stream": {"shard_count": 5},
+            }
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.5.1/how-to/index.html b/release/0.5.1/how-to/index.html new file mode 100644 index 00000000..bc70e9e2 --- /dev/null +++ b/release/0.5.1/how-to/index.html @@ -0,0 +1,1841 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.5.1 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configuration + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.5.1/how-to/multi-account-deployment.html b/release/0.5.1/how-to/multi-account-deployment.html new file mode 100644 index 00000000..03762dbf --- /dev/null +++ b/release/0.5.1/how-to/multi-account-deployment.html @@ -0,0 +1,188 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

ddk bootstrap allows us to setup cross-account access for a DDK account.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: ddk bootstrap -e cicd -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: ddk bootstrap -e dev -p ${DEV_AWS_PROFILE} -a 111111111111
  • +
  • [test]: ddk bootstrap -e test -p ${TEST_AWS_PROFILE} -a 111111111111
  • +
+ +

The dev & test environments are bootstrapped with -a 111111111111 to setup the required cross account access for the cicd account to manage resources within them.

+ +

Configuration

+

ddk.json must be configured with all your accounts.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ +

app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

+ +
#!/usr/bin/env python3
+
+import aws_cdk as cdk
+from aws_ddk_core.cicd import CICDPipelineStack
+from ddk_app.ddk_app_stack import DDKApplicationStack
+from aws_ddk_core.config import Config
+
+
+app = cdk.App()
+
+
+class ApplicationStage(cdk.Stage):
+    def __init__(
+        self,
+        scope,
+        environment_id: str,
+        **kwargs,
+    ) -> None:
+        super().__init__(scope, f"Ddk{environment_id.title()}Application", **kwargs)
+        DDKApplicationStack(self, "DataPipeline", environment_id)
+
+
+config = Config()
+(
+    CICDPipelineStack(
+        app,
+        id="DdkCodePipeline",
+        environment_id="cicd",
+        pipeline_name="ddk-application-pipeline",
+    )
+    .add_source_action(repository_name="ddk-repository")
+    .add_synth_action()
+    .build()
+    .add_stage("dev", ApplicationStage(app, "dev", env=config.get_env("dev")))
+    .add_stage("test", ApplicationStage(app, "test", env=config.get_env("test")))
+    .synth()
+)
+
+app.synth()
+
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
ddk create-repository ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running ddk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment. +Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.5.1/how-to/private-artifactory.html b/release/0.5.1/how-to/private-artifactory.html new file mode 100644 index 00000000..479edd9f --- /dev/null +++ b/release/0.5.1/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for PII). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.5.1/how-to/spend-first-hour.html b/release/0.5.1/how-to/spend-first-hour.html new file mode 100644 index 00000000..ad1a1ffd --- /dev/null +++ b/release/0.5.1/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.5.1/how-to/understand-concepts.html b/release/0.5.1/how-to/understand-concepts.html new file mode 100644 index 00000000..5213e679 --- /dev/null +++ b/release/0.5.1/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK over the AWS CDK?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.5.1/index.html b/release/0.5.1/index.html new file mode 100644 index 00000000..303086a9 --- /dev/null +++ b/release/0.5.1/index.html @@ -0,0 +1,1847 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.5.1 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configuration + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.0/api/_static/basic.css b/release/0.6.0/api/_static/basic.css new file mode 100644 index 00000000..bf18350b --- /dev/null +++ b/release/0.6.0/api/_static/basic.css @@ -0,0 +1,906 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 450px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a.brackets:before, +span.brackets > a:before{ + content: "["; +} + +a.brackets:after, +span.brackets > a:after { + content: "]"; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +dl.footnote > dt, +dl.citation > dt { + float: left; + margin-right: 0.5em; +} + +dl.footnote > dd, +dl.citation > dd { + margin-bottom: 0em; +} + +dl.footnote > dd:after, +dl.citation > dd:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dt:after { + content: ":"; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/release/0.6.0/api/_static/doctools.js b/release/0.6.0/api/_static/doctools.js new file mode 100644 index 00000000..e509e483 --- /dev/null +++ b/release/0.6.0/api/_static/doctools.js @@ -0,0 +1,326 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated === 'undefined') + return string; + return (typeof translated === 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated === 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) === 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this === '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keydown(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box, textarea, dropdown or button + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' + && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey + && !event.shiftKey) { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + break; + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + break; + } + } + }); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/release/0.6.0/api/_static/documentation_options.js b/release/0.6.0/api/_static/documentation_options.js new file mode 100644 index 00000000..ac7b311d --- /dev/null +++ b/release/0.6.0/api/_static/documentation_options.js @@ -0,0 +1,12 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: '0.6.0', + LANGUAGE: 'None', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false +}; \ No newline at end of file diff --git a/release/0.6.0/api/_static/file.png b/release/0.6.0/api/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/release/0.6.0/api/_static/jquery-3.5.1.js b/release/0.6.0/api/_static/jquery-3.5.1.js new file mode 100644 index 00000000..50937333 --- /dev/null +++ b/release/0.6.0/api/_static/jquery-3.5.1.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk package

+
+

ddk

+

AWS DDK CLI.

+
ddk [OPTIONS] COMMAND [ARGS]...
+
+
+

Options

+
+
+--version
+

Show the version and exit.

+
+
+
+--debug, --no-debug
+

Turn debug logging on/off.

+
+
Default
+

False

+
+
+
+
+

bootstrap

+

Bootstrap the AWS account with DDK resources.

+
ddk bootstrap [OPTIONS]
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+--prefix <prefix>
+

The prefix to resource names.

+
+
Default
+

ddk

+
+
+
+
+
+--qualifier <qualifier>
+

The CDK bootstrap qualifier.

+
+
+
+-a, --trusted-accounts <trusted_accounts>
+

List of trusted AWS accounts to perform deployments (e.g. -a 111111111111 -a 222222222222).

+
+
+
+-i, --iam-policies <iam_policies>
+

List of IAM managed policy ARNs that should be attached to the role performing deployments. +(e.g. -i arn1 -i arn2)

+
+
+
+--permissions-boundary <permissions_boundary>
+

IAM managed permissions boundary policy ARN that should be attached to the role performing deployments.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the stack (e.g -t CostCenter 1984 -t Framework DDK).

+
+
+
+

create-repository

+
+

Create a code repository from the source system provider.

+

NAME is the name of the repository.

+
+
ddk create-repository [OPTIONS] NAME
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+-d, --description <description>
+

The description of the repository.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the repository (e.g -t CostCenter 1984 -t Framework DDK).

+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+

deploy

+

Deploy DDK stacks to AWS account.

+
ddk deploy [OPTIONS] [STACKS]
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+--require-approval <require_approval>
+

What security-sensitive changes need manual approval.

+
+
Options
+

never | any-change | broadening

+
+
+
+
+
+-f, --force
+

Always deploy stack even if templates are identical.

+
+
+
+-o, --output-dir <output_dir>
+

Directory where cloud assembly is synthesized.

+
+

Arguments

+
+
+STACKS
+

Optional argument

+
+
+
+

init

+
+

Create the local structure for a new AWS DDK Python project.

+

NAME is the name of the project.

+
+
ddk init [OPTIONS] NAME
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-t, --template <template>
+

A directory containing a project template directory, or a URL to a git repository

+
+
+
+--generate-only
+

If true, only generates project files, without setting up a git repo or a virtual environment

+
+
Default
+

False

+
+
+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/aws_ddk_core.html b/release/0.6.0/api/core/aws_ddk_core.html new file mode 100644 index 00000000..095c1306 --- /dev/null +++ b/release/0.6.0/api/core/aws_ddk_core.html @@ -0,0 +1,450 @@ + + + + + + + + + aws_ddk_core package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core package

+ +
+

Base

+
++++ + + + + + +

BaseStack(*args, **kwargs)

Base Stack to inherit from.

+
+
+

CICD

+
++++ + + + + + +

CICDPipelineStack(*args, **kwargs)

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+
+
+

Config

+
++++ + + + + + + + + +

Config([config_strategy])

Class used to read configuration with a configurable strategy.

JSONConfigStrategy([path])

Read config from ddk.json in the root of the repo.

+
+
+

Data Pipelines

+
++++ + + + + + + + + + + + + + + +

DataPipeline(*args, **kwargs)

Class that represents a data pipeline.

DataStage(*args, **kwargs)

Class that represents a data stage within a data pipeline.

EventStage(*args, **kwargs)

Class that represents an event stage within a data pipeline.

StateMachineStage(*args, **kwargs)

DataStage with helper methods to simplify StateMachine stages creation.

+
+
+

Resources

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

DataBrewFactory()

Class factory to create and configure DataBrew DDK resources, including Jobs.

DMSFactory()

Class factory create and configure DMS DDK resources, including endpoints, replication tasks and replication instances.

GlueFactory()

Class factory to create and configure Glue DDK resources, including Jobs.

KinesisFirehoseFactory()

Class factory create and configure Kinesis DDK resources, including Delivery Streams.

KinesisStreamsFactory()

Class factory create and configure Kinesis DDK resources, including Data Streams.

KMSFactory()

Class factory to create and configure Key Management Service DDK resources, including Keys.

LambdaFactory()

Class factory to create and configure Lambda DDK resources, including Functions.

S3Factory()

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

SQSFactory()

Class factory create and configure Simple Queue Service DDK resources, including Queues.

StepFunctionsFactory()

Class factory create and configure AWS Step Functions Service DDK resources, including State Machines.

+
+
+

Data Stages

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + +

AppFlowIngestionStage(*args, **kwargs)

Class that represents an AppFlow DDK DataStage.

AthenaSQLStage(*args, **kwargs)

Class that represents a Athena SQL DDK DataStage.

DataBrewTransformStage(*args, **kwargs)

Class that represents a DataBrew Transform DDK DataStage.

DMSS3ToS3Stage(*args, **kwargs)

Class that represents a DMS to S3 to S3 Replication DDK Stage.

GlueTransformStage(*args, **kwargs)

Class that represents a Glue Transform DDK DataStage.

KinesisToS3Stage(*args, **kwargs)

Class that represents a Firehose to S3 Ingestion DDK Stage.

S3EventStage(*args, **kwargs)

Class that represents an S3 Event DDK Stage.

SqsToLambdaStage(*args, **kwargs)

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.base.BaseStack.html b/release/0.6.0/api/core/stubs/aws_ddk_core.base.BaseStack.html new file mode 100644 index 00000000..b791a04e --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.base.BaseStack.html @@ -0,0 +1,439 @@ + + + + + + + + + aws_ddk_core.base.BaseStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.base.BaseStack

+
+
+class aws_ddk_core.base.BaseStack(*args: Any, **kwargs)
+

Base Stack to inherit from.

+

Includes configurable termination protection, synthesizer, permissions boundary and tags.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, termination_protection: Optional[bool] = None, permissions_boundary_arn: Optional[str] = None, synthesizer: Optional[aws_cdk.DefaultStackSynthesizer] = None, **kwargs: Any) None
+

Create a stack.

+

Includes termination protection settings, multi-level (application, environment, and stack-level) tags, +and permissions boundary.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stack

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • termination_protection (str) – Stack termination protection

  • +
  • permissions_boundary_arn (Optional[str]) – ARN of the permissions boundary managed policy

  • +
  • synthesizer (Optional[DefaultStackSynthesizer]) – CDK synthesizer configuration +https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html#bootstrapping-synthesizers

  • +
  • kwargs (Any) – Additional arguments

  • +
  • Configuration (Supported DDK Environment) –

  • +
  • https (//awslabs.github.io/aws-ddk/release/latest/how-to/ddk-configuration.html) –

  • +
  • ----------

  • +
  • prefix (str) – Prefix for stack identifier.

  • +
  • qualifier (str) – Qualifier to disambiguate multiple environments in the same account. +You can use this and leave the other naming properties empty if you +have deployed the bootstrap environment with standard names but only differnet qualifiers

  • +
  • termination_protection – If this value is set, stack termination protection will be enabled.

  • +
  • tags (Dict[str, str]) – Tag key/value pairs.

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Create a stack.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_transform(transform)

Add a Transform to this stack.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

bundling_required

Indicates whether the stack requires bundling or not.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html b/release/0.6.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html new file mode 100644 index 00000000..662879b1 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html @@ -0,0 +1,695 @@ + + + + + + + + + aws_ddk_core.cicd.CICDPipelineStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.cicd.CICDPipelineStack

+
+
+class aws_ddk_core.cicd.CICDPipelineStack(*args: Any, **kwargs)
+

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+

The pipeline is based on CDK self-mutating pipeline but includes +several DDK-specific features, including:

+
    +
  • Ability to configure some properties via JSON config e.g. manual approvals for application stages

  • +
  • Defaults for source/synth - CodeCommit & cdk synth, with ability to override them

  • +
  • Ability to connect to private artifactory to pull artifacts from at synth

  • +
  • Security best practices - ensures pipeline buckets block non-SSL, and are KMS-encrypted with rotated keys

  • +
  • Builder interface to avoid chunky constructor methods

  • +
+

The user should be able to reuse the pipeline in multiple DDK applications hoping to save LOC.

+

Example:

+
pipeline = (
+    CICDPipelineStack(
+        app,
+        id="my-pipeline",
+        environment_id="cicd",
+        pipeline_name="MyPipeline",
+    )
+    .add_source_action(repository_name="my-repo")
+    .add_synth_action()
+    .build()
+    .add_checks()
+    .add_stage("dev", DevStage(app, "dev"))
+    .synth()
+    .add_notifications()
+)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, pipeline_name: Optional[str] = None, env: Optional[aws_cdk.Environment] = None, **kwargs: Any) None
+

Start building Code Pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • environment_id (str) – Identifier of the environment that will contain the pipeline

  • +
  • pipeline_name (Optional[str]) – Name of the pipeline

  • +
  • env (Optional[Environment]) – Environment

  • +
  • kwargs (Any) – Additional args

  • +
  • Configuration (Supported DDK Environment) –

  • +
  • https (//awslabs.github.io/aws-ddk/release/latest/how-to/ddk-configuration.html) –

  • +
  • ----------

  • +
  • cdk_version (str) – Version of the AWS CDK to use in the deployment pipeline.

  • +
  • repository (str) – Name of the CodeArtifact repository to pull artifacts from.

  • +
  • domain (str) – Name of the CodeArtifact domain.

  • +
  • domain_owner (str) – CodeArtifact domain owner account.

  • +
  • manual_approvals (str) – Configure manual approvals if this parameter is set.

  • +
  • notifications_topic_arn (str) – Existing SNS topic arn to use for pipeline notifications.

  • +
  • execute_security_lint (str) – Configure security lint stage of pipeline if this parameter is set.

  • +
  • execute_tests (str) – Configure tests stage of pipeline if this parameter is set.

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Start building Code Pipeline.

add_checks()

Add checks to the pipeline (e.g.

add_custom_stage(stage_name, steps)

Add custom stage to the pipeline.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_notifications([notification_rule])

Add pipeline notifications.

add_security_lint_stage([stage_name, ...])

Add linting - cfn-nag, and bandit.

add_source_action([repository_name, branch, ...])

Add source action.

add_stage(stage_id, stage[, manual_approvals])

Add application stage to the CICD pipeline.

add_synth_action([codeartifact_repository, ...])

Add synth action.

add_test_stage([stage_name, ...])

Add test - e.g.

add_transform(transform)

Add a Transform to this stack.

add_wave(stage_id, stages[, manual_approvals])

Add multiple application stages in parallel to the CICD pipeline.

build()

Build the pipeline structure.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

synth()

Synthesize the pipeline.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

bundling_required

Indicates whether the stack requires bundling or not.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+add_checks() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add checks to the pipeline (e.g. linting, security, tests…).

+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_custom_stage(stage_name: str, steps: List[aws_cdk.pipelines.Step]) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add custom stage to the pipeline.

+
+
Parameters
+
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_notifications(notification_rule: Optional[aws_cdk.aws_codestarnotifications.NotificationRule] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add pipeline notifications. Create notification rule that sends events to the specified SNS topic.

+
+
Parameters
+

notification_rule (Optional[NotificationRule]) – Override notification rule

+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_security_lint_stage(stage_name: Optional[str] = None, cloud_assembly_file_set: Optional[aws_cdk.pipelines.IFileSetProducer] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add linting - cfn-nag, and bandit.

+
+
Parameters
+
    +
  • stage_name (Optional[str]) – Name of the stage

  • +
  • cloud_assembly_file_set (Optional[IFileSetProducer]) – Cloud assembly file set producer

  • +
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_source_action(repository_name: Optional[str] = None, branch: str = 'main', source_action: Optional[aws_cdk.pipelines.CodePipelineSource] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add source action.

+
+
Parameters
+
    +
  • repository_name (Optional[str]) – Name of the SCM repository

  • +
  • branch (str) – Branch of the SCM repository

  • +
  • source_action (Optional[CodePipelineSource]) – Override source action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_stage(stage_id: str, stage: aws_cdk.Stage, manual_approvals: Optional[bool] = False) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add application stage to the CICD pipeline. This stage deploys your application infrastructure.

+
+
Parameters
+
    +
  • stage_id (str) – Identifier of the stage

  • +
  • stage (Stage) – Application stage instance

  • +
  • manual_approvals (Optional[bool]) – Configure manual approvals. False by default

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_synth_action(codeartifact_repository: Optional[str] = None, codeartifact_domain: Optional[str] = None, codeartifact_domain_owner: Optional[str] = None, role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, synth_action: Optional[aws_cdk.pipelines.CodeBuildStep] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add synth action. During synth can connect and pull artifacts from a private artifactory.

+
+
Parameters
+
    +
  • codeartifact_repository (Optional[str]) – Name of the CodeArtifact repository to pull artifacts from

  • +
  • codeartifact_domain (Optional[str]) – Name of the CodeArtifact domain

  • +
  • codeartifact_domain_owner (Optional[str]) – CodeArtifact domain owner account

  • +
  • role_policy_statements (Optional[List[PolicyStatement]]) – Additional policies to add to the synth action role

  • +
  • synth_action (Optional[CodeBuildStep]) – Override synth action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_test_stage(stage_name: Optional[str] = None, cloud_assembly_file_set: Optional[aws_cdk.pipelines.IFileSetProducer] = None, commands: Optional[List[str]] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add test - e.g. pytest.

+
+
Parameters
+
    +
  • stage_name (Optional[str]) – Name of the stage

  • +
  • cloud_assembly_file_set (Optional[IFileSetProducer]) – Cloud assembly file set

  • +
  • commands (Optional[List[str]]) – Additional commands to run in the test. Defaults to “./test.sh” otherwise

  • +
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_wave(stage_id: str, stages: List[aws_cdk.Stage], manual_approvals: Optional[bool] = False) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add multiple application stages in parallel to the CICD pipeline.

+
+
Parameters
+
    +
  • stage_id (str) – Identifier of the wave

  • +
  • stages (List[Stage]) – Application stage instance

  • +
  • manual_approvals (Optional[bool]) – Configure manual approvals. False by default

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+build() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Build the pipeline structure.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+synth() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Synthesize the pipeline.

+

It is not possible to modify the pipeline after calling this method.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.config.Config.html b/release/0.6.0/api/core/stubs/aws_ddk_core.config.Config.html new file mode 100644 index 00000000..c8dce4f3 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.config.Config.html @@ -0,0 +1,395 @@ + + + + + + + + + aws_ddk_core.config.Config - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.Config

+
+
+class aws_ddk_core.config.Config(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None)
+

Class used to read configuration with a configurable strategy.

+
+
+__init__(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None) None
+

Create Config class instance.

+

Provide ConfigStrategy to determine how/where the config should be read from. +Reads from cdk.json in the root of the repo by default.

+
+
Parameters
+

config_strategy (Optional[ConfigStrategy]) – Strategy that determines how and where to read config from. JSONConfigStrategy by default

+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__([config_strategy])

Create Config class instance.

get_cdk_version()

Return CDK version.

get_env(environment_id)

Get environment representing AWS account and region.

get_env_config(environment_id)

Get environment config.

get_resource_config(environment_id, id)

Get resource config of the resource with given id in the environment with the given environment id.

get_tags()

Return tags.

+
+
+get_cdk_version() Optional[str]
+

Return CDK version.

+
+
Returns
+

cdk_version – CDK version

+
+
Return type
+

Optional[str]

+
+
+
+
+
+get_env(environment_id: str) aws_cdk.Environment
+

Get environment representing AWS account and region.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env – CDK Environment(account, region)

+
+
Return type
+

Environment

+
+
+
+
+
+get_env_config(environment_id: str) Dict[str, Any]
+

Get environment config.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env_config – Dictionary that contains config for the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_resource_config(environment_id: str, id: str) Dict[str, Any]
+

Get resource config of the resource with given id in the environment with the given environment id.

+
+
Parameters
+
    +
  • environment_id (str) – Identifier of the environment

  • +
  • id (str) – Identifier of the resource

  • +
+
+
Returns
+

config – Dictionary that contains config for the given resource in the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_tags() Dict[str, str]
+

Return tags.

+
+
Returns
+

tags – Dict of a form {‘tag_key’: ‘value’}

+
+
Return type
+

Dict[str, str]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html b/release/0.6.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html new file mode 100644 index 00000000..49a63b87 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html @@ -0,0 +1,321 @@ + + + + + + + + + aws_ddk_core.config.JSONConfigStrategy - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.JSONConfigStrategy

+
+
+class aws_ddk_core.config.JSONConfigStrategy(path: str = './ddk.json')
+

Read config from ddk.json in the root of the repo.

+

Can be used to read from any JSON file by specifying a different path.

+
+
+__init__(path: str = './ddk.json') None
+

Load the JSON file in the given path.

+
+
Parameters
+

path (str) – Path to the JSON config, ‘./ddk.json’ by default

+
+
+
+

Methods

+
++++ + + + + + + + + +

__init__([path])

Load the JSON file in the given path.

get_config(key)

Get config by key.

+
+
+get_config(key: str) Any
+

Get config by key.

+
+
Parameters
+

key (str) – Key

+
+
Returns
+

config – Dictionary that contains the configuration

+
+
Return type
+

Any

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html b/release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html new file mode 100644 index 00000000..89698c9d --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html @@ -0,0 +1,397 @@ + + + + + + + + + aws_ddk_core.pipelines.DataPipeline - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.DataPipeline

+
+
+class aws_ddk_core.pipelines.DataPipeline(*args: Any, **kwargs)
+

Class that represents a data pipeline. Used to wire stages via Event Rules. For example:

+
DataPipeline(self, id, description="My pipeline")
+    .add_stage(my_lambda_stage)
+    .add_stage(my_glue_stage)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a data pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • name (Optional[str]) – Name of the pipeline

  • +
  • description (Optional[str]) – Description of the pipeline

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a data pipeline.

add_notifications([notifications_topic])

Create a rule that matches specificed event pattern with the specified target.

add_rule([id, event_pattern, event_targets, ...])

Create a rule that matches specificed event pattern with the specified target.

add_stage(stage[, skip_rule, override_rule])

Add a stage to the data pipeline.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+add_notifications(notifications_topic: Optional[aws_cdk.aws_sns.ITopic] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+

notifications_topic (Optional[ITopic]) – Existing SNS Topic to consume notifications with.

+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+add_rule(id: Optional[str] = None, event_pattern: Optional[aws_cdk.aws_events.EventPattern] = None, event_targets: Optional[List[aws_cdk.aws_events.IRuleTarget]] = None, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+
    +
  • id (Optional[str]) – Identifier of the rule

  • +
  • event_pattern (Optional[EventPattern]) – Event pattern of the rule

  • +
  • event_targets (Optional[List[IRuleTarget]]) – Target of the rule - usually previous_stage.get_targets()

  • +
  • override_rule (Optional[Rule]) – Custom rule

  • +
+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+add_stage(stage: aws_ddk_core.pipelines.stage.DataStage, skip_rule: bool = False, override_rule: Optional[aws_cdk.aws_events.Rule] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Add a stage to the data pipeline.

+

By default, creates an Event Rule that matches output event pattern of the previous stage +with targets of the next one.

+
+
Parameters
+
    +
  • stage (DataStage) – Stage instance

  • +
  • skip_rule (bool) – Skip creation of the default rule

  • +
  • override_rule (Optional[Rule]) – Override the default rule by the rule specified in this parameter

  • +
+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html b/release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html new file mode 100644 index 00000000..efeb6a4c --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.DataStage.html @@ -0,0 +1,398 @@ + + + + + + + + + aws_ddk_core.pipelines.DataStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.DataStage

+
+
+class aws_ddk_core.pipelines.DataStage(*args: Any, **kwargs)
+

Class that represents a data stage within a data pipeline.

+

To create a DataStage, inherit from this class, add infrastructure required by the stage, and implement +get_event_pattern and get_targets methods. For example:

+
class MyStage(DataStage):
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+    ) -> None:
+        super().__init__(scope, id)
+
+        # Define stage infrastructure, for example a queue
+        self._queue = SQSFactory.queue(
+            self,
+            id,
+            environment_id,
+        )
+
+    @property
+    def queue(self) -> Queue:
+        '''
+        Return: Queue
+            The SQS queue
+        '''
+        return self._queue
+
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=["my-detail-type"],
+        )
+
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SqsQueue(self._queue)]
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

+
+
+add_alarm(alarm_id: str, alarm_metric: aws_cdk.aws_cloudwatch.IMetric, alarm_comparison_operator: Optional[aws_cdk.aws_cloudwatch.ComparisonOperator] = ComparisonOperator.GREATER_THAN_THRESHOLD, alarm_evaluation_periods: Optional[int] = 1, alarm_threshold: Optional[int] = 5) aws_ddk_core.pipelines.stage.DataStage
+

Add a CloudWatch alarm for the Data Stage

+
+
Parameters
+
    +
  • alarm_id (str) – Identifier of the CloudWatch Alarm.

  • +
  • alarm_metric (IMetric) – Metric to use for creating the Stage’s CloudWatch Alarm.

  • +
  • alarm_comparison_operator (Optional[ComparisonOperator]) – Comparison operator to use for alarm. GREATER_THAN_THRESHOLD by default.

  • +
  • alarm_threshold (Optional[int]) – The value against which the specified alarm statistic is compared. 5 by default.

  • +
  • alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. 1 by default.

  • +
+
+
+
+
+
+property cloudwatch_alarms: List[Optional[aws_cdk.aws_cloudwatch.IAlarm]]
+

List[Alarm] +List of CloudWatch Alarms linked to the stage

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.EventStage.html b/release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.EventStage.html new file mode 100644 index 00000000..a36ad517 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.EventStage.html @@ -0,0 +1,370 @@ + + + + + + + + + aws_ddk_core.pipelines.EventStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.EventStage

+
+
+class aws_ddk_core.pipelines.EventStage(*args: Any, **kwargs)
+

Class that represents an event stage within a data pipeline.

+

To create an EventStage, inherit from this class, add infrastructure required by the stage, and implement +get_event_pattern method. For example:

+
class MyStage(EventStage):
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+    ) -> None:
+        super().__init__(scope, id)
+
+        # Define stage infrastructure, for example an S3 event pattern
+        self._event_pattern = EventPattern(
+            source=["aws.s3"],
+            detail=detail,
+            detail_type=event_names,
+        )
+
+    @property
+    def event_pattern(self) -> EventPattern:
+        return self._event_pattern
+
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return self._event_pattern
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html b/release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html new file mode 100644 index 00000000..357b3821 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html @@ -0,0 +1,400 @@ + + + + + + + + + aws_ddk_core.pipelines.StateMachineStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.StateMachineStage

+
+
+class aws_ddk_core.pipelines.StateMachineStage(*args: Any, **kwargs)
+

DataStage with helper methods to simplify StateMachine stages creation.

+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

state_machine

StateMachine The state machine

+
+
+build_state_machine(id: str, environment_id: str, definition: Optional[aws_cdk.aws_stepfunctions.IChainable], state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

Build state machine.

+
+
Parameters
+
    +
  • id (str) – Identifier of the state machine

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • definition (Optional[IChainable]) – State machine definition

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property state_machine: aws_cdk.aws_stepfunctions.StateMachine
+

StateMachine +The state machine

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.resources.DMSFactory.html b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.DMSFactory.html new file mode 100644 index 00000000..0f9869d6 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.DMSFactory.html @@ -0,0 +1,473 @@ + + + + + + + + + aws_ddk_core.resources.DMSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.DMSFactory

+
+
+class aws_ddk_core.resources.DMSFactory
+

Class factory create and configure DMS DDK resources, +including endpoints, replication tasks and replication instances.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__()

endpoint(scope, id, environment_id, ...)

Create and configure DMS endpoint.

endpoint_settings_s3(scope, id, ...[, ...])

Create and configure DMS endpoint settings for s3.

replication_instance(scope, id, ...[, ...])

Create and configure DMS replication instance.

replication_task(scope, id, environment_id, ...)

Create and configure DMS replication task.

+
+
+static endpoint(scope: constructs.Construct, id: str, environment_id: str, endpoint_type: str, engine_name: str, s3_settings: Optional[aws_cdk.aws_dms.CfnEndpoint.S3SettingsProperty], **endpoint_props: Any) aws_cdk.aws_dms.CfnEndpoint
+

Create and configure DMS endpoint.

+

This construct allows to configure parameters of the dms endpoint using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: …

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • endpoint_type (str) – The type of endpoint. Valid values are source and target.

  • +
  • engine_name (str) – The type of engine for the endpoint, depending on the EndpointType value. +Valid values : mysql | oracle | postgres | mariadb | aurora | aurora-postgresql +| opensearch | redshift | s3 | db2 | azuredb | sybase | dynamodb | mongodb +| kinesis | kafka | elasticsearch | docdb | sqlserver | neptune

  • +
  • s3_settings (Union[dms.S3SettingsProperty, None]) – Settings in JSON format for the source and target Amazon S3 endpoint. +For more information about other available settings, see +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_dms/CfnEndpoint.html#s3settingsproperty

  • +
  • **endpoint_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnEndpoint.html

  • +
+
+
Returns
+

dms.CfnEndpoint – A DMS Endpoint

+
+
Return type
+

dms.CfnEndpoint

+
+
+
+
+
+static endpoint_settings_s3(scope: constructs.Construct, id: str, environment_id: str, bucket_name: str, bucket_folder: Optional[str] = None, service_access_role_arn: Optional[str] = None, external_table_definition: Optional[str] = None, enable_statistics: Optional[bool] = None, max_file_size: Optional[int] = None, **endpoint_s3_props: Any) aws_cdk.aws_dms.CfnEndpoint.S3SettingsProperty
+

Create and configure DMS endpoint settings for s3.

+

This construct allows to configure parameters of the dms endpoint using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: enable_statistics and max_file_size

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket_name (str) – The name of the S3 bucket.

  • +
  • bucket_folder (Optional[str]) – An optional parameter to set a folder name in the S3 bucket. +If provided, tables are created in the path bucketFolder / schema_name / table_name / . +If this parameter isn’t specified, the path used is schema_name / table_name / .

  • +
  • service_access_role_arn (Optional[str]) – An IAM role that should be able to access the specified bucket. +If no bucket is specified a role with required permissions will +be created for you.

  • +
  • external_table_definition (Optional[str]) – The external table definition. +Conditional: If S3 is used as a source then ExternalTableDefinition is required.

  • +
  • enable_statistics (Optional[bool]) – A value that enables statistics for Parquet pages and row groups. +Choose true to enable statistics, false to disable. +Statistics include NULL , DISTINCT , MAX , and MIN values. +This parameter defaults to true . +This value is used for .parquet file format only.

  • +
  • max_file_size (Optional[int]) – A value that specifies the maximum size (in KB) of any .csv file to be created +while migrating to an S3 target during full load

  • +
  • **endpoint_settings_s3_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnEndpoint.html#s3settingsproperty

  • +
+
+
Returns
+

dms.CfnEndpoint.S3SettingsProperty – DMS Endpoint Settings for S3

+
+
Return type
+

dms.CfnEndpoint.S3SettingsProperty:

+
+
+
+
+
+static replication_instance(scope: constructs.Construct, id: str, environment_id: str, replication_instance_class: str, allocated_storage: Optional[str] = None, allow_major_version_upgrade: Optional[bool] = False, auto_minor_version_upgrade: Optional[bool] = False, availability_zone: Optional[str] = None, engine_version: Optional[str] = None, kms_key_id: Optional[str] = None, multi_az: Optional[bool] = False, preferred_maintenance_window: Optional[str] = None, publicly_accessible: Optional[bool] = False, replication_instance_identifier: Optional[str] = None, replication_subnet_group_identifier: Optional[str] = None, resource_identifier: Optional[str] = None, vpc_security_group_ids: Optional[List[str]] = None, **replication_instance_props: Any) aws_cdk.aws_dms.CfnReplicationInstance
+

Create and configure DMS replication instance.

+

This construct allows to configure parameters of the dms replication instance using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: …

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • replication_instance_class (str) – The compute and memory capacity of the replication instance +as defined for the specified replication instance class.

  • +
  • allocated_storage (Optional[str]) – The amount of storage (in gigabytes) to be initially allocated for the replication instance.

  • +
  • allow_major_version_upgrade (Optional[bool]) – Indicates that major version upgrades are allowed.

  • +
  • auto_minor_version_upgrade (Optional[bool]) – A value that indicates whether minor engine upgrades are applied automatically to the +replication instance during the maintenance window. +This parameter defaults to true. +Default: true

  • +
  • availability_zone (Optional[str]) – The Availability Zone that the replication instance will be created in

  • +
  • engine_version (Optional[str]) – The engine version number of the replication instance. +If an engine version number is not specified when a replication instance is created, +the default is the latest engine version available.

  • +
  • kms_key_id (Optional[str]) – An AWS KMS key identifier that is used to encrypt the data on the replication instance. +If you don’t specify a value for the KmsKeyId parameter, AWS DMS uses your default encryption key.

  • +
  • multi_az (Optional[bool]) – Specifies whether the replication instance is a Multi-AZ deployment. +You can’t set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.

  • +
  • preferred_maintenance_window (Optional[str]) – The weekly time range during which system maintenance can occur, in UTC. +Format : ddd:hh24:mi-ddd:hh24:mi

  • +
  • publicly_accessible (Optional[bool]) – Specifies the accessibility options for the replication instance. +A value of true represents an instance with a public IP address. +A value of false represents an instance with a private IP address.

  • +
  • replication_instance_identifier (Optional[str]) – The replication instance identifier. This parameter is stored as a lowercase string.

  • +
  • replication_subnet_group_identifier (Optional[str]) – A subnet group to associate with the replication instance.

  • +
  • resource_identifier (Optional[str]) – A display name for the resource identifier at the end of the EndpointArn response +parameter that is returned in the created Endpoint object. +The value for this parameter can have up to 31 characters. +It can contain only ASCII letters, digits, and hyphen (‘-‘)

  • +
  • vpc_security_group_ids (Optional[List[str]]) – Specifies the virtual private cloud (VPC) security group to be used with the replication instance. +The VPC security group must work with the VPC containing the replication instance.

  • +
  • **replication_instance_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnReplicationInstance.html

  • +
+
+
Returns
+

dms.CfnReplicationInstance – A DMS Replication instance

+
+
Return type
+

dms.CfnReplicationInstance

+
+
+
+
+
+static replication_task(scope: constructs.Construct, id: str, environment_id: str, replication_instance_arn: str, source_endpoint_arn: str, target_endpoint_arn: str, table_mappings: str, migration_type: str = 'full-load', replication_task_settings: Optional[str] = None, **replication_task_props: Any) aws_cdk.aws_dms.CfnEndpoint
+

Create and configure DMS replication task.

+

This construct allows to configure parameters of the dms replication task using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: …

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • migration_type (str) – The migration type. Valid values: full-load | cdc | full-load-and-cdc +Default: ‘full-load’

  • +
  • replication_instance_arn (str) – The Amazon Resource Name (ARN) of a replication instance.

  • +
  • source_endpoint_arn (str) – An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.

  • +
  • target_endpoint_arn (str) – An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.

  • +
  • table_mappings (str) – The table mappings for the task, in JSON format.

  • +
  • replication_task_settings (Optional[str]) – Overall settings for the task, in JSON format. For more information, +see https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html

  • +
  • **replication_task_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnReplicationTask.html

  • +
+
+
Returns
+

dms.CfnReplicationTask – A DMS Replication Task

+
+
Return type
+

dms.CfnReplicationTask

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.resources.DataBrewFactory.html b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.DataBrewFactory.html new file mode 100644 index 00000000..b8bf7ab1 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.DataBrewFactory.html @@ -0,0 +1,350 @@ + + + + + + + + + aws_ddk_core.resources.DataBrewFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.DataBrewFactory

+
+
+class aws_ddk_core.resources.DataBrewFactory
+

Class factory to create and configure DataBrew DDK resources, including Jobs.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

job(scope, id, environment_id, name, ...[, ...])

Create and configure a DataBrew job.

+
+
+static job(scope: constructs.Construct, id: str, environment_id: str, name: str, role_arn: str, type: str, dataset_name: Optional[str] = None, recipe: Optional[aws_cdk.aws_databrew.CfnJob.RecipeProperty] = None, encryption_mode: Optional[str] = None, log_subscription: Optional[str] = None, max_capacity: Optional[int] = None, max_retries: Optional[int] = None, output_location: Optional[aws_cdk.aws_databrew.CfnJob.OutputLocationProperty] = None, outputs: Optional[Sequence[aws_cdk.aws_databrew.CfnJob.OutputProperty]] = None, timeout: Optional[aws_cdk.Duration] = None, **job_props: Any) aws_cdk.aws_databrew.CfnJob
+

Create and configure a DataBrew job.

+

This construct allows to configure parameters of the job using ddk.json configuration file +depending on the environment_id in which the job is used. Supported parameters are: +max_capacity,`max_retries`, timeout

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the DataBrew job

  • +
  • environment_id (str) – Identifier of the environment in which the job is used

  • +
  • name (str) – Name of the DataBrew job

  • +
  • role_arn (Optional[str]) – Arn of the execution role of the DataBrew job

  • +
  • type (str) –

    +
    The type of the DataBrew job, which must be one of the following:

    PROFILE - A job to analyze a dataset, to determine its size, data types, data distribution, and more. +RECIPE - A job to apply one or more transformations to a dataset.

    +
    +
    +

  • +
  • dataset_name (Optional[str]) – The name of the DataBrew dataset to be processed by the DataBrew job

  • +
  • recipe (Optional[databrew.CfnJob.RecipeProperty]) – The recipe to be used by the DataBrew job which is a series of data transformation steps.

  • +
  • encryption_mode (Optional[str]) –

    +
    The encryption mode to be used by the DataBrew job, which can be one of the following:

    SSE-KMS - Server-side encryption with keys managed by AWS KMS. +SSE-S3 - Server-side encryption with keys managed by Amazon S3.

    +
    +
    +

  • +
  • log_subscription (Optional[str]) – The status of the Amazon Cloudwatch logging for the DataBrew job

  • +
  • max_capacity (Optional[int]) – The maximum number of nodes that can be consumed by the DataBrew job.

  • +
  • max_retries (Optional[int]) – The maximum number of times to retry the DataBrew job

  • +
  • output_location (Optional[databrew.CfnJob.OutputLocationProperty]) – Output location to be used by the DataBrew job

  • +
  • outputs (Optional[Sequence[databrew.CfnJob.OutputProperty]]) – One or more output artifacts that represent the output of the DataBrew job

  • +
  • timeout (Optional[cdk.Duration]) – The job execution time (in seconds) after which DataBrew terminates the job. +aws_cdk.Duration.seconds(3600) by default.

  • +
  • job_props (Any) – Additional job properties. For complete list of properties refer to CDK Documentation - +DataBrew Job: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_databrew/CfnJob.html

  • +
+
+
Returns
+

job – DataBrew job

+
+
Return type
+

databrew.CfnJob

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.resources.GlueFactory.html b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.GlueFactory.html new file mode 100644 index 00000000..1e7983fb --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.GlueFactory.html @@ -0,0 +1,337 @@ + + + + + + + + + aws_ddk_core.resources.GlueFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.GlueFactory

+
+
+class aws_ddk_core.resources.GlueFactory
+

Class factory to create and configure Glue DDK resources, including Jobs.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

job(scope, id, environment_id, executable[, ...])

Create and configure Glue job.

+
+
+static job(scope: constructs.Construct, id: str, environment_id: str, executable: aws_cdk.aws_glue_alpha.JobExecutable, job_name: Optional[str] = None, description: Optional[str] = None, role: Optional[aws_cdk.aws_iam.IRole] = None, security_configuration: Optional[aws_cdk.aws_glue_alpha.ISecurityConfiguration] = None, timeout: Optional[aws_cdk.Duration] = None, worker_count: Optional[int] = None, worker_type: Optional[aws_cdk.aws_glue_alpha.WorkerType] = None, **job_props: Any) aws_cdk.aws_glue_alpha.IJob
+

Create and configure Glue job.

+

This construct allows to configure parameters of the job using ddk.json configuration file +depending on the environment_id in which the job is used. Supported parameters are: +default_arguments,`enable_profiling_metrics`, max_concurrent_runs, max_retries, +timeout, worker_count.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Glue job

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • executable (JobExecutable) – The job executable properties

  • +
  • job_name (Optional[str]) – The name of the Glue job

  • +
  • description (Optional[str]) – The description of the Glue job

  • +
  • role (Optional[IRole]) – The execution role of the Glue job

  • +
  • security_configuration (Optional[ISecurityConfiguration]) – The security configuration of the Glue job. If None, a default configuration is used

  • +
  • timeout (Optional[Duration]) – The job execution time (in seconds) after which Glue terminates the job. +aws_cdk.Duration.seconds(3600) by default.

  • +
  • worker_count (Optional[int]) – The number of workers of a defined WorkerType that are allocated when a job runs

  • +
  • worker_type (Optional[WorkerType]) – The type of predefined worker that is allocated when a job runs

  • +
  • job_props (Any) – Additional job properties. For complete list of properties refer to CDK Documentation - +Glue Job: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_glue_alpha/Job.html

  • +
+
+
Returns
+

job – Glue job

+
+
Return type
+

aws_cdk.aws_glue_alpha.Job

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html new file mode 100644 index 00000000..f325c115 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.KMSFactory.html @@ -0,0 +1,333 @@ + + + + + + + + + aws_ddk_core.resources.KMSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KMSFactory

+
+
+class aws_ddk_core.resources.KMSFactory
+

Class factory to create and configure Key Management Service DDK resources, including Keys.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

key(scope, id, environment_id[, alias, ...])

Create and configure KMS key.

+
+
+static key(scope: constructs.Construct, id: str, environment_id: str, alias: Optional[str] = None, enable_key_rotation: Optional[bool] = None, pending_window: Optional[aws_cdk.Duration] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, **key_props: Any) aws_cdk.aws_kms.IKey
+

Create and configure KMS key.

+

This construct allows to configure parameters of the key using ddk.json configuration file +depending on the environment_id in which the key is used. Supported parameters are: +enable_key_rotation,`pending_window`, and removal_policy.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the key

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • alias (Optional[str]) – Key alias

  • +
  • enable_key_rotation (Optional[bool]) – Indicates whether AWS KMS rotates the key. True by default.

  • +
  • pending_window (Optional[Duration]) – Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been +removed from a CloudFormation stack. aws_cdk.Duration.days(30) by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Whether the encryption key should be retained when it is removed from the Stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • key_props (Any) – Additional key properties. For complete list of properties refer to CDK Documentation - +KMS Key: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_kms/Key.html

  • +
+
+
Returns
+

key – KMS key

+
+
Return type
+

aws_cdk.aws_kms.Key

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html new file mode 100644 index 00000000..a9111f31 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html @@ -0,0 +1,385 @@ + + + + + + + + + aws_ddk_core.resources.KinesisFirehoseFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KinesisFirehoseFactory

+
+
+class aws_ddk_core.resources.KinesisFirehoseFactory
+

Class factory create and configure Kinesis DDK resources, including Delivery Streams.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

delivery_stream(scope, id, environment_id, ...)

Create and configure Firehose delivery stream.

s3_destination(id, environment_id, bucket[, ...])

Create and configure Firehose delivery S3 destination.

+
+
+static delivery_stream(scope: constructs.Construct, id: str, environment_id: str, destinations: Sequence[aws_cdk.aws_kinesisfirehose_alpha.IDestination], delivery_stream_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_kinesisfirehose_alpha.StreamEncryption] = None, encryption_key: Optional[aws_cdk.aws_kms.IKey] = None, role: Optional[aws_cdk.aws_iam.IRole] = None, source_stream: Optional[aws_cdk.aws_kinesis.IStream] = None, **firehose_props: Any) aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream
+

Create and configure Firehose delivery stream.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the delivery stream

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • destinations (Sequence[firehose.IDestination]) – The destinations that this delivery stream will deliver data to

  • +
  • delivery_stream_name (Optional[str] = None) – A name for the delivery stream

  • +
  • encryption (Optional[firehose.StreamEncryption] = None) – Indicates the type of customer master key (CMK) to use for server-side encryption, if any. +Default: StreamEncryption.UNENCRYPTED

  • +
  • encryption_key (Optional[IKey] = None) – Customer managed key to server-side encrypt data in the stream. +Default: - no KMS key will be used

  • +
  • role (Optional[IRole] = None) – The IAM role associated with this delivery stream. +Assumed by Kinesis Data Firehose to read from sources and encrypt data server-side. +Default: - a role will be created with default permissions.

  • +
  • source_stream (Optional[IStream] = None) – The Kinesis data stream to use as a source for this delivery stream

  • +
  • **firehose_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose Delivery Stream: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesisfirehose/DeliveryStream.html

  • +
+
+
Returns
+

delivery_stream – A Kinesis Firehose Delivery Stream

+
+
Return type
+

firehose.IDeliveryStream

+
+
+
+
+
+static s3_destination(id: str, environment_id: str, bucket: aws_cdk.aws_s3.IBucket, buffering_interval: typing.Optional[aws_ddk_core.resources.commons.Duration] = None, buffering_size: typing.Optional[aws_ddk_core.resources.commons.Size] = None, compression: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression] = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>, data_output_prefix: typing.Optional[str] = None, encryption_key: typing.Optional[aws_cdk.aws_kms.IKey] = None, error_output_prefix: typing.Optional[str] = None, logging: typing.Optional[bool] = True, log_group: typing.Optional[aws_cdk.aws_logs.ILogGroup] = None, processor: typing.Optional[aws_cdk.aws_kinesisfirehose_alpha.IDataProcessor] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, s3_backup: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.DestinationS3BackupProps] = None, **destination_props: typing.Any) aws_cdk.aws_kinesisfirehose_destinations_alpha.S3Bucket
+

Create and configure Firehose delivery S3 destination.

+

This construct allows to configure parameters of the firehose destination using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: buffering_interval and buffering_size

+
+
Parameters
+
    +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket (IBucket) – S3 Bucket to use for the destination.

  • +
  • buffering_interval (Optional[Duration] = None) – The length of time that Firehose buffers incoming data before delivering it to the S3 bucket. +Minimum: Duration.seconds(60) +Maximum: Duration.seconds(900) +Default: Duration.seconds(300)

  • +
  • buffering_size (Optional[Size] = None) – The size of the buffer that Kinesis Data Firehose uses for incoming data +before delivering it to the S3 bucket. +Minimum: Size.mebibytes(1) +Maximum: Size.mebibytes(128) +Default: Size.mebibytes(5)

  • +
  • compression (Optional[Compression] = None) – The type of compression that Kinesis Data Firehose uses to compress the data that it delivers +to the Amazon S3 bucket. +Default: Compression.GZIP

  • +
  • data_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3

  • +
  • encryption_key (Optional[IKey] = None) – The AWS KMS key used to encrypt the data that it delivers to your Amazon S3 bucket.

  • +
  • error_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. +This prefix appears immediately following the bucket name

  • +
  • logging (Optional[bool] = True) – If true, log errors when data transformation or data delivery fails. +If logGroup is provided, this will be implicitly set to true. +Default: true - errors are logged.

  • +
  • log_group (Optional[ILogGroup] = None) – The CloudWatch log group where log streams will be created to hold error logs. +Default: - if logging is set to true, a log group will be created for you.

  • +
  • processor (Optional[IDataProcessor] = None) – The data transformation that should be performed on the data before writing to the destination.

  • +
  • role (Optional[IRole] = None) – The IAM role associated with this destination. +Assumed by Kinesis Data Firehose to invoke processors and write to destinations

  • +
  • s3_backup (Optional[DestinationS3BackupProps] = None) – The configuration for backing up source records to S3.

  • +
  • **destination_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose S3 Destinations: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesisfirehose_destinations/S3Bucket.html

  • +
+
+
Returns
+

destination – A Kinesis Firehose S3 Delivery Destination

+
+
Return type
+

destinations.S3Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html new file mode 100644 index 00000000..d768f79b --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html @@ -0,0 +1,340 @@ + + + + + + + + + aws_ddk_core.resources.KinesisStreamsFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KinesisStreamsFactory

+
+
+class aws_ddk_core.resources.KinesisStreamsFactory
+

Class factory create and configure Kinesis DDK resources, including Data Streams.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

data_stream(scope, id, environment_id[, ...])

Create and configure Kinesis data stream.

+
+
+static data_stream(scope: constructs.Construct, id: str, environment_id: str, encryption: Optional[aws_cdk.aws_kinesis.StreamEncryption] = None, encryption_key: Optional[aws_cdk.aws_kms.IKey] = None, retention_period: Optional[aws_ddk_core.resources.commons.Duration] = None, shard_count: Optional[int] = None, stream_mode: Optional[aws_cdk.aws_kinesis.StreamMode] = None, stream_name: Optional[str] = None, **kinesis_props: Any) aws_cdk.aws_kinesis.IStream
+

Create and configure Kinesis data stream.

+

This construct allows to configure parameters of the Kinesis data stream using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: retention_period and shard_count.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the data stream

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • encryption (Optional[StreamEncryption] = None) – The kind of server-side encryption to apply to this stream. +If you choose KMS, you can specify a KMS key via encryptionKey. +If encryption key is not specified, a key will automatically be created. +Default: - StreamEncryption.KMS if encrypted Streams are supported +in the region or StreamEncryption.UNENCRYPTED otherwise. +StreamEncryption.KMS if an encryption key is supplied through the encryptionKey property

  • +
  • encryption_key (Optional[IKey] = None) – External KMS key to use for stream encryption. The ‘encryption’ property must be set to “Kms”. +Default: - Kinesis Data Streams master key (‘/alias/aws/kinesis’)

  • +
  • retention_period (Optional[Duration] = None) – The number of hours for the data records that are stored in shards to remain accessible. +Default: Duration.seconds(3600)

  • +
  • shard_count (Optional[int] = None) – The number of shards for the stream. Can only be provided if streamMode is Provisioned. +Default: 1

  • +
  • stream_mode (Optional[StreamMode] = None) – The capacity mode of this stream. +Default: StreamMode.PROVISIONED

  • +
  • stream_name (Optional[str] = None) – Enforces a particular physical stream name. +Default: A CloudFormation generated name

  • +
  • **kinesis_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose Data Stream: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesis/Stream.html

  • +
+
+
Returns
+

data_stream – A Kinesis Data Stream

+
+
Return type
+

Stream

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html new file mode 100644 index 00000000..4350e906 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html @@ -0,0 +1,343 @@ + + + + + + + + + aws_ddk_core.resources.LambdaFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.LambdaFactory

+
+
+class aws_ddk_core.resources.LambdaFactory
+

Class factory to create and configure Lambda DDK resources, including Functions.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

add_vpc_permissions(fn)

function(scope, id, environment_id, code, ...)

Create and configure Lambda function.

+
+
+static function(scope: constructs.Construct, id: str, environment_id: str, code: aws_cdk.aws_lambda.Code, handler: str, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, function_name: typing.Optional[str] = None, description: typing.Optional[str] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, dead_letter_queue_enabled: typing.Optional[bool] = None, dead_letter_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, **function_props: typing.Any) aws_cdk.aws_lambda.IFunction
+

Create and configure Lambda function.

+

This construct allows to configure parameters of the function using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +dead_letter_queue_enabled,`memory_size`, environment, profiling, +reserved_concurrent_executions, timeout, tracing, max_event_age, retry_attempts, +allow_all_outbound, and allow_public_subnet.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Lambda function

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Code) – The source code of the Lambda function

  • +
  • handler (str) – The name of the method within the code that Lambda calls to execute the function

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function

  • +
  • function_name (Optional[str]) – The name of the Lambda function

  • +
  • description (Optional[str]) – The description of the Lambda function

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • dead_letter_queue_enabled (Optional[bool]) – Determines if DLQ is enabled. False by default.

  • +
  • dead_letter_queue (Optional[IQueue]) – The SQS queue to use if DLQ is enabled

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default.

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default.

  • +
  • function_props (Any) – Additional function properties. For complete list of properties refer to CDK Documentation - +Lambda Function: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_lambda/Function.html

  • +
+
+
Returns
+

fn – Lambda function

+
+
Return type
+

aws_cdk.aws_lambda.Function

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html new file mode 100644 index 00000000..eec62a49 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.S3Factory.html @@ -0,0 +1,336 @@ + + + + + + + + + aws_ddk_core.resources.S3Factory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.S3Factory

+
+
+class aws_ddk_core.resources.S3Factory
+

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

bucket(scope, id, environment_id[, ...])

Create and configure S3 bucket.

+
+
+static bucket(scope: constructs.Construct, id: str, environment_id: str, bucket_name: Optional[str] = None, versioned: Optional[bool] = None, access_control: Optional[aws_cdk.aws_s3.BucketAccessControl] = None, block_public_access: Optional[aws_cdk.aws_s3.BlockPublicAccess] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, encryption: Optional[aws_cdk.aws_s3.BucketEncryption] = None, enforce_ssl: Optional[bool] = None, event_bridge_enabled: Optional[bool] = None, **bucket_props: Any) aws_cdk.aws_s3.IBucket
+

Create and configure S3 bucket.

+

This construct allows to configure parameters of the bucket using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +versioned,`auto_delete_objects`, enforce_ssl, access_control, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the bucket

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket_name (Optional[str]) – The name of the bucket

  • +
  • versioned (Optional[bool]) – Whether this bucket should have versioning turned on or not. True by default.

  • +
  • access_control (Optional[BucketAccessControl]) – Specifies a canned ACL that grants predefined permissions to the bucket +aws_cdk.aws_s3.BucketAccessControl.BUCKET_OWNER_FULL_CONTROL by default.

  • +
  • block_public_access (Optional[BlockPublicAccess]) – The block public access configuration of this bucket. +aws_cdk.aws_s3.BlockPublicAccess.BLOCK_ALL by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • encryption (Optional[BucketEncryption]) – The kind of server-side encryption to apply to this bucket. +aws_cdk.aws_s3.BucketEncryption.S3_MANAGED by default.

  • +
  • enforce_ssl (Optional[bool]) – Enforces SSL for requests. True by default.

  • +
  • event_bridge_enabled (Optional[bool]) – Whether this bucket should send notifications to Amazon EventBridge or not. +False by default.

  • +
  • bucket_props (Any) – Additional bucket properties. For complete list of properties refer to CDK Documentation - +S3 Bucket: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_s3/Bucket.html

  • +
+
+
Returns
+

bucket – S3 bucket

+
+
Return type
+

aws_cdk.aws_s3.Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html new file mode 100644 index 00000000..3eb8be5e --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.SQSFactory.html @@ -0,0 +1,333 @@ + + + + + + + + + aws_ddk_core.resources.SQSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.SQSFactory

+
+
+class aws_ddk_core.resources.SQSFactory
+

Class factory create and configure Simple Queue Service DDK resources, including Queues.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

apply_secure_queue_policy(queue)

queue(scope, environment_id, id[, ...])

Create and configure SQS queue.

+
+
+static queue(scope: constructs.Construct, environment_id: str, id: str, queue_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_sqs.QueueEncryption] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, dead_letter_queue: Optional[aws_cdk.aws_sqs.DeadLetterQueue] = None, **queue_props: Any) aws_cdk.aws_sqs.IQueue
+

Create and configure SQS queue.

+

This construct allows to configure parameters of the queue using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +content_based_deduplication,`data_key_reuse`, delivery_delay, max_message_size_bytes, +retention_period, visibility_timeout, receive_message_wait_time, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the queue

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • queue_name (Optional[str]) – Name of the queue

  • +
  • encryption (Optional[QueueEncryption]) – Whether the contents of the queue are encrypted, and by what type of key. +aws_cdk.aws_sqs.QueueEncryption.KMS_MANAGED by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • dead_letter_queue (Optional[DeadLetterQueue]) – Send messages to this queue if they were unsuccessfully dequeued a number of times.

  • +
  • queue_props (Any) – Additional queue properties. For complete list of properties refer to CDK Documentation - +SQS Queue: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_sqs/Queue.html

  • +
+
+
Returns
+

queue – SQS queue

+
+
Return type
+

aws_cdk.aws_sqs.Queue

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html new file mode 100644 index 00000000..9c07bf01 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html @@ -0,0 +1,327 @@ + + + + + + + + + aws_ddk_core.resources.StepFunctionsFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.StepFunctionsFactory

+
+
+class aws_ddk_core.resources.StepFunctionsFactory
+

Class factory create and configure AWS Step Functions Service DDK resources, including State Machines.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

state_machine(scope, environment_id, id[, ...])

Create and configure state machine.

+
+
+static state_machine(scope: constructs.Construct, environment_id: str, id: str, state_machine_name: Optional[str] = None, state_machine_type: Optional[aws_cdk.aws_stepfunctions.StateMachineType] = None, timeout: Optional[aws_ddk_core.resources.commons.Duration] = None, tracing_enabled: Optional[bool] = None, **state_machine_props: Any) aws_cdk.aws_stepfunctions.StateMachine
+

Create and configure state machine.

+

This construct allows to configure parameters of the state machine using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +state_machine_type,`timeout`, and tracing_enabled.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the state machine

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • state_machine_name (Optional[str]) – Name of the state machine

  • +
  • state_machine_type (Optional[sfn.StateMachineType]) – Type of the state machine

  • +
  • timeout (Optional[Duration]) – Maximum run time for this state machine

  • +
  • tracing_enabled (Optional[bool]) – Specifies whether Amazon X-Ray tracing is enabled for this state machine

  • +
  • state_machine_props (Any) – Additional state machine properties. For complete list of properties refer to CDK Documentation - +State Machine: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_stepfunctions/StateMachine.html

  • +
+
+
Returns
+

state_machine – State machine

+
+
Return type
+

aws_cdk.aws_stepfunctions.StateMachine

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html new file mode 100644 index 00000000..56965bf3 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html @@ -0,0 +1,367 @@ + + + + + + + + + aws_ddk_core.stages.AppFlowIngestionStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.AppFlowIngestionStage

+
+
+class aws_ddk_core.stages.AppFlowIngestionStage(*args: Any, **kwargs)
+

Class that represents an AppFlow DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, flow_name: typing.Optional[str] = None, flow_execution_status_check_period: aws_cdk.Duration = <aws_cdk.Duration object>, destination_flow_config: typing.Optional[aws_cdk.aws_appflow.CfnFlow.DestinationFlowConfigProperty] = None, source_flow_config: typing.Optional[aws_cdk.aws_appflow.CfnFlow.SourceFlowConfigProperty] = None, tasks: typing.Optional[typing.List[aws_cdk.aws_appflow.CfnFlow.TaskProperty]] = None, state_machine_input: typing.Optional[typing.Dict[str, typing.Any]] = None, additional_role_policy_statements: typing.Optional[typing.List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: typing.Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: typing.Optional[int] = 1) None
+

DDK AppFlow Ingestion stage.

+

Stage that contains a step function that runs an AppFlow flow ingestion. +If the AppFlow flow name is not supplied, then it is created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • flow_name (Optional[str]) – Name of the AppFlow flow to run. If None, an AppFlow flow is created

  • +
  • flow_execution_status_check_period (Duration) – Time to wait between flow execution status checks. +aws_cdk.Duration.seconds(15) by default

  • +
  • destination_flow_config (Optional[CfnFlow.DestinationFlowConfigProperty]) – The flow destination_flow_config properties

  • +
  • source_flow_config (Optional[CfnFlow.SourceFlowConfigProperty]) – The flow source_flow_config properties

  • +
  • tasks (Optional[List[CfnFlow.TaskProperty]]) – The flow tasks properties

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK AppFlow Ingestion stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

flow

CfnFlow The AppFlow flow

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property flow: aws_cdk.aws_appflow.CfnFlow
+

CfnFlow +The AppFlow flow

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html new file mode 100644 index 00000000..596a82c9 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html @@ -0,0 +1,354 @@ + + + + + + + + + aws_ddk_core.stages.AthenaSQLStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.AthenaSQLStage

+
+
+class aws_ddk_core.stages.AthenaSQLStage(*args: Any, **kwargs)
+

Class that represents a Athena SQL DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, query_string: str, workgroup: Optional[str] = None, catalog_name: Optional[str] = None, database_name: Optional[str] = None, output_bucket_name: Optional[str] = None, output_object_key: Optional[str] = None, encryption_option: Optional[aws_cdk.aws_stepfunctions_tasks.EncryptionOption] = None, encryption_key: Optional[aws_cdk.aws_kms.Key] = None, state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

DDK Athena SQL stage.

+

Stage that contains a step function that execute Athena SQL query.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • query_string (str) – SQL query that will be started

  • +
  • workgroup (Optional[str]) – Workgroup name

  • +
  • catalog_name (Optional[str]) – Catalog name

  • +
  • database_name (Optional[str]) – Database name

  • +
  • output_bucket_name (Optional[str]) – Output S3 bucket name

  • +
  • output_object_key (Optional[str]) – Output S3 key

  • +
  • encryption_option (Optional[EncryptionOption]) – Encryption configuration

  • +
  • encryption_key (Optional[Key]) – Encryption KMS key

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, query_string)

DDK Athena SQL stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

state_machine

StateMachine The state machine

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html new file mode 100644 index 00000000..56d3013d --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html @@ -0,0 +1,388 @@ + + + + + + + + + aws_ddk_core.stages.DMSS3ToS3Stage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.DMSS3ToS3Stage

+
+
+class aws_ddk_core.stages.DMSS3ToS3Stage(*args: Any, **kwargs)
+

Class that represents a DMS to S3 to S3 Replication DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, source_bucket: aws_cdk.aws_s3.IBucket, target_bucket: aws_cdk.aws_s3.IBucket, external_table_definition: str, table_mappings: Optional[str] = None, replication_instance_class: str = 'dms.c5.large', source_bucket_prefix: Optional[str] = None, target_bucket_prefix: Optional[str] = None) None
+

DDK DMS S3 to S3 replication stage

+
+
Parameters
+
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK DMS S3 to S3 replication stage

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.stages.DataBrewTransformStage.html b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.DataBrewTransformStage.html new file mode 100644 index 00000000..76d02c81 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.DataBrewTransformStage.html @@ -0,0 +1,366 @@ + + + + + + + + + aws_ddk_core.stages.DataBrewTransformStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.DataBrewTransformStage

+
+
+class aws_ddk_core.stages.DataBrewTransformStage(*args: Any, **kwargs)
+

Class that represents a DataBrew Transform DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, job_name: Optional[str] = None, job_role_arn: Optional[str] = None, job_type: Optional[str] = None, dataset_name: Optional[str] = None, recipe: Optional[aws_cdk.aws_databrew.CfnJob.RecipeProperty] = None, outputs: Optional[List[aws_cdk.aws_databrew.CfnJob.OutputProperty]] = None, state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

DDK DataBrew Transform stage.

+

Stage that contains a step function that runs DataBrew job

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • job_name (Optional[str]) – The name of a preexisting DataBrew job to run. If None, a DataBrew job is created

  • +
  • job_role_arn (Optional[str]) – The Arn of the job execution role. Required if job_name is None.

  • +
  • job_type (Optional[str]) – The type of job to run. Required if job_name is None.

  • +
  • dataset_name (Optional[str]) – The name of the dataset to use for the job.

  • +
  • recipe (Optional[CfnJob.RecipeProperty]) – The recipe to be used by the DataBrew job which is a series of data transformation steps.

  • +
  • outputs (Optional[List[CfnJob.OutputProperty]]) – The output properties for the job.

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – The input dict to the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK DataBrew Transform stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

job

Optional[CfnJob] The DataBrew job

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property job: Optional[aws_cdk.aws_databrew.CfnJob]
+

Optional[CfnJob] +The DataBrew job

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html new file mode 100644 index 00000000..0c2eb99d --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html @@ -0,0 +1,387 @@ + + + + + + + + + aws_ddk_core.stages.GlueTransformStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.GlueTransformStage

+
+
+class aws_ddk_core.stages.GlueTransformStage(*args: Any, **kwargs)
+

Class that represents a Glue Transform DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, job_name: Optional[str] = None, executable: Optional[aws_cdk.aws_glue_alpha.JobExecutable] = None, job_role: Optional[aws_cdk.aws_iam.IRole] = None, crawler_name: Optional[str] = None, database_name: Optional[str] = None, crawler_role: Optional[aws_cdk.aws_iam.IRole] = None, targets: Optional[aws_cdk.aws_glue.CfnCrawler.TargetsProperty] = None, job_args: Optional[Dict[str, Any]] = None, glue_job_args: Optional[Dict[str, Any]] = {}, glue_crawler_args: Optional[Dict[str, Any]] = {}, state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1) None
+

DDK Glue Transform stage.

+

Stage that contains a step function that runs Glue job, and a Glue crawler afterwards. +If the Glue job or crawler names are not supplied, then they are created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • job_name (Optional[str]) – The name of a preexisting Glue job to run. If None, a Glue job is created

  • +
  • executable (Optional[JobExecutable]) – The job executable properties

  • +
  • job_role (Optional[IRole]) – The job execution role

  • +
  • crawler_name (Optional[str]) – The name of a preexisting Glue crawler to run. If None, a Glue crawler is created

  • +
  • database_name (Optional[str]) – The name of the database in which the crawler’s output is stored

  • +
  • crawler_role (Optional[IRole]) – The crawler execution role

  • +
  • targets (Optional[TargetsProperty]) – A collection of targets to crawl

  • +
  • job_args (Optional[Dict[str, Any]]) – The input arguments to the Glue job

  • +
  • glue_job_args (Optional[Dict[str, Any]]) – Additional Glue job properties. For complete list of properties refer to CDK Documentation - +Glue Job: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_glue_alpha/Job.html

  • +
  • glue_crawler_args (Optional[Dict[str, Any]]) – Additional arguments to pass to CDK L1 Construct: CfnCrawler. +See: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_glue/CfnCrawler.html

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – The input dict to the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK Glue Transform stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

crawler

Optional[CfnCrawler] The Glue crawler

job

Optional[IJob] The Glue job

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property crawler: Optional[aws_cdk.aws_glue.CfnCrawler]
+

Optional[CfnCrawler] +The Glue crawler

+
+
Type
+

Return

+
+
+
+
+
+property job: Optional[aws_cdk.aws_glue_alpha.IJob]
+

Optional[IJob] +The Glue job

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html new file mode 100644 index 00000000..a2df8162 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html @@ -0,0 +1,462 @@ + + + + + + + + + aws_ddk_core.stages.KinesisToS3Stage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.KinesisToS3Stage

+
+
+class aws_ddk_core.stages.KinesisToS3Stage(*args: Any, **kwargs)
+

Class that represents a Firehose to S3 Ingestion DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, delivery_stream_name: typing.Optional[str] = None, bucket_name: typing.Optional[str] = None, buffering_interval: typing.Optional[aws_cdk.Duration] = None, buffering_size: typing.Optional[aws_cdk.Size] = None, compression: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression] = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>, data_output_prefix: typing.Optional[str] = None, data_stream_enabled: typing.Optional[bool] = False, encryption_key: typing.Optional[aws_cdk.aws_kms.IKey] = None, error_output_prefix: typing.Optional[str] = None, logging: typing.Optional[bool] = True, log_group: typing.Optional[aws_cdk.aws_logs.ILogGroup] = None, kinesis_delivery_stream_alarm_threshold: typing.Optional[int] = 900, kinesis_delivery_stream_alarm_evaluation_periods: typing.Optional[int] = 1, delivery_stream: typing.Optional[aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream] = None, bucket: typing.Optional[aws_cdk.aws_s3.IBucket] = None, data_stream: typing.Optional[aws_cdk.aws_kinesis.Stream] = None) None
+

DDK Kinesis Firehose Delivery stream to S3 stage, with an optional Kinesis Data Stream.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • delivery_stream_name (Optional[str] = None) – Name of the Firehose Delivery Stream

  • +
  • bucket_name (Optional[str] = None) – Name of S3 Bucket to be created as a delivery destination. +Amazon EventBridge notifications must be enabled on the bucket in order +for this stage to produce events after its completion.

  • +
  • buffering_interval (Optional[Duration] = None) – The length of time that Firehose buffers incoming data before delivering it to the S3 bucket. +Minimum: Duration.seconds(60) +Maximum: Duration.seconds(900) +Default: Duration.seconds(300)

  • +
  • buffering_size (Optional[Size] = None) – The size of the buffer that Kinesis Data Firehose uses for incoming +data before delivering it to the S3 bucket. +Minimum: Size.mebibytes(1) +Maximum: Size.mebibytes(128) +Default: Size.mebibytes(5)

  • +
  • compression (Optional[Compression] = None) – The type of compression that Kinesis Data Firehose uses to compress +the data that it delivers to the Amazon S3 bucket. +Default: - GZIP

  • +
  • data_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3. +This prefix appears immediately following the bucket name. +Default: “YYYY/MM/DD/HH”

  • +
  • data_stream_enabled (Optional[bool] = False) – Add Kinesis Data Stream to front Firehose Delivery. +Default: false

  • +
  • encryption_key (Optional[IKey] = None) – The AWS KMS key used to encrypt the data delivered to your Amazon S3 bucket

  • +
  • error_output_prefix (Optional[str] = None) – prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. +This prefix appears immediately following the bucket name. +Default: “YYYY/MM/DD/HH”

  • +
  • logging (Optional[bool] = True) – If true, log errors when data transformation or data delivery fails. +If log_group is provided, this will be implicitly set to true. +Default: true - errors are logged.

  • +
  • log_group (Optional[ILogGroup] = None) – The CloudWatch log group where log streams will be created to hold error logs. +Default: - if logging is set to true, a log group will be created for you.

  • +
  • kinesis_delivery_stream_alarm_threshold (Optional[int] = 900) – Threshold for Cloudwatch Alarm created for this stage. +Default: 900

  • +
  • kinesis_delivery_stream_alarm_evaluation_periods (Optional[int] = 1) – Evaluation period value for Cloudwatch alarm created for this stage. +Default: 1

  • +
  • delivery_stream (Optional[firehose.IDeliveryStream] = None) – Preexisting Delivery Stream to use in this stage

  • +
  • bucket (Optional[IBucket] = None) – Preexisting S3 Bucket to use as a destination for the Firehose Stream. +If no bucket is provided, a new one is created. +Amazon EventBridge notifications must be enabled on the bucket in order +for this stage to produce events after its completion.

  • +
  • data_stream (Optional[Stream] = None) – Preexisting Kinesis Data Stream to use in stage before Delivery Stream. +Setting this parameter will override any creation of Kinesis Data Streams +in this stage. data_stream_enabled will have no effect.

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK Kinesis Firehose Delivery stream to S3 stage, with an optional Kinesis Data Stream.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + +

bucket

S3 Bucket The S3 Destination Bucket

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

data_stream

Data Stream The Kinesis Data Stream

delivery_stream

Delivery Stream The Kinesis Firehose Delivery Stream

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property bucket: aws_cdk.aws_s3.IBucket
+

S3 Bucket +The S3 Destination Bucket

+
+
Type
+

Return

+
+
+
+
+
+property data_stream: aws_cdk.aws_kinesis.Stream
+

Data Stream +The Kinesis Data Stream

+
+
Type
+

Return

+
+
+
+
+
+property delivery_stream: aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream
+

Delivery Stream +The Kinesis Firehose Delivery Stream

+
+
Type
+

Return

+
+
+
+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html new file mode 100644 index 00000000..79a0876b --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.S3EventStage.html @@ -0,0 +1,365 @@ + + + + + + + + + aws_ddk_core.stages.S3EventStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.S3EventStage

+
+
+class aws_ddk_core.stages.S3EventStage(*args: Any, **kwargs)
+

Class that represents an S3 Event DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, event_names: List[str], bucket_name: Union[str, List[str]], key_prefix: Optional[Union[str, List[str]]] = None, **kwargs: Any) None
+

DDK S3 Event stage.

+

It implements an S3 event pattern based on event names, a bucket name and optional key prefix. +Amazon EventBridge notifications must be enabled on the bucket in order to use this construct.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • event_names (List[str]) – The list of events to capture, for example: [“Object Created”]. +https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventBridge.html

  • +
  • bucket_name (Union[str, List[str]]) – The name(s) of the S3 bucket(s). Amazon EventBridge notifications must be enabled +on the bucket in order to use this construct.

  • +
  • key_prefix (Optional[Union[str, List[str]]]) – The S3 prefix or list of prefixes. Capture root level prefix (“/”) by default

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK S3 Event stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + +

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html new file mode 100644 index 00000000..56a60388 --- /dev/null +++ b/release/0.6.0/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html @@ -0,0 +1,423 @@ + + + + + + + + + aws_ddk_core.stages.SqsToLambdaStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.SqsToLambdaStage

+
+
+class aws_ddk_core.stages.SqsToLambdaStage(*args: Any, **kwargs)
+

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, code: typing.Optional[aws_cdk.aws_lambda.Code] = None, handler: typing.Optional[str] = None, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, visibility_timeout: typing.Optional[aws_cdk.Duration] = None, dead_letter_queue_enabled: bool = False, max_receive_count: int = 1, batch_size: typing.Optional[int] = None, max_batching_window: typing.Optional[aws_cdk.Duration] = None, layers: typing.Optional[typing.List[aws_cdk.aws_lambda.ILayerVersion]] = None, lambda_function: typing.Optional[aws_cdk.aws_lambda.IFunction] = None, sqs_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, lambda_function_errors_alarm_threshold: typing.Optional[int] = 5, lambda_function_errors_alarm_evaluation_periods: typing.Optional[int] = 1, function_props: typing.Optional[typing.Dict[str, typing.Any]] = {}) None
+

DDK SQS to Lambda stage.

+

It implements an Amazon SQS queue connected to an AWS Lambda function, with an optional DLQ.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Optional[Code]) – The source code of the Lambda function +Must be set if lambda_function is not.

  • +
  • handler (Optional[str]) – The name of the method within the code that Lambda calls to execute the function. +Must be set if lambda_function is not.

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function. PYTHON_3_9 by default

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default

  • +
  • visibility_timeout (Optional[Duration]) – Timeout of processing a single message in the queue. Default: Duration.seconds(120).

  • +
  • dead_letter_queue_enabled (bool) – Determines if DLQ is enabled. False by default

  • +
  • max_receive_count (int) – The number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue. +1 by default

  • +
  • batch_size (Optional[int]) – The maximum number of records retrieved from the event source at the function invocation time. +10 by default

  • +
  • max_batching_window (Optional[Duration]) – The maximum amount of time to gather records before invoking the function. +Valid Range: Minimum value of 0 minutes. +Maximum value of 5 minutes. +Default: - no batching window.

  • +
  • layers (Optional[List[ILayerVersion]]) – A list of layers to add to the lambda function’s execution environment.

  • +
  • lambda_function (Optional[IFunction]) – Preexisting Lambda Function to use in stage. None by default

  • +
  • sqs_queue (Optional[IQueue]) – Preexisting SQS Queue to use in stage. None by default

  • +
  • lambda_function_errors_alarm_threshold (Optional[int]) – Amount of errored function invocations before triggering CW alarm. Defaults to 5

  • +
  • lambda_function_errors_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
  • function_props (Any) – Additional function properties. For complete list of properties refer to CDK Documentation - +Lambda Function: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_lambda/Function.html

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, code, ...])

DDK SQS to Lambda stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

dlq

DeadLetterQueue The SQS dead letter queue

function

Function The Lambda function

node

The tree node.

queue

Queue The SQS queue

+
+
+property dlq: Optional[aws_cdk.aws_sqs.DeadLetterQueue]
+

DeadLetterQueue +The SQS dead letter queue

+
+
Type
+

Return

+
+
+
+
+
+property function: aws_cdk.aws_lambda.IFunction
+

Function +The Lambda function

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property queue: aws_cdk.aws_sqs.IQueue
+

Queue +The SQS queue

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/genindex.html b/release/0.6.0/api/genindex.html new file mode 100644 index 00000000..8914015f --- /dev/null +++ b/release/0.6.0/api/genindex.html @@ -0,0 +1,982 @@ + + + + + + + Index - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+

Index

+
Symbols | _ | A | B | C | D | E | F | G | J | K | L | N | Q | R | S
+
+
+

Symbols

+ + + +
+
+ +
+

_

+ + +
+
+ +
+

A

+ + + +
+
+ +
+

B

+ + + +
+
+ +
+

C

+ + + +
+
+ +
+

D

+ + + +
+
+ +
+

E

+ + + +
+
+ +
+

F

+ + + +
+
+ +
+

G

+ + + +
+
+ +
+

J

+ + + +
+
+ +
+

K

+ + + +
+
+ +
+

L

+ + +
+
+ +
+

N

+ + +
+
+ +
+

Q

+ + + +
+
+ +
+

R

+ + + +
+
+ +
+

S

+ + + +
+
+ + +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/index.html b/release/0.6.0/api/index.html new file mode 100644 index 00000000..b7269241 --- /dev/null +++ b/release/0.6.0/api/index.html @@ -0,0 +1,305 @@ + + + + + + + + + Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/objects.inv b/release/0.6.0/api/objects.inv new file mode 100644 index 0000000000000000000000000000000000000000..b7a1250aa369349e24b4928d8a2527513426b133 GIT binary patch literal 2290 zcmVNERX>N99Zgg*Qc_4OWa&u{KZXhxWBOp+6Z)#;@bUGkGS5qKF zL`w=IAXa5^b7^mGIv@%oAXI2&AaZ4GVQFq;WpW^IW*~HEX>%ZEX>4U6X>%ZBZ*6dL zWpi_7WFU2OX>MmAdTeQ8E(&yz*=%Jqnaz}^YLApG zWScc0EQw_O_bb3of)Su@VdpZLGTrYzT8-2#VY3$d$Q0<7#8_?9*?AMq@^CoEE8x;~GB~W+RhX2y|oMP)}j#BL=6u zJmtyNxBG9mPiZN#wD6Cc+jHRd28=;*oP&@hNz6BbZ}nvAB(mTKxT^wObg)j9Bjh8QXV;lA$tr2HGaW!Q%xb z9+(LzXyiubmQmKRk)`Nc^~|9YWyc9xU)?gpjd>)_sr&+5Jd;)O!VKTElubsKN|r*I{miU?Jd460 zhU?7_K!F`F99g>xEBi;EkIz~e@yPh5Eij>B?771Uu|b`Ky6H;lDaD95Z!dg+il%z3 zhb%6cF+vp|qyd*~bFlYD05n^`6}{hR_xEnQ!h}dzDt$ZNR3NCHwKa#9otz& zBzEO~7HV&ccqLf=p<48HoCs|fG3I@QG?$b`bN4zVE4mOk;=r7kMM7ey^Pp@1s`$?G zWx`OA@3_K??*c1v`yhdd1+?4{w ztf|wL$cd0#0n}zA3by$9 z9USA1BZLGORREn`FBjLpw|n?C{S z5k*o3*#|s{{6IU1!ZuG(^lWYeZyD+}@rxq6@4NIJGZp0)L$ojfZ zf36s_vaGvio3Mutcxo$whV<0_TNeXro1Qk-yKJxxr>Mr*qtSOOI&QVc=2-eoHbyk4 zJpi;~1B&zdWw6-DdY5mg@u#R((PL}Dt*PFMe;2{AR)?YsanGj8t?+f1`+B5sr^uSa zt37b*vLo5dhy(QrMXaZj)z5&Eojz`653jrwIemGp?=<3BdITlfBwrHA8_Ktj8#r>b zDH-2dM#o}=S^da;AinsTqR_*-!R2?JlLBYw6K?DcmaT_Z2f6A!}(@D4m&&fD`#rmP~!OYkryC(|35G>Z`L zzr!TCU!Nzw))C~K+(+5q`8t_2i@>iD00lYTK_Gs%5$FsbChPR@pG@0DkaK02ng_p8 zdw`7EzGdM*z|gwWKLt)%PD`1kJQW&` zoH~$8q4HGMKcb}V=T(ug!wP_6aH2U#l~|?!1<?B$RP($JGR&vpzbT6-~_g?4`3lZ{@71sb&gKNe)i_)|;+Q!DMC1%FrZLNJM#xh$gF|ir*UH zb?rUCtwkZ~g9R#!Y>xu$B6Prw$ji)LLgAVYmYCsYO}Gxs+|rUQw>Y1`-B*Z+;)%nm){JByot7UcH!f!sXZ zlUvEFI>DPS>qogv9Qfs)9xt>2k20x$@UUficXh(;X>T_6Hagx~FvT}r$M&< + + + + + + Search - Contents + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ + + +
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + + + + \ No newline at end of file diff --git a/release/0.6.0/api/searchindex.js b/release/0.6.0/api/searchindex.js new file mode 100644 index 00000000..c759bedd --- /dev/null +++ b/release/0.6.0/api/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({docnames:["cli/aws_ddk","core/aws_ddk_core","core/stubs/aws_ddk_core.base.BaseStack","core/stubs/aws_ddk_core.cicd.CICDPipelineStack","core/stubs/aws_ddk_core.config.Config","core/stubs/aws_ddk_core.config.JSONConfigStrategy","core/stubs/aws_ddk_core.pipelines.DataPipeline","core/stubs/aws_ddk_core.pipelines.DataStage","core/stubs/aws_ddk_core.pipelines.EventStage","core/stubs/aws_ddk_core.pipelines.StateMachineStage","core/stubs/aws_ddk_core.resources.DMSFactory","core/stubs/aws_ddk_core.resources.DataBrewFactory","core/stubs/aws_ddk_core.resources.GlueFactory","core/stubs/aws_ddk_core.resources.KMSFactory","core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory","core/stubs/aws_ddk_core.resources.KinesisStreamsFactory","core/stubs/aws_ddk_core.resources.LambdaFactory","core/stubs/aws_ddk_core.resources.S3Factory","core/stubs/aws_ddk_core.resources.SQSFactory","core/stubs/aws_ddk_core.resources.StepFunctionsFactory","core/stubs/aws_ddk_core.stages.AppFlowIngestionStage","core/stubs/aws_ddk_core.stages.AthenaSQLStage","core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage","core/stubs/aws_ddk_core.stages.DataBrewTransformStage","core/stubs/aws_ddk_core.stages.GlueTransformStage","core/stubs/aws_ddk_core.stages.KinesisToS3Stage","core/stubs/aws_ddk_core.stages.S3EventStage","core/stubs/aws_ddk_core.stages.SqsToLambdaStage","index"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["cli/aws_ddk.rst","core/aws_ddk_core.rst","core/stubs/aws_ddk_core.base.BaseStack.rst","core/stubs/aws_ddk_core.cicd.CICDPipelineStack.rst","core/stubs/aws_ddk_core.config.Config.rst","core/stubs/aws_ddk_core.config.JSONConfigStrategy.rst","core/stubs/aws_ddk_core.pipelines.DataPipeline.rst","core/stubs/aws_ddk_core.pipelines.DataStage.rst","core/stubs/aws_ddk_core.pipelines.EventStage.rst","core/stubs/aws_ddk_core.pipelines.StateMachineStage.rst","core/stubs/aws_ddk_core.resources.DMSFactory.rst","core/stubs/aws_ddk_core.resources.DataBrewFactory.rst","core/stubs/aws_ddk_core.resources.GlueFactory.rst","core/stubs/aws_ddk_core.resources.KMSFactory.rst","core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.rst","core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.rst","core/stubs/aws_ddk_core.resources.LambdaFactory.rst","core/stubs/aws_ddk_core.resources.S3Factory.rst","core/stubs/aws_ddk_core.resources.SQSFactory.rst","core/stubs/aws_ddk_core.resources.StepFunctionsFactory.rst","core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.rst","core/stubs/aws_ddk_core.stages.AthenaSQLStage.rst","core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.rst","core/stubs/aws_ddk_core.stages.DataBrewTransformStage.rst","core/stubs/aws_ddk_core.stages.GlueTransformStage.rst","core/stubs/aws_ddk_core.stages.KinesisToS3Stage.rst","core/stubs/aws_ddk_core.stages.S3EventStage.rst","core/stubs/aws_ddk_core.stages.SqsToLambdaStage.rst","index.rst"],objects:{"aws_ddk_core.base":[[2,0,1,"","BaseStack"]],"aws_ddk_core.base.BaseStack":[[2,1,1,"","__init__"]],"aws_ddk_core.cicd":[[3,0,1,"","CICDPipelineStack"]],"aws_ddk_core.cicd.CICDPipelineStack":[[3,1,1,"","__init__"],[3,1,1,"","add_checks"],[3,1,1,"","add_custom_stage"],[3,1,1,"","add_notifications"],[3,1,1,"","add_security_lint_stage"],[3,1,1,"","add_source_action"],[3,1,1,"","add_stage"],[3,1,1,"","add_synth_action"],[3,1,1,"","add_test_stage"],[3,1,1,"","add_wave"],[3,1,1,"","build"],[3,1,1,"","synth"]],"aws_ddk_core.config":[[4,0,1,"","Config"],[5,0,1,"","JSONConfigStrategy"]],"aws_ddk_core.config.Config":[[4,1,1,"","__init__"],[4,1,1,"","get_cdk_version"],[4,1,1,"","get_env"],[4,1,1,"","get_env_config"],[4,1,1,"","get_resource_config"],[4,1,1,"","get_tags"]],"aws_ddk_core.config.JSONConfigStrategy":[[5,1,1,"","__init__"],[5,1,1,"","get_config"]],"aws_ddk_core.pipelines":[[6,0,1,"","DataPipeline"],[7,0,1,"","DataStage"],[8,0,1,"","EventStage"],[9,0,1,"","StateMachineStage"]],"aws_ddk_core.pipelines.DataPipeline":[[6,1,1,"","__init__"],[6,1,1,"","add_notifications"],[6,1,1,"","add_rule"],[6,1,1,"","add_stage"]],"aws_ddk_core.pipelines.DataStage":[[7,1,1,"","__init__"],[7,1,1,"","add_alarm"],[7,2,1,"","cloudwatch_alarms"]],"aws_ddk_core.pipelines.EventStage":[[8,1,1,"","__init__"],[8,1,1,"","get_targets"]],"aws_ddk_core.pipelines.StateMachineStage":[[9,1,1,"","__init__"],[9,1,1,"","build_state_machine"],[9,1,1,"","get_event_pattern"],[9,1,1,"","get_targets"],[9,2,1,"","state_machine"]],"aws_ddk_core.resources":[[10,0,1,"","DMSFactory"],[11,0,1,"","DataBrewFactory"],[12,0,1,"","GlueFactory"],[13,0,1,"","KMSFactory"],[14,0,1,"","KinesisFirehoseFactory"],[15,0,1,"","KinesisStreamsFactory"],[16,0,1,"","LambdaFactory"],[17,0,1,"","S3Factory"],[18,0,1,"","SQSFactory"],[19,0,1,"","StepFunctionsFactory"]],"aws_ddk_core.resources.DMSFactory":[[10,1,1,"","__init__"],[10,1,1,"","endpoint"],[10,1,1,"","endpoint_settings_s3"],[10,1,1,"","replication_instance"],[10,1,1,"","replication_task"]],"aws_ddk_core.resources.DataBrewFactory":[[11,1,1,"","__init__"],[11,1,1,"","job"]],"aws_ddk_core.resources.GlueFactory":[[12,1,1,"","__init__"],[12,1,1,"","job"]],"aws_ddk_core.resources.KMSFactory":[[13,1,1,"","__init__"],[13,1,1,"","key"]],"aws_ddk_core.resources.KinesisFirehoseFactory":[[14,1,1,"","__init__"],[14,1,1,"","delivery_stream"],[14,1,1,"","s3_destination"]],"aws_ddk_core.resources.KinesisStreamsFactory":[[15,1,1,"","__init__"],[15,1,1,"","data_stream"]],"aws_ddk_core.resources.LambdaFactory":[[16,1,1,"","__init__"],[16,1,1,"","function"]],"aws_ddk_core.resources.S3Factory":[[17,1,1,"","__init__"],[17,1,1,"","bucket"]],"aws_ddk_core.resources.SQSFactory":[[18,1,1,"","__init__"],[18,1,1,"","queue"]],"aws_ddk_core.resources.StepFunctionsFactory":[[19,1,1,"","__init__"],[19,1,1,"","state_machine"]],"aws_ddk_core.stages":[[20,0,1,"","AppFlowIngestionStage"],[21,0,1,"","AthenaSQLStage"],[22,0,1,"","DMSS3ToS3Stage"],[23,0,1,"","DataBrewTransformStage"],[24,0,1,"","GlueTransformStage"],[25,0,1,"","KinesisToS3Stage"],[26,0,1,"","S3EventStage"],[27,0,1,"","SqsToLambdaStage"]],"aws_ddk_core.stages.AppFlowIngestionStage":[[20,1,1,"","__init__"],[20,2,1,"","flow"]],"aws_ddk_core.stages.AthenaSQLStage":[[21,1,1,"","__init__"]],"aws_ddk_core.stages.DMSS3ToS3Stage":[[22,1,1,"","__init__"],[22,2,1,"","event_pattern"],[22,1,1,"","get_event_pattern"],[22,1,1,"","get_targets"]],"aws_ddk_core.stages.DataBrewTransformStage":[[23,1,1,"","__init__"],[23,2,1,"","job"]],"aws_ddk_core.stages.GlueTransformStage":[[24,1,1,"","__init__"],[24,2,1,"","crawler"],[24,2,1,"","job"]],"aws_ddk_core.stages.KinesisToS3Stage":[[25,1,1,"","__init__"],[25,2,1,"","bucket"],[25,2,1,"","data_stream"],[25,2,1,"","delivery_stream"],[25,2,1,"","event_pattern"],[25,1,1,"","get_event_pattern"],[25,1,1,"","get_targets"]],"aws_ddk_core.stages.S3EventStage":[[26,1,1,"","__init__"],[26,2,1,"","event_pattern"],[26,1,1,"","get_event_pattern"]],"aws_ddk_core.stages.SqsToLambdaStage":[[27,1,1,"","__init__"],[27,2,1,"","dlq"],[27,2,1,"","function"],[27,1,1,"","get_event_pattern"],[27,1,1,"","get_targets"],[27,2,1,"","queue"]],"ddk-bootstrap":[[0,3,1,"cmdoption-ddk-bootstrap-e","--environment"],[0,3,1,"cmdoption-ddk-bootstrap-i","--iam-policies"],[0,3,1,"cmdoption-ddk-bootstrap-permissions-boundary","--permissions-boundary"],[0,3,1,"cmdoption-ddk-bootstrap-prefix","--prefix"],[0,3,1,"cmdoption-ddk-bootstrap-p","--profile"],[0,3,1,"cmdoption-ddk-bootstrap-qualifier","--qualifier"],[0,3,1,"cmdoption-ddk-bootstrap-r","--region"],[0,3,1,"cmdoption-ddk-bootstrap-t","--tags"],[0,3,1,"cmdoption-ddk-bootstrap-a","--trusted-accounts"],[0,3,1,"cmdoption-ddk-bootstrap-a","-a"],[0,3,1,"cmdoption-ddk-bootstrap-e","-e"],[0,3,1,"cmdoption-ddk-bootstrap-i","-i"],[0,3,1,"cmdoption-ddk-bootstrap-p","-p"],[0,3,1,"cmdoption-ddk-bootstrap-r","-r"],[0,3,1,"cmdoption-ddk-bootstrap-t","-t"]],"ddk-create-repository":[[0,3,1,"cmdoption-ddk-create-repository-d","--description"],[0,3,1,"cmdoption-ddk-create-repository-p","--profile"],[0,3,1,"cmdoption-ddk-create-repository-r","--region"],[0,3,1,"cmdoption-ddk-create-repository-t","--tags"],[0,3,1,"cmdoption-ddk-create-repository-d","-d"],[0,3,1,"cmdoption-ddk-create-repository-p","-p"],[0,3,1,"cmdoption-ddk-create-repository-r","-r"],[0,3,1,"cmdoption-ddk-create-repository-t","-t"],[0,3,1,"cmdoption-ddk-create-repository-arg-NAME","NAME"]],"ddk-deploy":[[0,3,1,"cmdoption-ddk-deploy-f","--force"],[0,3,1,"cmdoption-ddk-deploy-o","--output-dir"],[0,3,1,"cmdoption-ddk-deploy-p","--profile"],[0,3,1,"cmdoption-ddk-deploy-require-approval","--require-approval"],[0,3,1,"cmdoption-ddk-deploy-f","-f"],[0,3,1,"cmdoption-ddk-deploy-o","-o"],[0,3,1,"cmdoption-ddk-deploy-p","-p"],[0,3,1,"cmdoption-ddk-deploy-arg-STACKS","STACKS"]],"ddk-init":[[0,3,1,"cmdoption-ddk-init-e","--environment"],[0,3,1,"cmdoption-ddk-init-generate-only","--generate-only"],[0,3,1,"cmdoption-ddk-init-t","--template"],[0,3,1,"cmdoption-ddk-init-e","-e"],[0,3,1,"cmdoption-ddk-init-t","-t"],[0,3,1,"cmdoption-ddk-init-arg-NAME","NAME"]],ddk:[[0,3,1,"cmdoption-ddk-debug","--debug"],[0,3,1,"cmdoption-ddk-debug","--no-debug"],[0,3,1,"cmdoption-ddk-version","--version"]]},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"],"2":["py","property","Python property"],"3":["std","cmdoption","program option"]},objtypes:{"0":"py:class","1":"py:method","2":"py:property","3":"std:cmdoption"},terms:{"0":27,"1":[0,7,9,11,12,13,14,15,16,20,21,23,24,25,27],"10":27,"111111111111":0,"120":[16,27],"128":[14,25],"15":20,"1984":0,"2":[11,12,13,16],"222222222222":0,"256":[16,27],"3":[11,12,13,16],"30":13,"300":[14,25],"31":10,"3600":[11,12,15],"5":[7,14,25,27],"60":[14,25],"900":[14,25],"class":[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],"default":[0,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,20,21,23,24,25,26,27],"function":[10,14,15,16,17,18,19,20,21,23,24,27],"int":[7,9,10,11,12,15,16,20,21,23,24,25,27],"new":[0,25],"null":10,"public":[10,17],"return":[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,23,24,25,26,27],"static":[10,11,12,13,14,15,16,17,18,19],"super":[7,8],"true":[0,10,13,14,17,25],"while":10,A:[0,10,11,14,15,24,25,27],By:6,For:[6,7,8,10,11,12,13,14,15,16,17,18,19,22,24,27],If:[0,2,10,12,14,15,20,23,24,25],It:[3,10,26,27],One:11,The:[0,3,7,9,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27],To:[7,8],_:3,__init__:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],_event_pattern:8,_queue:7,abil:3,abl:[3,10],about:10,access:[10,15,17],access_control:17,account:[0,2,3,4],acl:17,action:3,add:[3,6,7,8,9,14,20,21,23,24,25,27],add_alarm:7,add_check:3,add_custom_stag:3,add_notif:[3,6],add_rul:6,add_security_lint_stag:3,add_source_act:3,add_stag:[3,6],add_synth_act:3,add_test_stag:3,add_wav:3,addit:[2,3,9,10,11,12,13,14,15,16,17,18,19,20,21,23,24,27],additional_role_policy_stat:[9,20,21,23,24],address:10,after:[3,11,12,16,25,27],afterward:24,against:7,alarm:[7,9,20,21,23,24,25,27],alarm_comparison_oper:7,alarm_evaluation_period:7,alarm_id:7,alarm_metr:7,alarm_threshold:7,alia:[13,15],alloc:[10,12,16,27],allocated_storag:10,allow:[10,11,12,13,14,15,16,17,18,19],allow_all_outbound:16,allow_major_version_upgrad:10,allow_public_subnet:16,alwai:[0,11,12,13,16],amazon:[2,3,10,11,12,13,14,15,16,17,18,19,22,24,25,26,27],amazons3:26,amount:[10,16,27],an:[6,8,9,10,15,20,22,25,26,27],analyz:11,ani:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],api:[3,10,11,12,13,14,15,16,17,18,19,24,27],app:3,appear:[14,25],appflow:20,appli:[0,10,11,15,17,18],applic:[2,3],approv:[0,3],ar:[0,3,8,9,10,11,12,13,14,15,16,17,18,19,22,24,25,27],arg:[0,2,3,6,7,8,9,20,21,22,23,24,25,26,27],argument:[0,2,11,12,13,16,24],arn1:0,arn2:0,arn:[0,2,3,10,11,23],artifact:[3,11],artifactori:3,ascii:10,assembl:[0,3],associ:[10,14],assum:14,athena:21,attach:0,attribut:[2,3,6,7,8,9,20,21,22,23,24,25,26,27],aurora:10,auto_delete_object:17,auto_minor_version_upgrad:10,automat:[10,15],avail:10,availability_zon:10,availabilityzon:10,avoid:3,aw:[0,2,3,4,8,10,11,12,13,14,15,16,17,18,19,22,24,25,26,27],aws_appflow:20,aws_cdk:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],aws_cloudwatch:7,aws_codestarnotif:3,aws_databrew:[11,23],aws_ddk:28,aws_ddk_cor:28,aws_dm:10,aws_ev:[6,8,9,22,25,26,27],aws_glu:24,aws_glue_alpha:[12,24],aws_iam:[3,9,12,14,16,20,21,23,24,27],aws_kinesi:[14,15,25],aws_kinesisfirehos:14,aws_kinesisfirehose_alpha:[14,25],aws_kinesisfirehose_destin:14,aws_kinesisfirehose_destinations_alpha:[14,25],aws_km:[13,14,15,21,25],aws_lambda:[16,27],aws_log:[14,25],aws_s3:[14,17,22,25],aws_sn:6,aws_sq:[16,18,27],aws_stepfunct:[9,19],aws_stepfunctions_task:21,awslab:[2,3],az:10,azuredb:10,back:14,bandit:3,base:[3,26,28],batch:27,batch_siz:27,been:13,befor:[9,13,14,20,21,23,24,25,27],being:27,best:3,between:20,block:[3,17],block_al:17,block_public_access:17,blockpublicaccess:17,bool:[2,3,6,10,13,14,16,17,19,25,27],bootstrap:2,boundari:[0,2],branch:3,broaden:0,bucket:[3,10,14,17,18,21,22,25,26],bucket_fold:10,bucket_nam:[10,17,25,26],bucket_owner_full_control:17,bucket_prop:17,bucketaccesscontrol:17,bucketencrypt:17,bucketfold:10,buffer:[14,25],buffering_interv:[14,25],buffering_s:[14,25],build:[3,9],build_state_machin:9,builder:3,c5:22,call:[3,16,27],can:[2,3,5,10,11,15,17,27],capac:[10,15],captur:26,catalog:21,catalog_nam:21,cd:3,cdc:10,cdk:[0,2,3,4,10,11,12,13,14,15,16,17,18,19,24,27],cdk_version:[3,4],cfn:3,cfncrawler:24,cfnendpoint:10,cfnflow:20,cfnjob:[11,23],cfnreplicationinst:10,cfnreplicationtask:10,chang:0,chap_sourc:22,chap_task:[10,22],charact:10,check:[3,20],choos:[10,15],chunki:3,ci:3,cicd:28,cicdpipelin:3,cli:0,cloud:[0,3,10],cloud_assembly_file_set:3,cloudform:[13,15],cloudwatch:[7,11,14,25],cloudwatch_alarm:7,cmk:[13,14],code:[0,3,16,27],codeartifact:3,codeartifact_domain:3,codeartifact_domain_own:3,codeartifact_repositori:3,codebuildstep:3,codecommit:3,codepipelinesourc:3,collect:24,com:[2,3,10,11,12,13,14,15,16,17,18,19,22,24,26,27],command:[0,3],common:[14,15,19],compar:[7,9,20,21,23,24,27],comparison:7,comparisonoper:7,complet:[10,11,12,13,14,15,16,17,18,19,24,25,27],compress:[14,25],comput:10,condit:10,config:[3,28],config_strategi:4,configstrategi:4,configur:[2,3,4,5,10,11,12,13,14,15,16,17,18,19,21],connect:[3,27],construct:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],constructor:3,consum:[6,11],contain:[0,3,4,5,10,20,21,23,24],content:18,content_based_dedupl:18,continu:3,costcent:0,crawl:24,crawler:24,crawler_nam:24,crawler_rol:24,creat:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,23,24,25,26],creation:[6,9,25],credenti:0,csv:10,custom:[3,6,14],customizingtask:[10,22],cw:[9,20,21,23,24,27],d:0,dai:13,data:[6,7,8,9,10,11,14,15,20,21,22,23,24,25,27,28],data_key_reus:18,data_output_prefix:[14,25],data_stream:[15,25],data_stream_en:25,databas:[21,24],database_nam:[21,24],databrew:[11,23],dataset:[11,23],dataset_nam:[11,23],datastag:[6,9,20,21,23,24],db2:10,dd:25,ddd:10,ddk:[2,3,5,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],dead:27,dead_letter_queu:[16,18],dead_letter_queue_en:[16,27],deadletterqueu:[18,27],debug:0,def:[7,8],default_argu:12,defaultstacksynthes:2,defin:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],definit:[9,10,22],delet:13,deliv:[14,25],deliveri:[3,14,25],delivery_delai:18,delivery_stream:[14,25],delivery_stream_nam:[14,25],deliverystream:14,depend:[10,11,12,13,14,15,16,17,18,19],deploi:[2,3],deploy:[0,3,10],dequeu:[18,27],describ:[8,9,22,25,26,27],descript:[0,6,7,8,9,12,16],destin:[10,14,22,25],destination_flow_config:20,destination_prop:14,destinationflowconfigproperti:20,destinations3backupprop:14,detail:[3,7,8],detail_typ:[7,8],determin:[4,11,16,27],dev:[0,3],devstag:3,dict:[2,4,9,20,21,23,24,27],dictionari:[4,5],differ:5,differnet:2,digit:10,dir:0,directori:0,disabl:10,disambigu:2,displai:10,distinct:10,distribut:11,dlq:[16,27],dm:[10,22],doc:[2,3,10,11,12,13,14,15,16,17,18,19,22,24,26,27],docdb:10,document:[3,10,11,12,13,14,15,16,17,18,19,22,24,27],domain:3,domain_own:3,don:10,durat:[11,12,13,14,15,16,19,20,25,27],dure:[3,10],dynamodb:10,e:[0,3],east:0,effect:25,elasticsearch:10,empti:2,enabl:[2,10,16,19,25,26,27],enable_key_rot:13,enable_profiling_metr:12,enable_statist:10,encrypt:[3,10,11,13,14,15,17,18,21,25],encryption_kei:[14,15,21,25],encryption_mod:11,encryption_opt:21,encryptionkei:15,encryptionopt:21,end:10,endpoint:10,endpoint_prop:10,endpoint_s3_prop:10,endpoint_settings_s3:10,endpoint_settings_s3_prop:10,endpoint_typ:10,endpointarn:10,endpointtyp:10,enforc:[15,17],enforce_ssl:17,engin:10,engine_nam:10,engine_vers:10,ensur:3,env:[3,4],env_config:4,environ:[0,2,3,4,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],environment_id:[2,3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],error:[14,25,27],error_output_prefix:[14,25],evalu:[14,25],even:0,event:[3,6,8,9,22,25,26,27],event_bridge_en:17,event_nam:[8,26],event_pattern:[6,8,9,22,25,26,27],event_target:6,eventbridg:[17,25,26],eventpattern:[6,7,8,9,22,25,26,27],exampl:[3,6,7,8,26],execut:[9,11,12,16,20,21,23,24,27],execute_security_lint:3,execute_test:3,exist:[3,6],exit:0,explicit:[11,12,13,16],extern:[10,15,22],external_table_definit:[10,22],externaltabledef:22,externaltabledefinit:10,f:0,factori:[10,11,12,13,14,15,16,17,18,19],fail:[9,14,20,21,23,24,25],fals:[0,3,6,10,16,17,25,27],featur:3,file:[0,3,5,10,11,12,13,14,15,16,17,18,19],firehos:[14,15,25],firehose_prop:14,flow:20,flow_execution_status_check_period:20,flow_nam:20,fn:16,folder:10,follow:[11,12,13,14,16,25],forc:0,form:4,format:[10,22],framework:0,from:[0,2,3,4,5,7,8,11,12,13,14,16,17,18,22,27],front:25,full:10,function_nam:16,function_prop:[16,27],g:[0,3],gather:27,gener:[0,15],get:[4,5,8,9,22,25,26,27],get_cdk_vers:4,get_config:5,get_env:4,get_env_config:4,get_event_pattern:[7,8,9,22,25,26,27],get_resource_config:4,get_tag:4,get_target:[6,7,8,9,22,25,27],gigabyt:10,git:0,github:[2,3],given:[4,5],glue:[12,24],glue_crawler_arg:24,glue_job_arg:24,grant:17,greater_than_threshold:7,group:[10,14,25],guid:2,gzip:[14,25],ha:13,handler:[16,27],have:[2,10,17,25],helper:9,hh24:10,hh:25,hold:[14,25],hope:3,hour:15,how:[2,3,4,22],html:[2,3,10,11,12,13,14,15,16,17,18,19,22,24,26,27],http:[2,3,10,11,12,13,14,15,16,17,18,19,22,24,26,27],hyphen:10,i:0,ialarm:7,iam:[0,9,10,14,20,21,23,24],iam_polici:0,ibucket:[14,17,22,25],ichain:9,id:[0,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],idataprocessor:14,ideliverystream:[14,25],ident:0,identifi:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],idestin:14,ifilesetproduc:3,ifunct:[16,27],ijob:[12,24],ikei:[13,14,15,25],ilayervers:27,iloggroup:[14,25],imetr:7,immedi:[14,25],implement:[7,8,26,27],implicitli:[14,25],includ:[2,3,10,11,12,13,14,15,16,17,18,19],incom:[14,25],index:28,indic:[10,13,14],infer:0,inform:[10,22],infrastructur:[3,7,8],ingest:[20,25],inherit:[2,7,8],initi:10,input:[8,9,20,21,22,23,24,25,27],instanc:[3,4,6,10],integr:3,interfac:3,interpret:22,invoc:27,invok:[8,9,14,22,25,27],io:[2,3],ip:10,iqueu:[16,18,27],irol:[12,14,16,24,27],iruletarget:[6,7,8,9,22,25,27],isecurityconfigur:12,isn:10,istream:[14,15],itop:6,its:[11,25],job:[11,12,23,24],job_arg:24,job_nam:[12,23,24],job_prop:[11,12],job_rol:24,job_role_arn:23,job_typ:23,jobexecut:[12,24],json:[3,4,5,10,11,12,13,14,15,16,17,18,19,22],jsonconfigstrategi:4,kafka:10,kb:10,kei:[2,3,5,10,11,13,14,15,18,21,25,26],key_prefix:26,key_prop:13,kind:[15,17],kinesi:[10,14,15,25],kinesis_delivery_stream_alarm_evaluation_period:25,kinesis_delivery_stream_alarm_threshold:25,kinesis_prop:15,km:[3,10,11,13,14,15,21,25],kms_key_id:10,kms_manag:18,kmskeyid:10,kwarg:[2,3,6,7,8,9,20,21,22,23,24,25,26,27],l1:24,lambda:[16,27],lambda_funct:27,lambda_function_errors_alarm_evaluation_period:27,lambda_function_errors_alarm_threshold:27,larg:22,latest:[2,3,10,22,26],layer:27,leav:2,length:[14,25],letter:[10,27],level:[2,26],link:7,lint:3,list:[0,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],load:[5,10],loc:3,local:0,locat:11,log:[0,11,14,25],log_group:[14,25],log_subscript:11,loggroup:14,lowercas:10,machin:[9,19,20,21,23,24],main:3,mainten:10,major:10,manag:[0,2,11,13,14],manual:[0,3],manual_approv:3,map:[10,22],mariadb:10,master:[14,15],match:[6,8,9,22,25,27],max:10,max_batching_window:27,max_capac:11,max_concurrent_run:12,max_event_ag:16,max_file_s:10,max_message_size_byt:18,max_receive_count:27,max_retri:[11,12],maximum:[10,11,14,19,25,27],mb:[16,27],mebibyt:[14,25],memori:[10,16,27],memory_s:[16,27],messag:[18,27],method:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],metric:7,mi:10,migrat:10,migration_typ:10,min:10,minimum:[14,25,27],minor:10,minut:27,mm:25,mode:[11,15],modifi:3,modul:28,mongodb:10,more:[3,10,11,22],move:27,multi:[2,10],multi_az:10,multipl:[2,3],must:[10,11,15,25,26,27],mutat:3,my:[3,6,7],my_glue_stag:6,my_lambda_stag:6,mypipelin:3,mysql:10,mystag:[7,8],nag:3,name:[0,2,3,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,23,24,25,26,27],need:0,neptun:10,never:0,next:6,node:11,non:3,none:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],notif:[3,6,17,25,26],notification_rul:3,notificationrul:3,notifications_top:6,notifications_topic_arn:3,number:[7,9,10,11,12,13,15,18,20,21,23,24,27],o:0,object:[10,14,16,20,25,26,27],occur:10,off:0,one:[6,11,25],onli:[0,2,10,15],opensearch:10,oper:7,option:[0,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],oracl:10,order:[11,12,13,16,25,26],other:[2,10],otherwis:[3,11,12,13,15,16],output:[0,6,9,11,21,22,23,24,25,26,27],output_bucket_nam:21,output_dir:0,output_loc:11,output_object_kei:21,outputlocationproperti:11,outputproperti:[11,23],over:[7,9,20,21,23,24,27],overal:10,overrid:[3,6,25],override_rul:6,owner:3,p:0,page:[10,28],pair:2,parallel:3,paramet:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],parquet:10,particular:15,pass:24,path:[5,10],pattern:[6,8,9,22,25,26,27],pending_window:13,perform:[0,14],period:[7,9,13,20,21,23,24,25,27],permiss:[0,2,10,14,17],permissions_boundari:0,permissions_boundary_arn:2,physic:15,pipelin:[3,28],pipeline_nam:3,polici:[0,2,3,9,17,18,20,21,23,24],policystat:[3,9,20,21,23,24],possibl:3,postgr:10,postgresql:10,practic:3,predefin:[12,17],preexist:[23,24,25,27],prefer:[11,12,13,16],preferred_maintenance_window:10,prefix:[0,2,14,22,25,26],previou:6,previous_stag:6,privat:[3,10],process:[11,27],processor:14,produc:[3,9,22,25,26,27],profil:[0,11,16],project:0,properti:[2,3,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,23,24,25,26,27],protect:2,provid:[0,4,10,14,15,25],provis:15,publicly_access:10,pull:3,pytest:3,python:[0,3,10,11,12,13,14,15,16,17,18,19,24,27],python_3_9:27,qualifi:[0,2],queri:21,query_str:21,queue:[7,16,18,27],queue_nam:18,queue_prop:18,queueencrypt:18,r:0,rai:19,rang:[10,27],read:[4,5,14],receive_message_wait_tim:18,recip:[11,23],recipeproperti:[11,23],record:[14,15,25,27],redshift:10,refer:[10,11,12,13,14,15,16,17,18,19,24,27],region:[0,4,15],releas:[2,3],remain:15,remov:[13,17,18],removal_polici:[13,17,18],removalpolici:[13,17,18],replic:[10,22],replication_inst:10,replication_instance_arn:10,replication_instance_class:[10,22],replication_instance_identifi:10,replication_instance_prop:10,replication_subnet_group_identifi:10,replication_task:10,replication_task_prop:10,replication_task_set:10,repo:[0,3,4,5],repositori:3,repository_nam:3,repres:[4,6,7,8,10,11,20,21,22,23,24,25,26,27],request:17,requir:[0,7,8,10,23],require_approv:0,reserved_concurrent_execut:16,resourc:[0,4,28],resource_identifi:10,respect:[11,12,13,16],respons:10,retain:[13,17,18],retention_period:[15,18],retri:11,retriev:27,retry_attempt:16,reus:3,role:[0,3,9,10,11,12,14,16,20,21,23,24,27],role_arn:11,role_policy_stat:3,root:[4,5,26],rotat:[3,13],rout:[9,22,25,26,27],row:10,rule:[3,6,8,9,22,25,26,27],run:[3,12,19,20,23,24],runtim:[16,27],s3:[8,10,11,14,17,21,22,25,26],s3_backup:14,s3_destin:14,s3_manag:17,s3_set:10,s3bucket:14,s3settingsproperti:10,s:[7,9,22,24,25,26,27],same:2,save:3,schema_nam:10,scm:3,scope:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],search:28,second:[11,12,14,15,16,20,25,27],secur:[0,3,10,12],security_configur:12,see:[3,10,22,24],select:[9,22,25,26,27],self:[3,6,7,8],send:[3,17,18],sensit:0,sequenc:[11,14],seri:[11,23],server:[11,14,15,17],servic:[13,17,18,19],service_access_role_arn:10,set:[0,2,3,10,14,15,25,27],sever:3,sfn:19,sh:3,shard:15,shard_count:15,should:[0,3,4,8,9,10,13,14,17,22,25,27],show:0,side:[11,14,15,17],simpl:[17,18],simplifi:9,singl:27,size:[10,11,14,25],skip:6,skip_rul:6,sn:[3,6],some:3,sourc:[0,3,8,10,14,16,22,27],source_act:3,source_bucket:22,source_bucket_prefix:22,source_endpoint_arn:10,source_flow_config:20,source_stream:14,sourceflowconfigproperti:20,specif:[0,3,6],specifi:[3,5,6,7,9,10,13,15,17,19,20,21,23,24,27],sq:[7,16,18,27],sql:21,sqlserver:10,sqs_queue:27,sqsfactori:7,sqsqueue:7,sse:11,ssl:[3,17],stack:[0,2,3,13,17,18],stage:[3,6,7,8,9,28],stage_id:3,stage_nam:3,standard:2,start:[3,21],state:[9,19,20,21,23,24],state_machin:[9,19],state_machine_failed_executions_alarm_evaluation_period:[9,20,21,23,24],state_machine_failed_executions_alarm_threshold:[9,20,21,23,24],state_machine_input:[9,20,21,23,24],state_machine_nam:19,state_machine_prop:19,state_machine_typ:19,statemachin:[9,19],statemachinetyp:19,statement:[9,20,21,23,24],statist:[7,10],statu:[11,20],step:[3,11,19,20,21,23,24],storag:[10,17],store:[10,15,24],str:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],strategi:4,stream:[14,15,25],stream_mod:15,stream_nam:15,streamencrypt:[14,15],streammod:15,string:10,structur:[0,3,9,22,25,26,27],subnet:10,suppli:[15,20,24],support:[2,3,10,11,12,13,14,15,16,17,18,19],sybas:10,synth:3,synth_act:3,synthes:[0,2,3],system:[0,10],t:[0,10],tabl:[10,22],table_map:[10,22],table_nam:10,tablemap:22,tag:[0,2,4],tag_kei:4,target:[6,8,9,10,22,24,25,26,27],target_bucket:22,target_bucket_prefix:22,target_endpoint_arn:10,targetsproperti:24,task:[10,20,22],taskproperti:20,taskset:10,templat:0,termin:[2,11,12,16,27],termination_protect:2,test:3,thei:[18,24],them:[3,9,14,22,25,26,27],thi:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],threshold:[7,9,20,21,23,24,25,27],through:15,time:[10,11,12,14,16,18,19,20,25,27],timeout:[11,12,16,19,27],topic:[3,6],trace:[16,19],tracing_en:19,transform:[11,14,23,24,25,27],trigger:[9,20,21,23,24,27],trust:0,trusted_account:0,turn:[0,17],type:[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,23,24,25,26,27],unencrypt:[14,15],union:[10,26],uniqu:10,unsuccessfulli:[18,27],up:[0,10,14],upgrad:10,url:0,us:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,22,23,25,26,27],user:3,userguid:[10,22,26],usual:6,utc:10,v1:[3,10,14,15],v2:[2,10,11,12,13,16,17,18,19,24,27],valid:[10,27],valu:[2,4,7,10,11,12,13,16,25,27],version:[0,3,4,10,17],via:[3,6,15],virtual:[0,10],visibility_timeout:[18,27],vpc:10,vpc_security_group_id:10,wait:[13,20],wave:3,weekli:10,were:18,what:[0,8,9,18,22,25,27],when:[8,9,10,12,13,14,17,18,22,25,27],where:[0,4,14,25],whether:[10,13,17,18,19],which:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],window:[10,27],wire:6,within:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],without:0,work:10,worker:12,worker_count:12,worker_typ:12,workertyp:12,workgroup:21,write:[14,25],x:19,you:[2,10,14,15,25],your:[0,3,10,14,25],yyyi:25,zone:10},titles:["aws_ddk package","aws_ddk_core package","aws_ddk_core.base.BaseStack","aws_ddk_core.cicd.CICDPipelineStack","aws_ddk_core.config.Config","aws_ddk_core.config.JSONConfigStrategy","aws_ddk_core.pipelines.DataPipeline","aws_ddk_core.pipelines.DataStage","aws_ddk_core.pipelines.EventStage","aws_ddk_core.pipelines.StateMachineStage","aws_ddk_core.resources.DMSFactory","aws_ddk_core.resources.DataBrewFactory","aws_ddk_core.resources.GlueFactory","aws_ddk_core.resources.KMSFactory","aws_ddk_core.resources.KinesisFirehoseFactory","aws_ddk_core.resources.KinesisStreamsFactory","aws_ddk_core.resources.LambdaFactory","aws_ddk_core.resources.S3Factory","aws_ddk_core.resources.SQSFactory","aws_ddk_core.resources.StepFunctionsFactory","aws_ddk_core.stages.AppFlowIngestionStage","aws_ddk_core.stages.AthenaSQLStage","aws_ddk_core.stages.DMSS3ToS3Stage","aws_ddk_core.stages.DataBrewTransformStage","aws_ddk_core.stages.GlueTransformStage","aws_ddk_core.stages.KinesisToS3Stage","aws_ddk_core.stages.S3EventStage","aws_ddk_core.stages.SqsToLambdaStage","AWS DDK API Documentation"],titleterms:{api:28,appflowingestionstag:20,athenasqlstag:21,aw:28,aws_ddk:0,aws_ddk_cor:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],base:[1,2],basestack:2,bootstrap:0,cicd:[1,3],cicdpipelinestack:3,config:[1,4,5],creat:0,data:1,databrewfactori:11,databrewtransformstag:23,datapipelin:6,datastag:7,ddk:[0,28],deploi:0,dmsfactori:10,dmss3tos3stag:22,document:28,eventstag:8,gluefactori:12,gluetransformstag:24,indic:28,init:0,jsonconfigstrategi:5,kinesisfirehosefactori:14,kinesisstreamsfactori:15,kinesistos3stag:25,kmsfactori:13,lambdafactori:16,packag:[0,1,28],pipelin:[1,6,7,8,9],repositori:0,resourc:[1,10,11,12,13,14,15,16,17,18,19],s3eventstag:26,s3factori:17,sqsfactori:18,sqstolambdastag:27,stage:[1,20,21,22,23,24,25,26,27],statemachinestag:9,stepfunctionsfactori:19,tabl:28}}) \ No newline at end of file diff --git a/release/0.6.0/how-to/custom-stage.html b/release/0.6.0/how-to/custom-stage.html new file mode 100644 index 00000000..cbc5a945 --- /dev/null +++ b/release/0.6.0/how-to/custom-stage.html @@ -0,0 +1,197 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ +

I’ll write a file to my application stack package called sns.py.

+ +
from typing import Any, Dict, List, Optional
+
+from aws_cdk.aws_events import EventPattern, IRuleTarget
+from aws_cdk.aws_events_targets import SnsTopic
+from aws_cdk.aws_sns import Topic, ITopic
+from aws_cdk.aws_kms import Key
+from aws_ddk_core.pipelines import DataStage # importing DataStage class for ddk core
+from constructs import Construct
+
+
+class SNSStage(DataStage):
+    """
+    Class that represents a SNS DDK Stage.
+    """
+
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+        **kwargs: Any,
+    ) -> None:
+        """
+        DDK SNS stage.
+        """
+        super().__init__(scope, id, **kwargs)
+
+        self._event_detail_type: str = f"{id}-event-type"
+
+        # create topic
+        self._topic = Topic(
+            self, f"{id}-topic"
+        )
+
+    @property
+    def topic(self) -> ITopic:
+        """
+        Return: Topic
+            The SNS Topic
+        """
+        return self._topic
+
+    # method to retrieve Event Pattern
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=[self._event_detail_type],
+        )
+
+    # methord to retrieve Event Rule Target
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SnsTopic(self._topic)]
+
+
+ +

Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

+ +
.....
+from ddk_app.sns import SNSStage # import my class I built above
+
+
+class DDKApplicationStack(BaseStack):
+    def __init__(
+        self, scope: Construct, id: str, environment_id: str, **kwargs: Any
+    ) -> None:
+        super().__init__(scope, id, environment_id, **kwargs)
+
+        # create my bucket
+        ddk_bucket = S3Factory.bucket(
+            self,
+            "ddk-bucket",
+            environment_id,
+        )
+        
+        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
+        s3_event_stage = S3EventStage(
+            scope=self,
+            id="ddk-s3-event",
+            environment_id=environment_id,
+            event_names=["Object Created"],
+            bucket_name=ddk_bucket.bucket_name,
+            key_prefix="raw",
+        )
+
+        # instantiate my sns stage class
+        sns_stage = SNSStage(
+            scope=self,
+            id="ddk-sns",
+            environment_id=environment_id,
+        )
+
+        # construct my DataPipeline
+        (
+            DataPipeline(scope=self, id="ddk-pipeline")
+                .add_stage(s3_event_stage)
+                .add_stage(sns_stage)
+        )    
+
+ +

Build

+

Use ddk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.0/how-to/ddk-configuration.html b/release/0.6.0/how-to/ddk-configuration.html new file mode 100644 index 00000000..3fec3146 --- /dev/null +++ b/release/0.6.0/how-to/ddk-configuration.html @@ -0,0 +1,165 @@ + + + + + + +DDK Configuration | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core supports environment specific configuration with the usage of the ddk.json file. You can leverage it to apply different configurations to each of your DDK environments.

+ +

Example

+
{
+    "environments": {
+        "dev": {
+            "account": "222222222222",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"},
+                "ddk-sqs-lambda-function": {"memory_size": 128},
+                "ddk-sqs-lambda-queue": {"retention_period": 5040}
+            },
+            "tags": {"CostCenter": "1984"}
+        },
+        "prod": {
+            "account": "333333333333",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"},
+                "ddk-sqs-lambda-function": {"memory_size": 512},
+                "ddk-sqs-lambda-queue": {"retention_period": 10080}
+            },
+            "tags": {"CostCenter": "2014"}
+        }
+    }
+}
+
+ +

For instance, based on the above configuration, the DDK Lambda function resource with id ddk-sqs-lambda-function has a memory size of 128 Mb in in the dev environment compared to 512 in the prod environment.

+ +

Implementation

+

Most DDK constructs can be configured via ddk.json. For example, the DDK BaseStack class allows the following parameters:

+
prefix: str
+qualifier: str
+termination_protection: str
+tags: Dict[str, str]
+
+

If the construct supports environment configuration, it will be listed in the documentation under Supported DDK Environment Configuration. See the API Documentation for a list of DDK constructs.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in ddk.json within the resources{} object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2},
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

Property Precedence

+

Explicit properties will always take precedence over config values.

+ +
# A DDK resource is configured with an explicit property 'shard_count'
+data_stream = KinesisStreamsFactory.data_stream(
+    self, id=f"example-data-stream", environment_id=environment_id, shard_count=10
+)
+
+

The above Kinesis Data Stream will be created with value ‘shard_count=10’ even if ddk.json has a different value

+ +

This configuration value would be overridden

+
{
+    "environments": {
+        "test": {
+            "account": "3333333333333",
+            "region": "us-east-1",
+            "resources": {
+                "example-data-stream": {"shard_count": 5},
+            }
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.0/how-to/index.html b/release/0.6.0/how-to/index.html new file mode 100644 index 00000000..6b7af0dc --- /dev/null +++ b/release/0.6.0/how-to/index.html @@ -0,0 +1,1841 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.6.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configuration + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.0/how-to/multi-account-deployment.html b/release/0.6.0/how-to/multi-account-deployment.html new file mode 100644 index 00000000..91fa982a --- /dev/null +++ b/release/0.6.0/how-to/multi-account-deployment.html @@ -0,0 +1,188 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

ddk bootstrap allows us to setup cross-account access for a DDK account.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: ddk bootstrap -e cicd -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: ddk bootstrap -e dev -p ${DEV_AWS_PROFILE} -a 111111111111
  • +
  • [test]: ddk bootstrap -e test -p ${TEST_AWS_PROFILE} -a 111111111111
  • +
+ +

The dev & test environments are bootstrapped with -a 111111111111 to setup the required cross account access for the cicd account to manage resources within them.

+ +

Configuration

+

ddk.json must be configured with all your accounts.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ +

app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

+ +
#!/usr/bin/env python3
+
+import aws_cdk as cdk
+from aws_ddk_core.cicd import CICDPipelineStack
+from ddk_app.ddk_app_stack import DDKApplicationStack
+from aws_ddk_core.config import Config
+
+
+app = cdk.App()
+
+
+class ApplicationStage(cdk.Stage):
+    def __init__(
+        self,
+        scope,
+        environment_id: str,
+        **kwargs,
+    ) -> None:
+        super().__init__(scope, f"Ddk{environment_id.title()}Application", **kwargs)
+        DDKApplicationStack(self, "DataPipeline", environment_id)
+
+
+config = Config()
+(
+    CICDPipelineStack(
+        app,
+        id="DdkCodePipeline",
+        environment_id="cicd",
+        pipeline_name="ddk-application-pipeline",
+    )
+    .add_source_action(repository_name="ddk-repository")
+    .add_synth_action()
+    .build()
+    .add_stage("dev", ApplicationStage(app, "dev", env=config.get_env("dev")))
+    .add_stage("test", ApplicationStage(app, "test", env=config.get_env("test")))
+    .synth()
+)
+
+app.synth()
+
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
ddk create-repository ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running ddk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment. +Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.0/how-to/private-artifactory.html b/release/0.6.0/how-to/private-artifactory.html new file mode 100644 index 00000000..60aed65b --- /dev/null +++ b/release/0.6.0/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for PII). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.0/how-to/spend-first-hour.html b/release/0.6.0/how-to/spend-first-hour.html new file mode 100644 index 00000000..418f8aeb --- /dev/null +++ b/release/0.6.0/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.0/how-to/understand-concepts.html b/release/0.6.0/how-to/understand-concepts.html new file mode 100644 index 00000000..fdda4fcc --- /dev/null +++ b/release/0.6.0/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK over the AWS CDK?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.0/index.html b/release/0.6.0/index.html new file mode 100644 index 00000000..c500ac27 --- /dev/null +++ b/release/0.6.0/index.html @@ -0,0 +1,1847 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.6.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configuration + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.1/api/_static/basic.css b/release/0.6.1/api/_static/basic.css new file mode 100644 index 00000000..bf18350b --- /dev/null +++ b/release/0.6.1/api/_static/basic.css @@ -0,0 +1,906 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 450px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a.brackets:before, +span.brackets > a:before{ + content: "["; +} + +a.brackets:after, +span.brackets > a:after { + content: "]"; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +dl.footnote > dt, +dl.citation > dt { + float: left; + margin-right: 0.5em; +} + +dl.footnote > dd, +dl.citation > dd { + margin-bottom: 0em; +} + +dl.footnote > dd:after, +dl.citation > dd:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dt:after { + content: ":"; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/release/0.6.1/api/_static/doctools.js b/release/0.6.1/api/_static/doctools.js new file mode 100644 index 00000000..e509e483 --- /dev/null +++ b/release/0.6.1/api/_static/doctools.js @@ -0,0 +1,326 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated === 'undefined') + return string; + return (typeof translated === 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated === 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) === 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this === '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keydown(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box, textarea, dropdown or button + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' + && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey + && !event.shiftKey) { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + break; + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + break; + } + } + }); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/release/0.6.1/api/_static/documentation_options.js b/release/0.6.1/api/_static/documentation_options.js new file mode 100644 index 00000000..1be82db5 --- /dev/null +++ b/release/0.6.1/api/_static/documentation_options.js @@ -0,0 +1,12 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: '0.6.1', + LANGUAGE: 'None', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false +}; \ No newline at end of file diff --git a/release/0.6.1/api/_static/file.png b/release/0.6.1/api/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/release/0.6.1/api/_static/jquery-3.5.1.js b/release/0.6.1/api/_static/jquery-3.5.1.js new file mode 100644 index 00000000..50937333 --- /dev/null +++ b/release/0.6.1/api/_static/jquery-3.5.1.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk package

+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.1/api/core/aws_ddk_core.html b/release/0.6.1/api/core/aws_ddk_core.html new file mode 100644 index 00000000..f36f22d6 --- /dev/null +++ b/release/0.6.1/api/core/aws_ddk_core.html @@ -0,0 +1,334 @@ + + + + + + + + + aws_ddk_core package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.1/api/genindex.html b/release/0.6.1/api/genindex.html new file mode 100644 index 00000000..713a66d3 --- /dev/null +++ b/release/0.6.1/api/genindex.html @@ -0,0 +1,224 @@ + + + + + + + Index - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+

Index

+
+
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.1/api/index.html b/release/0.6.1/api/index.html new file mode 100644 index 00000000..f3f92512 --- /dev/null +++ b/release/0.6.1/api/index.html @@ -0,0 +1,274 @@ + + + + + + + + + Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.1/api/objects.inv b/release/0.6.1/api/objects.inv new file mode 100644 index 00000000..e3035da7 --- /dev/null +++ b/release/0.6.1/api/objects.inv @@ -0,0 +1,6 @@ +# Sphinx inventory version 2 +# Project: AWS DDK +# Version: +# The remainder of this file is compressed using zlib. +xڅ +@ D~E~-&xR<($nDWZlEzKfMSEdBp8n򱱽ve䐨f㡨fׇ5Ճ-%{ Yv!{6VVL C0|Mhּ^ڹbXĠ + + + + + + Search - Contents + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ + + +
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + + + + \ No newline at end of file diff --git a/release/0.6.1/api/searchindex.js b/release/0.6.1/api/searchindex.js new file mode 100644 index 00000000..92d36fb5 --- /dev/null +++ b/release/0.6.1/api/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({docnames:["cli/aws_ddk","core/aws_ddk_core","index"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["cli/aws_ddk.rst","core/aws_ddk_core.rst","index.rst"],objects:{},objnames:{},objtypes:{},terms:{aws_ddk:2,aws_ddk_cor:2,base:2,cicd:2,config:2,data:2,index:2,modul:2,page:2,pipelin:2,resourc:2,search:2,stage:2},titles:["aws_ddk package","aws_ddk_core package","AWS DDK API Documentation"],titleterms:{api:2,aw:2,aws_ddk:0,aws_ddk_cor:1,base:1,cicd:1,config:1,data:1,ddk:2,document:2,indic:2,packag:[0,1,2],pipelin:1,resourc:1,stage:1,tabl:2}}) \ No newline at end of file diff --git a/release/0.6.1/how-to/custom-stage.html b/release/0.6.1/how-to/custom-stage.html new file mode 100644 index 00000000..a4014353 --- /dev/null +++ b/release/0.6.1/how-to/custom-stage.html @@ -0,0 +1,197 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ +

I’ll write a file to my application stack package called sns.py.

+ +
from typing import Any, Dict, List, Optional
+
+from aws_cdk.aws_events import EventPattern, IRuleTarget
+from aws_cdk.aws_events_targets import SnsTopic
+from aws_cdk.aws_sns import Topic, ITopic
+from aws_cdk.aws_kms import Key
+from aws_ddk_core.pipelines import DataStage # importing DataStage class for ddk core
+from constructs import Construct
+
+
+class SNSStage(DataStage):
+    """
+    Class that represents a SNS DDK Stage.
+    """
+
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+        **kwargs: Any,
+    ) -> None:
+        """
+        DDK SNS stage.
+        """
+        super().__init__(scope, id, **kwargs)
+
+        self._event_detail_type: str = f"{id}-event-type"
+
+        # create topic
+        self._topic = Topic(
+            self, f"{id}-topic"
+        )
+
+    @property
+    def topic(self) -> ITopic:
+        """
+        Return: Topic
+            The SNS Topic
+        """
+        return self._topic
+
+    # method to retrieve Event Pattern
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=[self._event_detail_type],
+        )
+
+    # methord to retrieve Event Rule Target
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SnsTopic(self._topic)]
+
+
+ +

Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

+ +
.....
+from ddk_app.sns import SNSStage # import my class I built above
+
+
+class DDKApplicationStack(BaseStack):
+    def __init__(
+        self, scope: Construct, id: str, environment_id: str, **kwargs: Any
+    ) -> None:
+        super().__init__(scope, id, environment_id, **kwargs)
+
+        # create my bucket
+        ddk_bucket = S3Factory.bucket(
+            self,
+            "ddk-bucket",
+            environment_id,
+        )
+        
+        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
+        s3_event_stage = S3EventStage(
+            scope=self,
+            id="ddk-s3-event",
+            environment_id=environment_id,
+            event_names=["Object Created"],
+            bucket_name=ddk_bucket.bucket_name,
+            key_prefix="raw",
+        )
+
+        # instantiate my sns stage class
+        sns_stage = SNSStage(
+            scope=self,
+            id="ddk-sns",
+            environment_id=environment_id,
+        )
+
+        # construct my DataPipeline
+        (
+            DataPipeline(scope=self, id="ddk-pipeline")
+                .add_stage(s3_event_stage)
+                .add_stage(sns_stage)
+        )    
+
+ +

Build

+

Use ddk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.1/how-to/ddk-configuration.html b/release/0.6.1/how-to/ddk-configuration.html new file mode 100644 index 00000000..b5cd1165 --- /dev/null +++ b/release/0.6.1/how-to/ddk-configuration.html @@ -0,0 +1,165 @@ + + + + + + +DDK Configuration | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core supports environment specific configuration with the usage of the ddk.json file. You can leverage it to apply different configurations to each of your DDK environments.

+ +

Example

+
{
+    "environments": {
+        "dev": {
+            "account": "222222222222",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"},
+                "ddk-sqs-lambda-function": {"memory_size": 128},
+                "ddk-sqs-lambda-queue": {"retention_period": 5040}
+            },
+            "tags": {"CostCenter": "1984"}
+        },
+        "prod": {
+            "account": "333333333333",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"},
+                "ddk-sqs-lambda-function": {"memory_size": 512},
+                "ddk-sqs-lambda-queue": {"retention_period": 10080}
+            },
+            "tags": {"CostCenter": "2014"}
+        }
+    }
+}
+
+ +

For instance, based on the above configuration, the DDK Lambda function resource with id ddk-sqs-lambda-function has a memory size of 128 Mb in in the dev environment compared to 512 in the prod environment.

+ +

Implementation

+

Most DDK constructs can be configured via ddk.json. For example, the DDK BaseStack class allows the following parameters:

+
prefix: str
+qualifier: str
+termination_protection: str
+tags: Dict[str, str]
+
+

If the construct supports environment configuration, it will be listed in the documentation under Supported DDK Environment Configuration. See the API Documentation for a list of DDK constructs.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in ddk.json within the resources{} object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2},
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

Property Precedence

+

Explicit properties will always take precedence over config values.

+ +
# A DDK resource is configured with an explicit property 'shard_count'
+data_stream = KinesisStreamsFactory.data_stream(
+    self, id=f"example-data-stream", environment_id=environment_id, shard_count=10
+)
+
+

The above Kinesis Data Stream will be created with value ‘shard_count=10’ even if ddk.json has a different value

+ +

This configuration value would be overridden

+
{
+    "environments": {
+        "test": {
+            "account": "3333333333333",
+            "region": "us-east-1",
+            "resources": {
+                "example-data-stream": {"shard_count": 5},
+            }
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.1/how-to/index.html b/release/0.6.1/how-to/index.html new file mode 100644 index 00000000..a692a464 --- /dev/null +++ b/release/0.6.1/how-to/index.html @@ -0,0 +1,1841 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.6.1 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configuration + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.1/how-to/multi-account-deployment.html b/release/0.6.1/how-to/multi-account-deployment.html new file mode 100644 index 00000000..4a218e28 --- /dev/null +++ b/release/0.6.1/how-to/multi-account-deployment.html @@ -0,0 +1,188 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

ddk bootstrap allows us to setup cross-account access for a DDK account.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: ddk bootstrap -e cicd -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: ddk bootstrap -e dev -p ${DEV_AWS_PROFILE} -a 111111111111
  • +
  • [test]: ddk bootstrap -e test -p ${TEST_AWS_PROFILE} -a 111111111111
  • +
+ +

The dev & test environments are bootstrapped with -a 111111111111 to setup the required cross account access for the cicd account to manage resources within them.

+ +

Configuration

+

ddk.json must be configured with all your accounts.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ +

app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

+ +
#!/usr/bin/env python3
+
+import aws_cdk as cdk
+from aws_ddk_core.cicd import CICDPipelineStack
+from ddk_app.ddk_app_stack import DDKApplicationStack
+from aws_ddk_core.config import Config
+
+
+app = cdk.App()
+
+
+class ApplicationStage(cdk.Stage):
+    def __init__(
+        self,
+        scope,
+        environment_id: str,
+        **kwargs,
+    ) -> None:
+        super().__init__(scope, f"Ddk{environment_id.title()}Application", **kwargs)
+        DDKApplicationStack(self, "DataPipeline", environment_id)
+
+
+config = Config()
+(
+    CICDPipelineStack(
+        app,
+        id="DdkCodePipeline",
+        environment_id="cicd",
+        pipeline_name="ddk-application-pipeline",
+    )
+    .add_source_action(repository_name="ddk-repository")
+    .add_synth_action()
+    .build()
+    .add_stage("dev", ApplicationStage(app, "dev", env=config.get_env("dev")))
+    .add_stage("test", ApplicationStage(app, "test", env=config.get_env("test")))
+    .synth()
+)
+
+app.synth()
+
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
ddk create-repository ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running ddk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment. +Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.1/how-to/private-artifactory.html b/release/0.6.1/how-to/private-artifactory.html new file mode 100644 index 00000000..bae759a6 --- /dev/null +++ b/release/0.6.1/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for PII). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.1/how-to/spend-first-hour.html b/release/0.6.1/how-to/spend-first-hour.html new file mode 100644 index 00000000..f4cfde3a --- /dev/null +++ b/release/0.6.1/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.1/how-to/understand-concepts.html b/release/0.6.1/how-to/understand-concepts.html new file mode 100644 index 00000000..5cdd19e9 --- /dev/null +++ b/release/0.6.1/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK over the AWS CDK?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.1/index.html b/release/0.6.1/index.html new file mode 100644 index 00000000..9dd21d82 --- /dev/null +++ b/release/0.6.1/index.html @@ -0,0 +1,1847 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.6.1 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configuration + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.2/api/_static/basic.css b/release/0.6.2/api/_static/basic.css new file mode 100644 index 00000000..bf18350b --- /dev/null +++ b/release/0.6.2/api/_static/basic.css @@ -0,0 +1,906 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 450px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a.brackets:before, +span.brackets > a:before{ + content: "["; +} + +a.brackets:after, +span.brackets > a:after { + content: "]"; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +dl.footnote > dt, +dl.citation > dt { + float: left; + margin-right: 0.5em; +} + +dl.footnote > dd, +dl.citation > dd { + margin-bottom: 0em; +} + +dl.footnote > dd:after, +dl.citation > dd:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dt:after { + content: ":"; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/release/0.6.2/api/_static/doctools.js b/release/0.6.2/api/_static/doctools.js new file mode 100644 index 00000000..e509e483 --- /dev/null +++ b/release/0.6.2/api/_static/doctools.js @@ -0,0 +1,326 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated === 'undefined') + return string; + return (typeof translated === 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated === 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) === 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this === '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keydown(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box, textarea, dropdown or button + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' + && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey + && !event.shiftKey) { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + break; + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + break; + } + } + }); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/release/0.6.2/api/_static/documentation_options.js b/release/0.6.2/api/_static/documentation_options.js new file mode 100644 index 00000000..977fc65f --- /dev/null +++ b/release/0.6.2/api/_static/documentation_options.js @@ -0,0 +1,12 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: '0.6.2', + LANGUAGE: 'None', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false +}; \ No newline at end of file diff --git a/release/0.6.2/api/_static/file.png b/release/0.6.2/api/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/release/0.6.2/api/_static/jquery-3.5.1.js b/release/0.6.2/api/_static/jquery-3.5.1.js new file mode 100644 index 00000000..50937333 --- /dev/null +++ b/release/0.6.2/api/_static/jquery-3.5.1.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk package

+
+

ddk

+

AWS DDK CLI.

+
ddk [OPTIONS] COMMAND [ARGS]...
+
+
+

Options

+
+
+--version
+

Show the version and exit.

+
+
+
+--debug, --no-debug
+

Turn debug logging on/off.

+
+
Default
+

False

+
+
+
+
+

bootstrap

+

Bootstrap the AWS account with DDK resources.

+
ddk bootstrap [OPTIONS]
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+--prefix <prefix>
+

The prefix to resource names.

+
+
Default
+

ddk

+
+
+
+
+
+--qualifier <qualifier>
+

The CDK bootstrap qualifier.

+
+
+
+-a, --trusted-accounts <trusted_accounts>
+

List of trusted AWS accounts to perform deployments (e.g. -a 111111111111 -a 222222222222).

+
+
+
+-i, --iam-policies <iam_policies>
+

List of IAM managed policy ARNs that should be attached to the role performing deployments. +(e.g. -i arn1 -i arn2)

+
+
+
+--permissions-boundary <permissions_boundary>
+

IAM managed permissions boundary policy ARN that should be attached to the role performing deployments.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the stack (e.g -t CostCenter 1984 -t Framework DDK).

+
+
+
+

create-repository

+
+

Create a code repository from the source system provider.

+

NAME is the name of the repository.

+
+
ddk create-repository [OPTIONS] NAME
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+-r, --region <region>
+

AWS Region name (e.g. us-east-1). If None, it will be inferred.

+
+
+
+-d, --description <description>
+

The description of the repository.

+
+
+
+-t, --tags <tags>
+

List of tags to apply to the repository (e.g -t CostCenter 1984 -t Framework DDK).

+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+

deploy

+

Deploy DDK stacks to AWS account.

+
ddk deploy [OPTIONS] [STACKS]
+
+
+

Options

+
+
+-p, --profile <profile>
+

Use a specific profile from your AWS credentials file.

+
+
+
+--require-approval <require_approval>
+

What security-sensitive changes need manual approval.

+
+
Options
+

never | any-change | broadening

+
+
+
+
+
+-f, --force
+

Always deploy stack even if templates are identical.

+
+
+
+-o, --output-dir <output_dir>
+

Directory where cloud assembly is synthesized.

+
+

Arguments

+
+
+STACKS
+

Optional argument

+
+
+
+

init

+
+

Create the local structure for a new AWS DDK Python project.

+

NAME is the name of the project.

+
+
ddk init [OPTIONS] NAME
+
+
+

Options

+
+
+-e, --environment <environment>
+

Required The id of the environment.

+
+
Default
+

dev

+
+
+
+
+
+-t, --template <template>
+

A directory containing a project template directory, or a URL to a git repository

+
+
+
+--generate-only
+

If true, only generates project files, without setting up a git repo or a virtual environment

+
+
Default
+

False

+
+
+
+

Arguments

+
+
+NAME
+

Required argument

+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/aws_ddk_core.html b/release/0.6.2/api/core/aws_ddk_core.html new file mode 100644 index 00000000..7c5f6f54 --- /dev/null +++ b/release/0.6.2/api/core/aws_ddk_core.html @@ -0,0 +1,472 @@ + + + + + + + + + aws_ddk_core package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core package

+ +
+

Base

+
++++ + + + + + +

BaseStack(*args, **kwargs)

Base Stack to inherit from.

+
+
+

CICD

+
++++ + + + + + +

CICDPipelineStack(*args, **kwargs)

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+
+
+

Config

+
++++ + + + + + + + + +

Config([config_strategy])

Class used to read configuration with a configurable strategy.

JSONConfigStrategy([path])

Read config from ddk.json in the root of the repo.

+
+
+

Data Pipelines

+
++++ + + + + + + + + + + + + + + +

DataPipeline(*args, **kwargs)

Class that represents a data pipeline.

DataStage(*args, **kwargs)

Class that represents a data stage within a data pipeline.

EventStage(*args, **kwargs)

Class that represents an event stage within a data pipeline.

StateMachineStage(*args, **kwargs)

DataStage with helper methods to simplify StateMachine stages creation.

+
+
+

Resources

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

DataBrewFactory()

Class factory to create and configure DataBrew DDK resources, including Jobs.

DMSFactory()

Class factory create and configure DMS DDK resources, including endpoints, replication tasks and replication instances.

GlueFactory()

Class factory to create and configure Glue DDK resources, including Jobs.

KinesisFirehoseFactory()

Class factory create and configure Kinesis DDK resources, including Delivery Streams.

KinesisStreamsFactory()

Class factory create and configure Kinesis DDK resources, including Data Streams.

KMSFactory()

Class factory to create and configure Key Management Service DDK resources, including Keys.

LambdaFactory()

Class factory to create and configure Lambda DDK resources, including Functions.

S3Factory()

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

SQSFactory()

Class factory create and configure Simple Queue Service DDK resources, including Queues.

StepFunctionsFactory()

Class factory create and configure AWS Step Functions Service DDK resources, including State Machines.

+
+
+aws_ddk_core.resources.pandas_sdk_layer(scope: constructs.Construct, id: Optional[str] = 'pandas-sdk-layer', environment_id: Optional[str] = None, region: Optional[str] = None, version: Optional[str] = None) aws_cdk.aws_lambda.LayerVersion
+

Retrieves AWS SDK for pandas managed Lambda Layer.

+
+
Parameters
+
    +
  • scope (Construct) – CDK stack.

  • +
  • id (Optional[str]) – Logical id of lambda layer resource in scope.

  • +
  • environment_id (Optional[str]) – DDK environment to pull value from +when using DDK config to specify layer.

  • +
  • region (Optional[str]) – Name of region to lookup in. Defaults to region of CDK stack.

  • +
  • version (Optional[str]) – Version of AWS SDK for pandas layer i.e. ‘2.17.0’. +If no version is specified the latest version +in the region will be returned

  • +
+
+
Return type
+

lmbda.LayerVersion

+
+
+
+
+
+

Data Stages

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + +

AppFlowIngestionStage(*args, **kwargs)

Class that represents an AppFlow DDK DataStage.

AthenaSQLStage(*args, **kwargs)

Class that represents a Athena SQL DDK DataStage.

DataBrewTransformStage(*args, **kwargs)

Class that represents a DataBrew Transform DDK DataStage.

DMSS3ToS3Stage(*args, **kwargs)

Class that represents a DMS to S3 to S3 Replication DDK Stage.

GlueTransformStage(*args, **kwargs)

Class that represents a Glue Transform DDK DataStage.

KinesisToS3Stage(*args, **kwargs)

Class that represents a Firehose to S3 Ingestion DDK Stage.

S3EventStage(*args, **kwargs)

Class that represents an S3 Event DDK Stage.

SqsToLambdaStage(*args, **kwargs)

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.base.BaseStack.html b/release/0.6.2/api/core/stubs/aws_ddk_core.base.BaseStack.html new file mode 100644 index 00000000..78b1b432 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.base.BaseStack.html @@ -0,0 +1,442 @@ + + + + + + + + + aws_ddk_core.base.BaseStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.base.BaseStack

+
+
+class aws_ddk_core.base.BaseStack(*args: Any, **kwargs)
+

Base Stack to inherit from.

+

Includes configurable termination protection, synthesizer, permissions boundary and tags.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, termination_protection: Optional[bool] = None, permissions_boundary_arn: Optional[str] = None, synthesizer: Optional[aws_cdk.DefaultStackSynthesizer] = None, **kwargs: Any) None
+

Create a stack.

+

Includes termination protection settings, multi-level (application, environment, and stack-level) tags, +and permissions boundary.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stack

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • termination_protection (str) – Stack termination protection

  • +
  • permissions_boundary_arn (Optional[str]) – ARN of the permissions boundary managed policy

  • +
  • synthesizer (Optional[DefaultStackSynthesizer]) – CDK synthesizer configuration +https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html#bootstrapping-synthesizers

  • +
  • kwargs (Any) – Additional arguments

  • +
  • Configuration (Supported DDK Environment) –

  • +
  • https (//awslabs.github.io/aws-ddk/release/latest/how-to/ddk-configuration.html) –

  • +
  • ----------

  • +
  • prefix (str) – Prefix for stack identifier.

  • +
  • qualifier (str) – Qualifier to disambiguate multiple environments in the same account. +You can use this and leave the other naming properties empty if you +have deployed the bootstrap environment with standard names but only differnet qualifiers

  • +
  • termination_protection – If this value is set, stack termination protection will be enabled.

  • +
  • tags (Dict[str, str]) – Tag key/value pairs.

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Create a stack.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_metadata(key, value)

Adds an arbitary key-value pair, with information you want to record about the stack.

add_transform(transform)

Add a Transform to this stack.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

bundling_required

Indicates whether the stack requires bundling or not.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html b/release/0.6.2/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html new file mode 100644 index 00000000..3089d844 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.cicd.CICDPipelineStack.html @@ -0,0 +1,700 @@ + + + + + + + + + aws_ddk_core.cicd.CICDPipelineStack - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.cicd.CICDPipelineStack

+
+
+class aws_ddk_core.cicd.CICDPipelineStack(*args: Any, **kwargs)
+

Create a stack that contains DDK Continuous Integration and Delivery (CI/CD) pipeline.

+

The pipeline is based on CDK self-mutating pipeline but includes +several DDK-specific features, including:

+
    +
  • Ability to configure some properties via JSON config e.g. manual approvals for application stages

  • +
  • Defaults for source/synth - CodeCommit & cdk synth, with ability to override them

  • +
  • Ability to connect to private artifactory to pull artifacts from at synth

  • +
  • Security best practices - ensures pipeline buckets block non-SSL, and are KMS-encrypted with rotated keys

  • +
  • Builder interface to avoid chunky constructor methods

  • +
+

The user should be able to reuse the pipeline in multiple DDK applications hoping to save LOC.

+

Example:

+
pipeline = (
+    CICDPipelineStack(
+        app,
+        id="my-pipeline",
+        environment_id="cicd",
+        pipeline_name="MyPipeline",
+    )
+    .add_source_action(repository_name="my-repo")
+    .add_synth_action()
+    .build()
+    .add_checks()
+    .add_stage("dev", DevStage(app, "dev"))
+    .synth()
+    .add_notifications()
+)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, pipeline_name: Optional[str] = None, env: Optional[aws_cdk.Environment] = None, pipeline_args: Optional[Dict[str, Any]] = {}, **kwargs: Any) None
+

Start building Code Pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • environment_id (str) – Identifier of the environment that will contain the pipeline

  • +
  • pipeline_name (Optional[str]) – Name of the pipeline

  • +
  • env (Optional[Environment]) – Environment

  • +
  • pipeline_args (Optional[Dict[str,Any]]) – Additional attributes. +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.pipelines/CodePipeline.html

  • +
  • kwargs (Any) – Additional pipeline settings.

  • +
  • Configuration (Supported DDK Environment) –

  • +
  • https (//awslabs.github.io/aws-ddk/release/latest/how-to/ddk-configuration.html) –

  • +
  • ----------

  • +
  • cdk_version (str) – Version of the AWS CDK to use in the deployment pipeline.

  • +
  • repository (str) – Name of the CodeArtifact repository to pull artifacts from.

  • +
  • domain (str) – Name of the CodeArtifact domain.

  • +
  • domain_owner (str) – CodeArtifact domain owner account.

  • +
  • manual_approvals (str) – Configure manual approvals if this parameter is set.

  • +
  • notifications_topic_arn (str) – Existing SNS topic arn to use for pipeline notifications.

  • +
  • execute_security_lint (str) – Configure security lint stage of pipeline if this parameter is set.

  • +
  • execute_tests (str) – Configure tests stage of pipeline if this parameter is set.

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

Start building Code Pipeline.

add_checks()

Add checks to the pipeline (e.g.

add_custom_stage(stage_name, steps)

Add custom stage to the pipeline.

add_dependency(target[, reason])

Add a dependency between this stack and another stack.

add_metadata(key, value)

Adds an arbitary key-value pair, with information you want to record about the stack.

add_notifications([notification_rule])

Add pipeline notifications.

add_security_lint_stage([stage_name, ...])

Add linting - cfn-nag, and bandit.

add_source_action([repository_name, branch, ...])

Add source action.

add_stage(stage_id, stage[, manual_approvals])

Add application stage to the CICD pipeline.

add_synth_action([codeartifact_repository, ...])

Add synth action.

add_test_stage([stage_name, ...])

Add test - e.g.

add_transform(transform)

Add a Transform to this stack.

add_wave(stage_id, stages[, manual_approvals])

Add multiple application stages in parallel to the CICD pipeline.

build()

Build the pipeline structure.

export_value(exported_value, *[, name])

Create a CloudFormation Export for a value.

format_arn(*, resource, service[, account, ...])

Creates an ARN from components.

get_logical_id(element)

Allocates a stack-unique CloudFormation-compatible logical identity for a specific resource.

is_construct(x)

Checks if x is a construct.

is_stack(x)

Return whether the given object is a Stack.

of(construct)

Looks up the first stack scope in which construct is defined.

regional_fact(fact_name[, default_value])

Look up a fact value for the given fact for the region of this stack.

rename_logical_id(old_id, new_id)

Rename a generated logical identities.

report_missing_context_key(*, key, props, ...)

Indicate that a context key was expected.

resolve(obj)

Resolve a tokenized value in the context of the current stack.

split_arn(arn, arn_format)

Splits the provided ARN into its components.

synth()

Synthesize the pipeline.

to_json_string(obj[, space])

Convert an object, potentially containing tokens, to a JSON string.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

account

The AWS account into which this stack will be deployed.

artifact_id

The ID of the cloud assembly artifact for this stack.

availability_zones

Returns the list of AZs that are available in the AWS environment (account/region) associated with this stack.

bundling_required

Indicates whether the stack requires bundling or not.

dependencies

Return the stacks this stack depends on.

environment

The environment coordinates in which this stack is deployed.

nested

Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

nested_stack_parent

If this is a nested stack, returns it's parent stack.

nested_stack_resource

If this is a nested stack, this represents its AWS::CloudFormation::Stack resource.

node

The tree node.

notification_arns

Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

partition

The partition in which this stack is defined.

region

The AWS region into which this stack will be deployed (e.g.

stack_id

The ID of the stack.

stack_name

The concrete CloudFormation physical stack name.

synthesizer

Synthesis method for this stack.

tags

Tags to be applied to the stack.

template_file

The name of the CloudFormation template file emitted to the output directory during synthesis.

template_options

Options for CloudFormation template (like version, transform, description).

termination_protection

Whether termination protection is enabled for this stack.

url_suffix

The Amazon domain suffix for the region in which this stack is defined.

+
+
+add_checks() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add checks to the pipeline (e.g. linting, security, tests…).

+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_custom_stage(stage_name: str, steps: List[aws_cdk.pipelines.Step]) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add custom stage to the pipeline.

+
+
Parameters
+
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_notifications(notification_rule: Optional[aws_cdk.aws_codestarnotifications.NotificationRule] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add pipeline notifications. Create notification rule that sends events to the specified SNS topic.

+
+
Parameters
+

notification_rule (Optional[NotificationRule]) – Override notification rule

+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_security_lint_stage(stage_name: Optional[str] = None, cloud_assembly_file_set: Optional[aws_cdk.pipelines.IFileSetProducer] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add linting - cfn-nag, and bandit.

+
+
Parameters
+
    +
  • stage_name (Optional[str]) – Name of the stage

  • +
  • cloud_assembly_file_set (Optional[IFileSetProducer]) – Cloud assembly file set producer

  • +
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipeline

+
+
+
+
+
+add_source_action(repository_name: Optional[str] = None, branch: str = 'main', source_action: Optional[aws_cdk.pipelines.CodePipelineSource] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add source action.

+
+
Parameters
+
    +
  • repository_name (Optional[str]) – Name of the SCM repository

  • +
  • branch (str) – Branch of the SCM repository

  • +
  • source_action (Optional[CodePipelineSource]) – Override source action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_stage(stage_id: str, stage: aws_cdk.Stage, manual_approvals: Optional[bool] = False) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add application stage to the CICD pipeline. This stage deploys your application infrastructure.

+
+
Parameters
+
    +
  • stage_id (str) – Identifier of the stage

  • +
  • stage (Stage) – Application stage instance

  • +
  • manual_approvals (Optional[bool]) – Configure manual approvals. False by default

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_synth_action(codeartifact_repository: Optional[str] = None, codeartifact_domain: Optional[str] = None, codeartifact_domain_owner: Optional[str] = None, role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, synth_action: Optional[aws_cdk.pipelines.CodeBuildStep] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add synth action. During synth can connect and pull artifacts from a private artifactory.

+
+
Parameters
+
    +
  • codeartifact_repository (Optional[str]) – Name of the CodeArtifact repository to pull artifacts from

  • +
  • codeartifact_domain (Optional[str]) – Name of the CodeArtifact domain

  • +
  • codeartifact_domain_owner (Optional[str]) – CodeArtifact domain owner account

  • +
  • role_policy_statements (Optional[List[PolicyStatement]]) – Additional policies to add to the synth action role

  • +
  • synth_action (Optional[CodeBuildStep]) – Override synth action

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_test_stage(stage_name: Optional[str] = None, cloud_assembly_file_set: Optional[aws_cdk.pipelines.IFileSetProducer] = None, commands: Optional[List[str]] = None) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add test - e.g. pytest.

+
+
Parameters
+
    +
  • stage_name (Optional[str]) – Name of the stage

  • +
  • cloud_assembly_file_set (Optional[IFileSetProducer]) – Cloud assembly file set

  • +
  • commands (Optional[List[str]]) – Additional commands to run in the test. Defaults to “./test.sh” otherwise

  • +
+
+
Returns
+

pipeline – CICD pipeline

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+add_wave(stage_id: str, stages: List[aws_cdk.Stage], manual_approvals: Optional[bool] = False) aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Add multiple application stages in parallel to the CICD pipeline.

+
+
Parameters
+
    +
  • stage_id (str) – Identifier of the wave

  • +
  • stages (List[Stage]) – Application stage instance

  • +
  • manual_approvals (Optional[bool]) – Configure manual approvals. False by default

  • +
+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+build() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Build the pipeline structure.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+synth() aws_ddk_core.cicd.pipeline.CICDPipelineStack
+

Synthesize the pipeline.

+

It is not possible to modify the pipeline after calling this method.

+
+
Returns
+

pipeline – CICDPipelineStack

+
+
Return type
+

CICDPipelineStack

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.config.Config.html b/release/0.6.2/api/core/stubs/aws_ddk_core.config.Config.html new file mode 100644 index 00000000..01e01239 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.config.Config.html @@ -0,0 +1,395 @@ + + + + + + + + + aws_ddk_core.config.Config - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.Config

+
+
+class aws_ddk_core.config.Config(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None)
+

Class used to read configuration with a configurable strategy.

+
+
+__init__(config_strategy: Optional[aws_ddk_core.config.config.ConfigStrategy] = None) None
+

Create Config class instance.

+

Provide ConfigStrategy to determine how/where the config should be read from. +Reads from ddk.json in the root of the repo by default.

+
+
Parameters
+

config_strategy (Optional[ConfigStrategy]) – Strategy that determines how and where to read config from. JSONConfigStrategy by default

+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__([config_strategy])

Create Config class instance.

get_cdk_version()

Return CDK version.

get_env(environment_id)

Get environment representing AWS account and region.

get_env_config(environment_id)

Get environment config.

get_resource_config(environment_id, id)

Get resource config of the resource with given id in the environment with the given environment id.

get_tags()

Return tags.

+
+
+get_cdk_version() Optional[str]
+

Return CDK version.

+
+
Returns
+

cdk_version – CDK version

+
+
Return type
+

Optional[str]

+
+
+
+
+
+get_env(environment_id: str) aws_cdk.Environment
+

Get environment representing AWS account and region.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env – CDK Environment(account, region)

+
+
Return type
+

Environment

+
+
+
+
+
+get_env_config(environment_id: str) Dict[str, Any]
+

Get environment config.

+
+
Parameters
+

environment_id (str) – Identifier of the environment

+
+
Returns
+

env_config – Dictionary that contains config for the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_resource_config(environment_id: str, id: str) Dict[str, Any]
+

Get resource config of the resource with given id in the environment with the given environment id.

+
+
Parameters
+
    +
  • environment_id (str) – Identifier of the environment

  • +
  • id (str) – Identifier of the resource

  • +
+
+
Returns
+

config – Dictionary that contains config for the given resource in the given environment

+
+
Return type
+

Dict[str, Any]

+
+
+
+
+
+get_tags() Dict[str, str]
+

Return tags.

+
+
Returns
+

tags – Dict of a form {‘tag_key’: ‘value’}

+
+
Return type
+

Dict[str, str]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html b/release/0.6.2/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html new file mode 100644 index 00000000..49a63b87 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.config.JSONConfigStrategy.html @@ -0,0 +1,321 @@ + + + + + + + + + aws_ddk_core.config.JSONConfigStrategy - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config.JSONConfigStrategy

+
+
+class aws_ddk_core.config.JSONConfigStrategy(path: str = './ddk.json')
+

Read config from ddk.json in the root of the repo.

+

Can be used to read from any JSON file by specifying a different path.

+
+
+__init__(path: str = './ddk.json') None
+

Load the JSON file in the given path.

+
+
Parameters
+

path (str) – Path to the JSON config, ‘./ddk.json’ by default

+
+
+
+

Methods

+
++++ + + + + + + + + +

__init__([path])

Load the JSON file in the given path.

get_config(key)

Get config by key.

+
+
+get_config(key: str) Any
+

Get config by key.

+
+
Parameters
+

key (str) – Key

+
+
Returns
+

config – Dictionary that contains the configuration

+
+
Return type
+

Any

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html b/release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html new file mode 100644 index 00000000..6f016238 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.DataPipeline.html @@ -0,0 +1,401 @@ + + + + + + + + + aws_ddk_core.pipelines.DataPipeline - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.DataPipeline

+
+
+class aws_ddk_core.pipelines.DataPipeline(*args: Any, **kwargs)
+

Class that represents a data pipeline. Used to wire stages via Event Rules. For example:

+
DataPipeline(self, id, description="My pipeline")
+    .add_stage(my_lambda_stage)
+    .add_stage(my_glue_stage)
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a data pipeline.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the pipeline

  • +
  • name (Optional[str]) – Name of the pipeline

  • +
  • description (Optional[str]) – Description of the pipeline

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a data pipeline.

add_notifications([notifications_topic])

Create a rule that matches specificed event pattern with the specified target.

add_rule([id, event_pattern, event_targets, ...])

Create a rule that matches specificed event pattern with the specified target.

add_stage(stage[, skip_rule, override_rule, ...])

Add a stage to the data pipeline.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+add_notifications(notifications_topic: Optional[aws_cdk.aws_sns.ITopic] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+

notifications_topic (Optional[ITopic]) – Existing SNS Topic to consume notifications with.

+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+add_rule(id: Optional[str] = None, event_pattern: Optional[aws_cdk.aws_events.EventPattern] = None, event_targets: Optional[List[aws_cdk.aws_events.IRuleTarget]] = None, override_rule: Optional[aws_cdk.aws_events.Rule] = None, rule_name: Optional[str] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Create a rule that matches specificed event pattern with the specified target.

+
+
Parameters
+
    +
  • id (Optional[str]) – Identifier of the rule

  • +
  • event_pattern (Optional[EventPattern]) – Event pattern of the rule

  • +
  • event_targets (Optional[List[IRuleTarget]]) – Target of the rule - usually previous_stage.get_targets()

  • +
  • override_rule (Optional[Rule]) – Custom rule

  • +
  • rule_name (Optional[str]) – Name of Event Rule. +Default - Auto-generated by CloudFormation

  • +
+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+add_stage(stage: aws_ddk_core.pipelines.stage.DataStage, skip_rule: bool = False, override_rule: Optional[aws_cdk.aws_events.Rule] = None, rule_name: Optional[str] = None) aws_ddk_core.pipelines.pipeline.DataPipeline
+

Add a stage to the data pipeline.

+

By default, creates an Event Rule that matches output event pattern of the previous stage +with targets of the next one.

+
+
Parameters
+
    +
  • stage (DataStage) – Stage instance

  • +
  • skip_rule (bool) – Skip creation of the default rule

  • +
  • override_rule (Optional[Rule]) – Override the default rule by the rule specified in this parameter

  • +
  • rule_name (Optional[str]) – Name of Event Rule. +Default - Auto-generated by CloudFormation

  • +
+
+
Returns
+

pipeline – DataPipeline

+
+
Return type
+

DataPipeline

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.DataStage.html b/release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.DataStage.html new file mode 100644 index 00000000..0af7608e --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.DataStage.html @@ -0,0 +1,400 @@ + + + + + + + + + aws_ddk_core.pipelines.DataStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.DataStage

+
+
+class aws_ddk_core.pipelines.DataStage(*args: Any, **kwargs)
+

Class that represents a data stage within a data pipeline.

+

To create a DataStage, inherit from this class, add infrastructure required by the stage, and implement +get_event_pattern and get_targets methods. For example:

+
class MyStage(DataStage):
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+    ) -> None:
+        super().__init__(scope, id)
+
+        # Define stage infrastructure, for example a queue
+        self._queue = SQSFactory.queue(
+            self,
+            id,
+            environment_id,
+        )
+
+    @property
+    def queue(self) -> Queue:
+        '''
+        Return: Queue
+            The SQS queue
+        '''
+        return self._queue
+
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=["my-detail-type"],
+        )
+
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SqsQueue(self._queue)]
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None, alarms_enabled: Optional[bool] = True) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
  • alarms_enabled (Optional[bool]) – Enable/Disable all alarms in a DataStage. +Default - True

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description, ...])

Create a stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

+
+
+add_alarm(alarm_id: str, alarm_metric: aws_cdk.aws_cloudwatch.IMetric, alarm_comparison_operator: Optional[aws_cdk.aws_cloudwatch.ComparisonOperator] = ComparisonOperator.GREATER_THAN_THRESHOLD, alarm_evaluation_periods: Optional[int] = 1, alarm_threshold: Optional[int] = 5) aws_ddk_core.pipelines.stage.DataStage
+

Add a CloudWatch alarm for the Data Stage

+
+
Parameters
+
    +
  • alarm_id (str) – Identifier of the CloudWatch Alarm.

  • +
  • alarm_metric (IMetric) – Metric to use for creating the Stage’s CloudWatch Alarm.

  • +
  • alarm_comparison_operator (Optional[ComparisonOperator]) – Comparison operator to use for alarm. GREATER_THAN_THRESHOLD by default.

  • +
  • alarm_threshold (Optional[int]) – The value against which the specified alarm statistic is compared. 5 by default.

  • +
  • alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. 1 by default.

  • +
+
+
+
+
+
+property cloudwatch_alarms: List[Optional[aws_cdk.aws_cloudwatch.IAlarm]]
+

List[Alarm] +List of CloudWatch Alarms linked to the stage

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.EventStage.html b/release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.EventStage.html new file mode 100644 index 00000000..a36ad517 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.EventStage.html @@ -0,0 +1,370 @@ + + + + + + + + + aws_ddk_core.pipelines.EventStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.EventStage

+
+
+class aws_ddk_core.pipelines.EventStage(*args: Any, **kwargs)
+

Class that represents an event stage within a data pipeline.

+

To create an EventStage, inherit from this class, add infrastructure required by the stage, and implement +get_event_pattern method. For example:

+
class MyStage(EventStage):
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+    ) -> None:
+        super().__init__(scope, id)
+
+        # Define stage infrastructure, for example an S3 event pattern
+        self._event_pattern = EventPattern(
+            source=["aws.s3"],
+            detail=detail,
+            detail_type=event_names,
+        )
+
+    @property
+    def event_pattern(self) -> EventPattern:
+        return self._event_pattern
+
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return self._event_pattern
+
+
+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description])

Create a stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + +

node

The tree node.

+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html b/release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html new file mode 100644 index 00000000..e70c8c46 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html @@ -0,0 +1,403 @@ + + + + + + + + + aws_ddk_core.pipelines.StateMachineStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines.StateMachineStage

+
+
+class aws_ddk_core.pipelines.StateMachineStage(*args: Any, **kwargs)
+

DataStage with helper methods to simplify StateMachine stages creation.

+
+
+__init__(scope: constructs.Construct, id: str, name: Optional[str] = None, description: Optional[str] = None, alarms_enabled: Optional[bool] = True) None
+

Create a stage.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • name (Optional[str]) – Name of the stage

  • +
  • description (Optional[str]) – Description of the stage

  • +
  • alarms_enabled (Optional[bool]) – Enable/Disable all alarms in a DataStage. +Default - True

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id[, name, description, ...])

Create a stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

state_machine

StateMachine The state machine

+
+
+build_state_machine(id: str, environment_id: str, definition: Optional[aws_cdk.aws_stepfunctions.IChainable], state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1, **kwargs: Any) None
+

Build state machine.

+
+
Parameters
+
    +
  • id (str) – Identifier of the state machine

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • definition (Optional[IChainable]) – State machine definition

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
  • kwargs (Any) – Additional paramaters to pass to State Machine creation.

  • +
+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property state_machine: aws_cdk.aws_stepfunctions.StateMachine
+

StateMachine +The state machine

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.resources.DMSFactory.html b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.DMSFactory.html new file mode 100644 index 00000000..0f9869d6 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.DMSFactory.html @@ -0,0 +1,473 @@ + + + + + + + + + aws_ddk_core.resources.DMSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.DMSFactory

+
+
+class aws_ddk_core.resources.DMSFactory
+

Class factory create and configure DMS DDK resources, +including endpoints, replication tasks and replication instances.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__()

endpoint(scope, id, environment_id, ...)

Create and configure DMS endpoint.

endpoint_settings_s3(scope, id, ...[, ...])

Create and configure DMS endpoint settings for s3.

replication_instance(scope, id, ...[, ...])

Create and configure DMS replication instance.

replication_task(scope, id, environment_id, ...)

Create and configure DMS replication task.

+
+
+static endpoint(scope: constructs.Construct, id: str, environment_id: str, endpoint_type: str, engine_name: str, s3_settings: Optional[aws_cdk.aws_dms.CfnEndpoint.S3SettingsProperty], **endpoint_props: Any) aws_cdk.aws_dms.CfnEndpoint
+

Create and configure DMS endpoint.

+

This construct allows to configure parameters of the dms endpoint using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: …

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • endpoint_type (str) – The type of endpoint. Valid values are source and target.

  • +
  • engine_name (str) – The type of engine for the endpoint, depending on the EndpointType value. +Valid values : mysql | oracle | postgres | mariadb | aurora | aurora-postgresql +| opensearch | redshift | s3 | db2 | azuredb | sybase | dynamodb | mongodb +| kinesis | kafka | elasticsearch | docdb | sqlserver | neptune

  • +
  • s3_settings (Union[dms.S3SettingsProperty, None]) – Settings in JSON format for the source and target Amazon S3 endpoint. +For more information about other available settings, see +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_dms/CfnEndpoint.html#s3settingsproperty

  • +
  • **endpoint_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnEndpoint.html

  • +
+
+
Returns
+

dms.CfnEndpoint – A DMS Endpoint

+
+
Return type
+

dms.CfnEndpoint

+
+
+
+
+
+static endpoint_settings_s3(scope: constructs.Construct, id: str, environment_id: str, bucket_name: str, bucket_folder: Optional[str] = None, service_access_role_arn: Optional[str] = None, external_table_definition: Optional[str] = None, enable_statistics: Optional[bool] = None, max_file_size: Optional[int] = None, **endpoint_s3_props: Any) aws_cdk.aws_dms.CfnEndpoint.S3SettingsProperty
+

Create and configure DMS endpoint settings for s3.

+

This construct allows to configure parameters of the dms endpoint using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: enable_statistics and max_file_size

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket_name (str) – The name of the S3 bucket.

  • +
  • bucket_folder (Optional[str]) – An optional parameter to set a folder name in the S3 bucket. +If provided, tables are created in the path bucketFolder / schema_name / table_name / . +If this parameter isn’t specified, the path used is schema_name / table_name / .

  • +
  • service_access_role_arn (Optional[str]) – An IAM role that should be able to access the specified bucket. +If no bucket is specified a role with required permissions will +be created for you.

  • +
  • external_table_definition (Optional[str]) – The external table definition. +Conditional: If S3 is used as a source then ExternalTableDefinition is required.

  • +
  • enable_statistics (Optional[bool]) – A value that enables statistics for Parquet pages and row groups. +Choose true to enable statistics, false to disable. +Statistics include NULL , DISTINCT , MAX , and MIN values. +This parameter defaults to true . +This value is used for .parquet file format only.

  • +
  • max_file_size (Optional[int]) – A value that specifies the maximum size (in KB) of any .csv file to be created +while migrating to an S3 target during full load

  • +
  • **endpoint_settings_s3_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnEndpoint.html#s3settingsproperty

  • +
+
+
Returns
+

dms.CfnEndpoint.S3SettingsProperty – DMS Endpoint Settings for S3

+
+
Return type
+

dms.CfnEndpoint.S3SettingsProperty:

+
+
+
+
+
+static replication_instance(scope: constructs.Construct, id: str, environment_id: str, replication_instance_class: str, allocated_storage: Optional[str] = None, allow_major_version_upgrade: Optional[bool] = False, auto_minor_version_upgrade: Optional[bool] = False, availability_zone: Optional[str] = None, engine_version: Optional[str] = None, kms_key_id: Optional[str] = None, multi_az: Optional[bool] = False, preferred_maintenance_window: Optional[str] = None, publicly_accessible: Optional[bool] = False, replication_instance_identifier: Optional[str] = None, replication_subnet_group_identifier: Optional[str] = None, resource_identifier: Optional[str] = None, vpc_security_group_ids: Optional[List[str]] = None, **replication_instance_props: Any) aws_cdk.aws_dms.CfnReplicationInstance
+

Create and configure DMS replication instance.

+

This construct allows to configure parameters of the dms replication instance using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: …

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • replication_instance_class (str) – The compute and memory capacity of the replication instance +as defined for the specified replication instance class.

  • +
  • allocated_storage (Optional[str]) – The amount of storage (in gigabytes) to be initially allocated for the replication instance.

  • +
  • allow_major_version_upgrade (Optional[bool]) – Indicates that major version upgrades are allowed.

  • +
  • auto_minor_version_upgrade (Optional[bool]) – A value that indicates whether minor engine upgrades are applied automatically to the +replication instance during the maintenance window. +This parameter defaults to true. +Default: true

  • +
  • availability_zone (Optional[str]) – The Availability Zone that the replication instance will be created in

  • +
  • engine_version (Optional[str]) – The engine version number of the replication instance. +If an engine version number is not specified when a replication instance is created, +the default is the latest engine version available.

  • +
  • kms_key_id (Optional[str]) – An AWS KMS key identifier that is used to encrypt the data on the replication instance. +If you don’t specify a value for the KmsKeyId parameter, AWS DMS uses your default encryption key.

  • +
  • multi_az (Optional[bool]) – Specifies whether the replication instance is a Multi-AZ deployment. +You can’t set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.

  • +
  • preferred_maintenance_window (Optional[str]) – The weekly time range during which system maintenance can occur, in UTC. +Format : ddd:hh24:mi-ddd:hh24:mi

  • +
  • publicly_accessible (Optional[bool]) – Specifies the accessibility options for the replication instance. +A value of true represents an instance with a public IP address. +A value of false represents an instance with a private IP address.

  • +
  • replication_instance_identifier (Optional[str]) – The replication instance identifier. This parameter is stored as a lowercase string.

  • +
  • replication_subnet_group_identifier (Optional[str]) – A subnet group to associate with the replication instance.

  • +
  • resource_identifier (Optional[str]) – A display name for the resource identifier at the end of the EndpointArn response +parameter that is returned in the created Endpoint object. +The value for this parameter can have up to 31 characters. +It can contain only ASCII letters, digits, and hyphen (‘-‘)

  • +
  • vpc_security_group_ids (Optional[List[str]]) – Specifies the virtual private cloud (VPC) security group to be used with the replication instance. +The VPC security group must work with the VPC containing the replication instance.

  • +
  • **replication_instance_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnReplicationInstance.html

  • +
+
+
Returns
+

dms.CfnReplicationInstance – A DMS Replication instance

+
+
Return type
+

dms.CfnReplicationInstance

+
+
+
+
+
+static replication_task(scope: constructs.Construct, id: str, environment_id: str, replication_instance_arn: str, source_endpoint_arn: str, target_endpoint_arn: str, table_mappings: str, migration_type: str = 'full-load', replication_task_settings: Optional[str] = None, **replication_task_props: Any) aws_cdk.aws_dms.CfnEndpoint
+

Create and configure DMS replication task.

+

This construct allows to configure parameters of the dms replication task using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: …

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • migration_type (str) – The migration type. Valid values: full-load | cdc | full-load-and-cdc +Default: ‘full-load’

  • +
  • replication_instance_arn (str) – The Amazon Resource Name (ARN) of a replication instance.

  • +
  • source_endpoint_arn (str) – An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.

  • +
  • target_endpoint_arn (str) – An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.

  • +
  • table_mappings (str) – The table mappings for the task, in JSON format.

  • +
  • replication_task_settings (Optional[str]) – Overall settings for the task, in JSON format. For more information, +see https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html

  • +
  • **replication_task_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +DMS Endpoints: +https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dms/CfnReplicationTask.html

  • +
+
+
Returns
+

dms.CfnReplicationTask – A DMS Replication Task

+
+
Return type
+

dms.CfnReplicationTask

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.resources.DataBrewFactory.html b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.DataBrewFactory.html new file mode 100644 index 00000000..b8bf7ab1 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.DataBrewFactory.html @@ -0,0 +1,350 @@ + + + + + + + + + aws_ddk_core.resources.DataBrewFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.DataBrewFactory

+
+
+class aws_ddk_core.resources.DataBrewFactory
+

Class factory to create and configure DataBrew DDK resources, including Jobs.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

job(scope, id, environment_id, name, ...[, ...])

Create and configure a DataBrew job.

+
+
+static job(scope: constructs.Construct, id: str, environment_id: str, name: str, role_arn: str, type: str, dataset_name: Optional[str] = None, recipe: Optional[aws_cdk.aws_databrew.CfnJob.RecipeProperty] = None, encryption_mode: Optional[str] = None, log_subscription: Optional[str] = None, max_capacity: Optional[int] = None, max_retries: Optional[int] = None, output_location: Optional[aws_cdk.aws_databrew.CfnJob.OutputLocationProperty] = None, outputs: Optional[Sequence[aws_cdk.aws_databrew.CfnJob.OutputProperty]] = None, timeout: Optional[aws_cdk.Duration] = None, **job_props: Any) aws_cdk.aws_databrew.CfnJob
+

Create and configure a DataBrew job.

+

This construct allows to configure parameters of the job using ddk.json configuration file +depending on the environment_id in which the job is used. Supported parameters are: +max_capacity,`max_retries`, timeout

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the DataBrew job

  • +
  • environment_id (str) – Identifier of the environment in which the job is used

  • +
  • name (str) – Name of the DataBrew job

  • +
  • role_arn (Optional[str]) – Arn of the execution role of the DataBrew job

  • +
  • type (str) –

    +
    The type of the DataBrew job, which must be one of the following:

    PROFILE - A job to analyze a dataset, to determine its size, data types, data distribution, and more. +RECIPE - A job to apply one or more transformations to a dataset.

    +
    +
    +

  • +
  • dataset_name (Optional[str]) – The name of the DataBrew dataset to be processed by the DataBrew job

  • +
  • recipe (Optional[databrew.CfnJob.RecipeProperty]) – The recipe to be used by the DataBrew job which is a series of data transformation steps.

  • +
  • encryption_mode (Optional[str]) –

    +
    The encryption mode to be used by the DataBrew job, which can be one of the following:

    SSE-KMS - Server-side encryption with keys managed by AWS KMS. +SSE-S3 - Server-side encryption with keys managed by Amazon S3.

    +
    +
    +

  • +
  • log_subscription (Optional[str]) – The status of the Amazon Cloudwatch logging for the DataBrew job

  • +
  • max_capacity (Optional[int]) – The maximum number of nodes that can be consumed by the DataBrew job.

  • +
  • max_retries (Optional[int]) – The maximum number of times to retry the DataBrew job

  • +
  • output_location (Optional[databrew.CfnJob.OutputLocationProperty]) – Output location to be used by the DataBrew job

  • +
  • outputs (Optional[Sequence[databrew.CfnJob.OutputProperty]]) – One or more output artifacts that represent the output of the DataBrew job

  • +
  • timeout (Optional[cdk.Duration]) – The job execution time (in seconds) after which DataBrew terminates the job. +aws_cdk.Duration.seconds(3600) by default.

  • +
  • job_props (Any) – Additional job properties. For complete list of properties refer to CDK Documentation - +DataBrew Job: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_databrew/CfnJob.html

  • +
+
+
Returns
+

job – DataBrew job

+
+
Return type
+

databrew.CfnJob

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.resources.GlueFactory.html b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.GlueFactory.html new file mode 100644 index 00000000..1e7983fb --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.GlueFactory.html @@ -0,0 +1,337 @@ + + + + + + + + + aws_ddk_core.resources.GlueFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.GlueFactory

+
+
+class aws_ddk_core.resources.GlueFactory
+

Class factory to create and configure Glue DDK resources, including Jobs.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

job(scope, id, environment_id, executable[, ...])

Create and configure Glue job.

+
+
+static job(scope: constructs.Construct, id: str, environment_id: str, executable: aws_cdk.aws_glue_alpha.JobExecutable, job_name: Optional[str] = None, description: Optional[str] = None, role: Optional[aws_cdk.aws_iam.IRole] = None, security_configuration: Optional[aws_cdk.aws_glue_alpha.ISecurityConfiguration] = None, timeout: Optional[aws_cdk.Duration] = None, worker_count: Optional[int] = None, worker_type: Optional[aws_cdk.aws_glue_alpha.WorkerType] = None, **job_props: Any) aws_cdk.aws_glue_alpha.IJob
+

Create and configure Glue job.

+

This construct allows to configure parameters of the job using ddk.json configuration file +depending on the environment_id in which the job is used. Supported parameters are: +default_arguments,`enable_profiling_metrics`, max_concurrent_runs, max_retries, +timeout, worker_count.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Glue job

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • executable (JobExecutable) – The job executable properties

  • +
  • job_name (Optional[str]) – The name of the Glue job

  • +
  • description (Optional[str]) – The description of the Glue job

  • +
  • role (Optional[IRole]) – The execution role of the Glue job

  • +
  • security_configuration (Optional[ISecurityConfiguration]) – The security configuration of the Glue job. If None, a default configuration is used

  • +
  • timeout (Optional[Duration]) – The job execution time (in seconds) after which Glue terminates the job. +aws_cdk.Duration.seconds(3600) by default.

  • +
  • worker_count (Optional[int]) – The number of workers of a defined WorkerType that are allocated when a job runs

  • +
  • worker_type (Optional[WorkerType]) – The type of predefined worker that is allocated when a job runs

  • +
  • job_props (Any) – Additional job properties. For complete list of properties refer to CDK Documentation - +Glue Job: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_glue_alpha/Job.html

  • +
+
+
Returns
+

job – Glue job

+
+
Return type
+

aws_cdk.aws_glue_alpha.Job

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.resources.KMSFactory.html b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.KMSFactory.html new file mode 100644 index 00000000..f325c115 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.KMSFactory.html @@ -0,0 +1,333 @@ + + + + + + + + + aws_ddk_core.resources.KMSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KMSFactory

+
+
+class aws_ddk_core.resources.KMSFactory
+

Class factory to create and configure Key Management Service DDK resources, including Keys.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

key(scope, id, environment_id[, alias, ...])

Create and configure KMS key.

+
+
+static key(scope: constructs.Construct, id: str, environment_id: str, alias: Optional[str] = None, enable_key_rotation: Optional[bool] = None, pending_window: Optional[aws_cdk.Duration] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, **key_props: Any) aws_cdk.aws_kms.IKey
+

Create and configure KMS key.

+

This construct allows to configure parameters of the key using ddk.json configuration file +depending on the environment_id in which the key is used. Supported parameters are: +enable_key_rotation,`pending_window`, and removal_policy.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the key

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • alias (Optional[str]) – Key alias

  • +
  • enable_key_rotation (Optional[bool]) – Indicates whether AWS KMS rotates the key. True by default.

  • +
  • pending_window (Optional[Duration]) – Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been +removed from a CloudFormation stack. aws_cdk.Duration.days(30) by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Whether the encryption key should be retained when it is removed from the Stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • key_props (Any) – Additional key properties. For complete list of properties refer to CDK Documentation - +KMS Key: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_kms/Key.html

  • +
+
+
Returns
+

key – KMS key

+
+
Return type
+

aws_cdk.aws_kms.Key

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html new file mode 100644 index 00000000..a9111f31 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.html @@ -0,0 +1,385 @@ + + + + + + + + + aws_ddk_core.resources.KinesisFirehoseFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KinesisFirehoseFactory

+
+
+class aws_ddk_core.resources.KinesisFirehoseFactory
+

Class factory create and configure Kinesis DDK resources, including Delivery Streams.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

delivery_stream(scope, id, environment_id, ...)

Create and configure Firehose delivery stream.

s3_destination(id, environment_id, bucket[, ...])

Create and configure Firehose delivery S3 destination.

+
+
+static delivery_stream(scope: constructs.Construct, id: str, environment_id: str, destinations: Sequence[aws_cdk.aws_kinesisfirehose_alpha.IDestination], delivery_stream_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_kinesisfirehose_alpha.StreamEncryption] = None, encryption_key: Optional[aws_cdk.aws_kms.IKey] = None, role: Optional[aws_cdk.aws_iam.IRole] = None, source_stream: Optional[aws_cdk.aws_kinesis.IStream] = None, **firehose_props: Any) aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream
+

Create and configure Firehose delivery stream.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the delivery stream

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • destinations (Sequence[firehose.IDestination]) – The destinations that this delivery stream will deliver data to

  • +
  • delivery_stream_name (Optional[str] = None) – A name for the delivery stream

  • +
  • encryption (Optional[firehose.StreamEncryption] = None) – Indicates the type of customer master key (CMK) to use for server-side encryption, if any. +Default: StreamEncryption.UNENCRYPTED

  • +
  • encryption_key (Optional[IKey] = None) – Customer managed key to server-side encrypt data in the stream. +Default: - no KMS key will be used

  • +
  • role (Optional[IRole] = None) – The IAM role associated with this delivery stream. +Assumed by Kinesis Data Firehose to read from sources and encrypt data server-side. +Default: - a role will be created with default permissions.

  • +
  • source_stream (Optional[IStream] = None) – The Kinesis data stream to use as a source for this delivery stream

  • +
  • **firehose_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose Delivery Stream: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesisfirehose/DeliveryStream.html

  • +
+
+
Returns
+

delivery_stream – A Kinesis Firehose Delivery Stream

+
+
Return type
+

firehose.IDeliveryStream

+
+
+
+
+
+static s3_destination(id: str, environment_id: str, bucket: aws_cdk.aws_s3.IBucket, buffering_interval: typing.Optional[aws_ddk_core.resources.commons.Duration] = None, buffering_size: typing.Optional[aws_ddk_core.resources.commons.Size] = None, compression: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression] = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>, data_output_prefix: typing.Optional[str] = None, encryption_key: typing.Optional[aws_cdk.aws_kms.IKey] = None, error_output_prefix: typing.Optional[str] = None, logging: typing.Optional[bool] = True, log_group: typing.Optional[aws_cdk.aws_logs.ILogGroup] = None, processor: typing.Optional[aws_cdk.aws_kinesisfirehose_alpha.IDataProcessor] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, s3_backup: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.DestinationS3BackupProps] = None, **destination_props: typing.Any) aws_cdk.aws_kinesisfirehose_destinations_alpha.S3Bucket
+

Create and configure Firehose delivery S3 destination.

+

This construct allows to configure parameters of the firehose destination using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: buffering_interval and buffering_size

+
+
Parameters
+
    +
  • id (str) – Identifier of the destination

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket (IBucket) – S3 Bucket to use for the destination.

  • +
  • buffering_interval (Optional[Duration] = None) – The length of time that Firehose buffers incoming data before delivering it to the S3 bucket. +Minimum: Duration.seconds(60) +Maximum: Duration.seconds(900) +Default: Duration.seconds(300)

  • +
  • buffering_size (Optional[Size] = None) – The size of the buffer that Kinesis Data Firehose uses for incoming data +before delivering it to the S3 bucket. +Minimum: Size.mebibytes(1) +Maximum: Size.mebibytes(128) +Default: Size.mebibytes(5)

  • +
  • compression (Optional[Compression] = None) – The type of compression that Kinesis Data Firehose uses to compress the data that it delivers +to the Amazon S3 bucket. +Default: Compression.GZIP

  • +
  • data_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3

  • +
  • encryption_key (Optional[IKey] = None) – The AWS KMS key used to encrypt the data that it delivers to your Amazon S3 bucket.

  • +
  • error_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. +This prefix appears immediately following the bucket name

  • +
  • logging (Optional[bool] = True) – If true, log errors when data transformation or data delivery fails. +If logGroup is provided, this will be implicitly set to true. +Default: true - errors are logged.

  • +
  • log_group (Optional[ILogGroup] = None) – The CloudWatch log group where log streams will be created to hold error logs. +Default: - if logging is set to true, a log group will be created for you.

  • +
  • processor (Optional[IDataProcessor] = None) – The data transformation that should be performed on the data before writing to the destination.

  • +
  • role (Optional[IRole] = None) – The IAM role associated with this destination. +Assumed by Kinesis Data Firehose to invoke processors and write to destinations

  • +
  • s3_backup (Optional[DestinationS3BackupProps] = None) – The configuration for backing up source records to S3.

  • +
  • **destination_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose S3 Destinations: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesisfirehose_destinations/S3Bucket.html

  • +
+
+
Returns
+

destination – A Kinesis Firehose S3 Delivery Destination

+
+
Return type
+

destinations.S3Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html new file mode 100644 index 00000000..d768f79b --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.html @@ -0,0 +1,340 @@ + + + + + + + + + aws_ddk_core.resources.KinesisStreamsFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.KinesisStreamsFactory

+
+
+class aws_ddk_core.resources.KinesisStreamsFactory
+

Class factory create and configure Kinesis DDK resources, including Data Streams.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

data_stream(scope, id, environment_id[, ...])

Create and configure Kinesis data stream.

+
+
+static data_stream(scope: constructs.Construct, id: str, environment_id: str, encryption: Optional[aws_cdk.aws_kinesis.StreamEncryption] = None, encryption_key: Optional[aws_cdk.aws_kms.IKey] = None, retention_period: Optional[aws_ddk_core.resources.commons.Duration] = None, shard_count: Optional[int] = None, stream_mode: Optional[aws_cdk.aws_kinesis.StreamMode] = None, stream_name: Optional[str] = None, **kinesis_props: Any) aws_cdk.aws_kinesis.IStream
+

Create and configure Kinesis data stream.

+

This construct allows to configure parameters of the Kinesis data stream using ddk.json +configuration file depending on the environment_id in which the function is used. +Supported parameters are: retention_period and shard_count.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the data stream

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • encryption (Optional[StreamEncryption] = None) – The kind of server-side encryption to apply to this stream. +If you choose KMS, you can specify a KMS key via encryptionKey. +If encryption key is not specified, a key will automatically be created. +Default: - StreamEncryption.KMS if encrypted Streams are supported +in the region or StreamEncryption.UNENCRYPTED otherwise. +StreamEncryption.KMS if an encryption key is supplied through the encryptionKey property

  • +
  • encryption_key (Optional[IKey] = None) – External KMS key to use for stream encryption. The ‘encryption’ property must be set to “Kms”. +Default: - Kinesis Data Streams master key (‘/alias/aws/kinesis’)

  • +
  • retention_period (Optional[Duration] = None) – The number of hours for the data records that are stored in shards to remain accessible. +Default: Duration.seconds(3600)

  • +
  • shard_count (Optional[int] = None) – The number of shards for the stream. Can only be provided if streamMode is Provisioned. +Default: 1

  • +
  • stream_mode (Optional[StreamMode] = None) – The capacity mode of this stream. +Default: StreamMode.PROVISIONED

  • +
  • stream_name (Optional[str] = None) – Enforces a particular physical stream name. +Default: A CloudFormation generated name

  • +
  • **kinesis_props (Any) – Additional properties. For complete list of properties refer to CDK Documentation - +Firehose Data Stream: +https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_kinesis/Stream.html

  • +
+
+
Returns
+

data_stream – A Kinesis Data Stream

+
+
Return type
+

Stream

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html new file mode 100644 index 00000000..4350e906 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.LambdaFactory.html @@ -0,0 +1,343 @@ + + + + + + + + + aws_ddk_core.resources.LambdaFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.LambdaFactory

+
+
+class aws_ddk_core.resources.LambdaFactory
+

Class factory to create and configure Lambda DDK resources, including Functions.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

add_vpc_permissions(fn)

function(scope, id, environment_id, code, ...)

Create and configure Lambda function.

+
+
+static function(scope: constructs.Construct, id: str, environment_id: str, code: aws_cdk.aws_lambda.Code, handler: str, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, function_name: typing.Optional[str] = None, description: typing.Optional[str] = None, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, dead_letter_queue_enabled: typing.Optional[bool] = None, dead_letter_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, **function_props: typing.Any) aws_cdk.aws_lambda.IFunction
+

Create and configure Lambda function.

+

This construct allows to configure parameters of the function using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +dead_letter_queue_enabled,`memory_size`, environment, profiling, +reserved_concurrent_executions, timeout, tracing, max_event_age, retry_attempts, +allow_all_outbound, and allow_public_subnet.

+

The parameters are respected in the following order: +1 - Explicit arguments are always preferred +2 - Values from configuration file +3 - Defaults are used otherwise

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the Lambda function

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Code) – The source code of the Lambda function

  • +
  • handler (str) – The name of the method within the code that Lambda calls to execute the function

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function

  • +
  • function_name (Optional[str]) – The name of the Lambda function

  • +
  • description (Optional[str]) – The description of the Lambda function

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • dead_letter_queue_enabled (Optional[bool]) – Determines if DLQ is enabled. False by default.

  • +
  • dead_letter_queue (Optional[IQueue]) – The SQS queue to use if DLQ is enabled

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default.

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default.

  • +
  • function_props (Any) – Additional function properties. For complete list of properties refer to CDK Documentation - +Lambda Function: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_lambda/Function.html

  • +
+
+
Returns
+

fn – Lambda function

+
+
Return type
+

aws_cdk.aws_lambda.Function

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.resources.S3Factory.html b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.S3Factory.html new file mode 100644 index 00000000..eec62a49 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.S3Factory.html @@ -0,0 +1,336 @@ + + + + + + + + + aws_ddk_core.resources.S3Factory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.S3Factory

+
+
+class aws_ddk_core.resources.S3Factory
+

Class factory to create and configure Simple Storage Service DDK resources, including Buckets.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

bucket(scope, id, environment_id[, ...])

Create and configure S3 bucket.

+
+
+static bucket(scope: constructs.Construct, id: str, environment_id: str, bucket_name: Optional[str] = None, versioned: Optional[bool] = None, access_control: Optional[aws_cdk.aws_s3.BucketAccessControl] = None, block_public_access: Optional[aws_cdk.aws_s3.BlockPublicAccess] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, encryption: Optional[aws_cdk.aws_s3.BucketEncryption] = None, enforce_ssl: Optional[bool] = None, event_bridge_enabled: Optional[bool] = None, **bucket_props: Any) aws_cdk.aws_s3.IBucket
+

Create and configure S3 bucket.

+

This construct allows to configure parameters of the bucket using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +versioned,`auto_delete_objects`, enforce_ssl, access_control, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the bucket

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • bucket_name (Optional[str]) – The name of the bucket

  • +
  • versioned (Optional[bool]) – Whether this bucket should have versioning turned on or not. True by default.

  • +
  • access_control (Optional[BucketAccessControl]) – Specifies a canned ACL that grants predefined permissions to the bucket +aws_cdk.aws_s3.BucketAccessControl.BUCKET_OWNER_FULL_CONTROL by default.

  • +
  • block_public_access (Optional[BlockPublicAccess]) – The block public access configuration of this bucket. +aws_cdk.aws_s3.BlockPublicAccess.BLOCK_ALL by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack. +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • encryption (Optional[BucketEncryption]) – The kind of server-side encryption to apply to this bucket. +aws_cdk.aws_s3.BucketEncryption.S3_MANAGED by default.

  • +
  • enforce_ssl (Optional[bool]) – Enforces SSL for requests. True by default.

  • +
  • event_bridge_enabled (Optional[bool]) – Whether this bucket should send notifications to Amazon EventBridge or not. +False by default.

  • +
  • bucket_props (Any) – Additional bucket properties. For complete list of properties refer to CDK Documentation - +S3 Bucket: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_s3/Bucket.html

  • +
+
+
Returns
+

bucket – S3 bucket

+
+
Return type
+

aws_cdk.aws_s3.Bucket

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.resources.SQSFactory.html b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.SQSFactory.html new file mode 100644 index 00000000..3eb8be5e --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.SQSFactory.html @@ -0,0 +1,333 @@ + + + + + + + + + aws_ddk_core.resources.SQSFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.SQSFactory

+
+
+class aws_ddk_core.resources.SQSFactory
+

Class factory create and configure Simple Queue Service DDK resources, including Queues.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + + + + +

__init__()

apply_secure_queue_policy(queue)

queue(scope, environment_id, id[, ...])

Create and configure SQS queue.

+
+
+static queue(scope: constructs.Construct, environment_id: str, id: str, queue_name: Optional[str] = None, encryption: Optional[aws_cdk.aws_sqs.QueueEncryption] = None, removal_policy: Optional[aws_cdk.RemovalPolicy] = None, dead_letter_queue: Optional[aws_cdk.aws_sqs.DeadLetterQueue] = None, **queue_props: Any) aws_cdk.aws_sqs.IQueue
+

Create and configure SQS queue.

+

This construct allows to configure parameters of the queue using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +content_based_deduplication,`data_key_reuse`, delivery_delay, max_message_size_bytes, +retention_period, visibility_timeout, receive_message_wait_time, and removal_policy.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the queue

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • queue_name (Optional[str]) – Name of the queue

  • +
  • encryption (Optional[QueueEncryption]) – Whether the contents of the queue are encrypted, and by what type of key. +aws_cdk.aws_sqs.QueueEncryption.KMS_MANAGED by default.

  • +
  • removal_policy (Optional[RemovalPolicy]) – Policy to apply when the bucket is removed from this stack +aws_cdk.RemovalPolicy.RETAIN by default.

  • +
  • dead_letter_queue (Optional[DeadLetterQueue]) – Send messages to this queue if they were unsuccessfully dequeued a number of times.

  • +
  • queue_props (Any) – Additional queue properties. For complete list of properties refer to CDK Documentation - +SQS Queue: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_sqs/Queue.html

  • +
+
+
Returns
+

queue – SQS queue

+
+
Return type
+

aws_cdk.aws_sqs.Queue

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html new file mode 100644 index 00000000..9c07bf01 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.resources.StepFunctionsFactory.html @@ -0,0 +1,327 @@ + + + + + + + + + aws_ddk_core.resources.StepFunctionsFactory - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources.StepFunctionsFactory

+
+
+class aws_ddk_core.resources.StepFunctionsFactory
+

Class factory create and configure AWS Step Functions Service DDK resources, including State Machines.

+
+
+__init__()
+
+

Methods

+
++++ + + + + + + + + +

__init__()

state_machine(scope, environment_id, id[, ...])

Create and configure state machine.

+
+
+static state_machine(scope: constructs.Construct, environment_id: str, id: str, state_machine_name: Optional[str] = None, state_machine_type: Optional[aws_cdk.aws_stepfunctions.StateMachineType] = None, timeout: Optional[aws_ddk_core.resources.commons.Duration] = None, tracing_enabled: Optional[bool] = None, **state_machine_props: Any) aws_cdk.aws_stepfunctions.StateMachine
+

Create and configure state machine.

+

This construct allows to configure parameters of the state machine using ddk.json configuration file +depending on the environment_id in which the function is used. Supported parameters are: +state_machine_type,`timeout`, and tracing_enabled.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the state machine

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • state_machine_name (Optional[str]) – Name of the state machine

  • +
  • state_machine_type (Optional[sfn.StateMachineType]) – Type of the state machine

  • +
  • timeout (Optional[Duration]) – Maximum run time for this state machine

  • +
  • tracing_enabled (Optional[bool]) – Specifies whether Amazon X-Ray tracing is enabled for this state machine

  • +
  • state_machine_props (Any) – Additional state machine properties. For complete list of properties refer to CDK Documentation - +State Machine: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_stepfunctions/StateMachine.html

  • +
+
+
Returns
+

state_machine – State machine

+
+
Return type
+

aws_cdk.aws_stepfunctions.StateMachine

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html new file mode 100644 index 00000000..f9ba25ea --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.html @@ -0,0 +1,371 @@ + + + + + + + + + aws_ddk_core.stages.AppFlowIngestionStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.AppFlowIngestionStage

+
+
+class aws_ddk_core.stages.AppFlowIngestionStage(*args: Any, **kwargs)
+

Class that represents an AppFlow DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, flow_name: typing.Optional[str] = None, flow_execution_status_check_period: aws_cdk.Duration = <aws_cdk.Duration object>, destination_flow_config: typing.Optional[aws_cdk.aws_appflow.CfnFlow.DestinationFlowConfigProperty] = None, source_flow_config: typing.Optional[aws_cdk.aws_appflow.CfnFlow.SourceFlowConfigProperty] = None, tasks: typing.Optional[typing.List[aws_cdk.aws_appflow.CfnFlow.TaskProperty]] = None, state_machine_input: typing.Optional[typing.Dict[str, typing.Any]] = None, additional_role_policy_statements: typing.Optional[typing.List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: typing.Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: typing.Optional[int] = 1, state_machine_args: typing.Optional[typing.Dict[str, typing.Any]] = {}, alarms_enabled: typing.Optional[bool] = True) None
+

DDK AppFlow Ingestion stage.

+

Stage that contains a step function that runs an AppFlow flow ingestion. +If the AppFlow flow name is not supplied, then it is created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • flow_name (Optional[str]) – Name of the AppFlow flow to run. If None, an AppFlow flow is created

  • +
  • flow_execution_status_check_period (Duration) – Time to wait between flow execution status checks. +aws_cdk.Duration.seconds(15) by default

  • +
  • destination_flow_config (Optional[CfnFlow.DestinationFlowConfigProperty]) – The flow destination_flow_config properties

  • +
  • source_flow_config (Optional[CfnFlow.SourceFlowConfigProperty]) – The flow source_flow_config properties

  • +
  • tasks (Optional[List[CfnFlow.TaskProperty]]) – The flow tasks properties

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
  • state_machine_args (Optional[Dict[str, Any]]) – Additional arguments to pass to State Machine creation. +See: https://awslabs.github.io/aws-ddk/release/latest/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html#aws_ddk_core.pipelines.StateMachineStage.build_state_machine # noqa

  • +
  • alarms_enabled (Optional[bool]) – Enable/Disable all alarms in the stage. +Default - True

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK AppFlow Ingestion stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

flow

CfnFlow The AppFlow flow

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property flow: aws_cdk.aws_appflow.CfnFlow
+

CfnFlow +The AppFlow flow

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html new file mode 100644 index 00000000..6716ce19 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.AthenaSQLStage.html @@ -0,0 +1,373 @@ + + + + + + + + + aws_ddk_core.stages.AthenaSQLStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.AthenaSQLStage

+
+
+class aws_ddk_core.stages.AthenaSQLStage(*args: Any, **kwargs)
+

Class that represents a Athena SQL DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, query_string: Optional[str] = None, query_string_path: Optional[str] = None, workgroup: Optional[str] = None, catalog_name: Optional[str] = None, database_name: Optional[str] = None, output_bucket_name: Optional[str] = None, output_object_key: Optional[str] = None, encryption_option: Optional[aws_cdk.aws_stepfunctions_tasks.EncryptionOption] = None, encryption_key: Optional[aws_cdk.aws_kms.Key] = None, state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1, state_machine_args: Optional[Dict[str, Any]] = {}, alarms_enabled: Optional[bool] = True) None
+

DDK Athena SQL stage.

+

Stage that contains a step function that execute Athena SQL query.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • query_string (Optional[str]) – SQL query that will be started

  • +
  • query_string_path (Optional[str]) – dynamic path in statemachine for SQL query to be started

  • +
  • workgroup (Optional[str]) – Workgroup name

  • +
  • catalog_name (Optional[str]) – Catalog name

  • +
  • database_name (Optional[str]) – Database name

  • +
  • output_bucket_name (Optional[str]) – Output S3 bucket name

  • +
  • output_object_key (Optional[str]) – Output S3 key

  • +
  • encryption_option (Optional[EncryptionOption]) – Encryption configuration

  • +
  • encryption_key (Optional[Key]) – Encryption KMS key

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
  • state_machine_args (Optional[Dict[str, Any]]) – Additional arguments to pass to State Machine creation. +See: https://awslabs.github.io/aws-ddk/release/latest/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html#aws_ddk_core.pipelines.StateMachineStage.build_state_machine # noqa

  • +
  • alarms_enabled (Optional[bool]) – Enable/Disable all alarms in the stage. +Default - True

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK Athena SQL stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

node

The tree node.

state_machine

StateMachine The state machine

+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html new file mode 100644 index 00000000..eee667fa --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.html @@ -0,0 +1,388 @@ + + + + + + + + + aws_ddk_core.stages.DMSS3ToS3Stage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.DMSS3ToS3Stage

+
+
+class aws_ddk_core.stages.DMSS3ToS3Stage(*args: Any, **kwargs)
+

Class that represents a DMS to S3 to S3 Replication DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, source_bucket: aws_cdk.aws_s3.IBucket, target_bucket: aws_cdk.aws_s3.IBucket, external_table_definition: str, table_mappings: Optional[str] = None, replication_instance_class: str = 'dms.c5.large', source_bucket_prefix: Optional[str] = None, target_bucket_prefix: Optional[str] = None, **kwargs: Any) None
+

DDK DMS S3 to S3 replication stage

+
+
Parameters
+
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK DMS S3 to S3 replication stage

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.stages.DataBrewTransformStage.html b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.DataBrewTransformStage.html new file mode 100644 index 00000000..388f54c8 --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.DataBrewTransformStage.html @@ -0,0 +1,370 @@ + + + + + + + + + aws_ddk_core.stages.DataBrewTransformStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.DataBrewTransformStage

+
+
+class aws_ddk_core.stages.DataBrewTransformStage(*args: Any, **kwargs)
+

Class that represents a DataBrew Transform DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, job_name: Optional[str] = None, job_role_arn: Optional[str] = None, job_type: Optional[str] = None, dataset_name: Optional[str] = None, recipe: Optional[aws_cdk.aws_databrew.CfnJob.RecipeProperty] = None, outputs: Optional[List[aws_cdk.aws_databrew.CfnJob.OutputProperty]] = None, state_machine_input: Optional[Dict[str, Any]] = None, additional_role_policy_statements: Optional[List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_failed_executions_alarm_threshold: Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: Optional[int] = 1, state_machine_args: Optional[Dict[str, Any]] = {}, alarms_enabled: Optional[bool] = True) None
+

DDK DataBrew Transform stage.

+

Stage that contains a step function that runs DataBrew job

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • job_name (Optional[str]) – The name of a preexisting DataBrew job to run. If None, a DataBrew job is created

  • +
  • job_role_arn (Optional[str]) – The Arn of the job execution role. Required if job_name is None.

  • +
  • job_type (Optional[str]) – The type of job to run. Required if job_name is None.

  • +
  • dataset_name (Optional[str]) – The name of the dataset to use for the job.

  • +
  • recipe (Optional[CfnJob.RecipeProperty]) – The recipe to be used by the DataBrew job which is a series of data transformation steps.

  • +
  • outputs (Optional[List[CfnJob.OutputProperty]]) – The output properties for the job.

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – The input dict to the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
  • state_machine_args (Optional[Dict[str, Any]]) – Additional arguments to pass to State Machine creation. +See: https://awslabs.github.io/aws-ddk/release/latest/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html#aws_ddk_core.pipelines.StateMachineStage.build_state_machine # noqa

  • +
  • alarms_enabled (Optional[bool]) – Enable/Disable all alarms in the stage. +Default - True

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK DataBrew Transform stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

job

Optional[CfnJob] The DataBrew job

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property job: Optional[aws_cdk.aws_databrew.CfnJob]
+

Optional[CfnJob] +The DataBrew job

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html new file mode 100644 index 00000000..86aa105c --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.GlueTransformStage.html @@ -0,0 +1,399 @@ + + + + + + + + + aws_ddk_core.stages.GlueTransformStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.GlueTransformStage

+
+
+class aws_ddk_core.stages.GlueTransformStage(*args: Any, **kwargs)
+

Class that represents a Glue Transform DDK DataStage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, job_name: typing.Optional[str] = None, executable: typing.Optional[aws_cdk.aws_glue_alpha.JobExecutable] = None, job_role: typing.Optional[aws_cdk.aws_iam.IRole] = None, crawler_name: typing.Optional[str] = None, database_name: typing.Optional[str] = None, crawler_role: typing.Optional[aws_cdk.aws_iam.IRole] = None, targets: typing.Optional[aws_cdk.aws_glue.CfnCrawler.TargetsProperty] = None, job_args: typing.Optional[typing.Dict[str, typing.Any]] = None, glue_job_args: typing.Optional[typing.Dict[str, typing.Any]] = {}, glue_crawler_args: typing.Optional[typing.Dict[str, typing.Any]] = {}, crawler_allow_failure: typing.Optional[bool] = True, state_machine_input: typing.Optional[typing.Dict[str, typing.Any]] = None, additional_role_policy_statements: typing.Optional[typing.List[aws_cdk.aws_iam.PolicyStatement]] = None, state_machine_retry_max_attempts: typing.Optional[int] = 3, state_machine_retry_backoff_rate: typing.Optional[int] = 2, state_machine_retry_interval: typing.Optional[aws_cdk.Duration] = <aws_cdk.Duration object>, state_machine_failed_executions_alarm_threshold: typing.Optional[int] = 1, state_machine_failed_executions_alarm_evaluation_periods: typing.Optional[int] = 1, state_machine_args: typing.Optional[typing.Dict[str, typing.Any]] = {}, alarms_enabled: typing.Optional[bool] = True) None
+

DDK Glue Transform stage.

+

Stage that contains a step function that runs Glue job, and a Glue crawler afterwards. +If the Glue job or crawler names are not supplied, then they are created.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • job_name (Optional[str]) – The name of a preexisting Glue job to run. If None, a Glue job is created

  • +
  • executable (Optional[JobExecutable]) – The job executable properties

  • +
  • job_role (Optional[IRole]) – The job execution role

  • +
  • crawler_name (Optional[str]) – The name of a preexisting Glue crawler to run. If None, a Glue crawler is created

  • +
  • database_name (Optional[str]) – The name of the database in which the crawler’s output is stored

  • +
  • crawler_role (Optional[IRole]) – The crawler execution role

  • +
  • targets (Optional[TargetsProperty]) – A collection of targets to crawl

  • +
  • job_args (Optional[Dict[str, Any]]) – The input arguments to the Glue job

  • +
  • glue_job_args (Optional[Dict[str, Any]]) – Additional Glue job properties. For complete list of properties refer to CDK Documentation - +Glue Job: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_glue_alpha/Job.html

  • +
  • glue_crawler_args (Optional[Dict[str, Any]]) – Additional arguments to pass to CDK L1 Construct: CfnCrawler. +See: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_glue/CfnCrawler.html

  • +
  • crawler_allow_failure (Optional[Bool]) – Argument to allow stepfunction success for crawler failures/execption like Glue.CrawlerRunningException +Defaults to True

  • +
  • state_machine_input (Optional[Dict[str, Any]]) – The input dict to the state machine

  • +
  • additional_role_policy_statements (Optional[List[PolicyStatement]]) – Additional IAM policy statements to add to the state machine role

  • +
  • state_machine_retry_max_attempts (Optional[int],) – How many times to retry this particular error. +Defaults to 3

  • +
  • state_machine_retry_backoff_rate (Optional[int]) – Multiplication for how much longer the wait interval gets on every retry. +Defaults to 2

  • +
  • state_machine_retry_interval (Optional[cdk.Duration]) – How many seconds to wait initially before retrying. +Defaults to cdk.Duration.seconds(1)

  • +
  • state_machine_failed_executions_alarm_threshold (Optional[int]) – The number of failed state machine executions before triggering CW alarm. Defaults to 1

  • +
  • state_machine_failed_executions_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
  • state_machine_args (Optional[Dict[str, Any]]) – Additional arguments to pass to State Machine creation. +See: https://awslabs.github.io/aws-ddk/release/latest/api/core/stubs/aws_ddk_core.pipelines.StateMachineStage.html#aws_ddk_core.pipelines.StateMachineStage.build_state_machine # noqa

  • +
  • alarms_enabled (Optional[bool]) – Enable/Disable all alarms in the stage. +Default - True

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK Glue Transform stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

build_state_machine(id, environment_id, ...)

Build state machine.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

crawler

Optional[CfnCrawler] The Glue crawler

job

Optional[IJob] The Glue job

node

The tree node.

state_machine

StateMachine The state machine

+
+
+property crawler: Optional[aws_cdk.aws_glue.CfnCrawler]
+

Optional[CfnCrawler] +The Glue crawler

+
+
Type
+

Return

+
+
+
+
+
+property job: Optional[aws_cdk.aws_glue_alpha.IJob]
+

Optional[IJob] +The Glue job

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html new file mode 100644 index 00000000..bc931c3c --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.KinesisToS3Stage.html @@ -0,0 +1,464 @@ + + + + + + + + + aws_ddk_core.stages.KinesisToS3Stage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.KinesisToS3Stage

+
+
+class aws_ddk_core.stages.KinesisToS3Stage(*args: Any, **kwargs)
+

Class that represents a Firehose to S3 Ingestion DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, delivery_stream_name: typing.Optional[str] = None, bucket_name: typing.Optional[str] = None, buffering_interval: typing.Optional[aws_cdk.Duration] = None, buffering_size: typing.Optional[aws_cdk.Size] = None, compression: typing.Optional[aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression] = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>, data_output_prefix: typing.Optional[str] = None, data_stream_enabled: typing.Optional[bool] = False, encryption_key: typing.Optional[aws_cdk.aws_kms.IKey] = None, error_output_prefix: typing.Optional[str] = None, logging: typing.Optional[bool] = True, log_group: typing.Optional[aws_cdk.aws_logs.ILogGroup] = None, kinesis_delivery_stream_alarm_threshold: typing.Optional[int] = 900, kinesis_delivery_stream_alarm_evaluation_periods: typing.Optional[int] = 1, delivery_stream: typing.Optional[aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream] = None, bucket: typing.Optional[aws_cdk.aws_s3.IBucket] = None, data_stream: typing.Optional[aws_cdk.aws_kinesis.Stream] = None, alarms_enabled: typing.Optional[bool] = True) None
+

DDK Kinesis Firehose Delivery stream to S3 stage, with an optional Kinesis Data Stream.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • delivery_stream_name (Optional[str] = None) – Name of the Firehose Delivery Stream

  • +
  • bucket_name (Optional[str] = None) – Name of S3 Bucket to be created as a delivery destination. +Amazon EventBridge notifications must be enabled on the bucket in order +for this stage to produce events after its completion.

  • +
  • buffering_interval (Optional[Duration] = None) – The length of time that Firehose buffers incoming data before delivering it to the S3 bucket. +Minimum: Duration.seconds(60) +Maximum: Duration.seconds(900) +Default: Duration.seconds(300)

  • +
  • buffering_size (Optional[Size] = None) – The size of the buffer that Kinesis Data Firehose uses for incoming +data before delivering it to the S3 bucket. +Minimum: Size.mebibytes(1) +Maximum: Size.mebibytes(128) +Default: Size.mebibytes(5)

  • +
  • compression (Optional[Compression] = None) – The type of compression that Kinesis Data Firehose uses to compress +the data that it delivers to the Amazon S3 bucket. +Default: - GZIP

  • +
  • data_output_prefix (Optional[str] = None) – A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3. +This prefix appears immediately following the bucket name. +Default: “YYYY/MM/DD/HH”

  • +
  • data_stream_enabled (Optional[bool] = False) – Add Kinesis Data Stream to front Firehose Delivery. +Default: false

  • +
  • encryption_key (Optional[IKey] = None) – The AWS KMS key used to encrypt the data delivered to your Amazon S3 bucket

  • +
  • error_output_prefix (Optional[str] = None) – prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. +This prefix appears immediately following the bucket name. +Default: “YYYY/MM/DD/HH”

  • +
  • logging (Optional[bool] = True) – If true, log errors when data transformation or data delivery fails. +If log_group is provided, this will be implicitly set to true. +Default: true - errors are logged.

  • +
  • log_group (Optional[ILogGroup] = None) – The CloudWatch log group where log streams will be created to hold error logs. +Default: - if logging is set to true, a log group will be created for you.

  • +
  • kinesis_delivery_stream_alarm_threshold (Optional[int] = 900) – Threshold for Cloudwatch Alarm created for this stage. +Default: 900

  • +
  • kinesis_delivery_stream_alarm_evaluation_periods (Optional[int] = 1) – Evaluation period value for Cloudwatch alarm created for this stage. +Default: 1

  • +
  • delivery_stream (Optional[firehose.IDeliveryStream] = None) – Preexisting Delivery Stream to use in this stage

  • +
  • bucket (Optional[IBucket] = None) – Preexisting S3 Bucket to use as a destination for the Firehose Stream. +If no bucket is provided, a new one is created. +Amazon EventBridge notifications must be enabled on the bucket in order +for this stage to produce events after its completion.

  • +
  • data_stream (Optional[Stream] = None) – Preexisting Kinesis Data Stream to use in stage before Delivery Stream. +Setting this parameter will override any creation of Kinesis Data Streams +in this stage. data_stream_enabled will have no effect.

  • +
  • alarms_enabled (Optional[bool]) – Enable/Disable all alarms in the stage. +Default - True

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, ...])

DDK Kinesis Firehose Delivery stream to S3 stage, with an optional Kinesis Data Stream.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + + + + +

bucket

S3 Bucket The S3 Destination Bucket

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

data_stream

Data Stream The Kinesis Data Stream

delivery_stream

Delivery Stream The Kinesis Firehose Delivery Stream

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property bucket: aws_cdk.aws_s3.IBucket
+

S3 Bucket +The S3 Destination Bucket

+
+
Type
+

Return

+
+
+
+
+
+property data_stream: aws_cdk.aws_kinesis.Stream
+

Data Stream +The Kinesis Data Stream

+
+
Type
+

Return

+
+
+
+
+
+property delivery_stream: aws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream
+

Delivery Stream +The Kinesis Firehose Delivery Stream

+
+
Type
+

Return

+
+
+
+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.stages.S3EventStage.html b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.S3EventStage.html new file mode 100644 index 00000000..79a0876b --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.S3EventStage.html @@ -0,0 +1,365 @@ + + + + + + + + + aws_ddk_core.stages.S3EventStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.S3EventStage

+
+
+class aws_ddk_core.stages.S3EventStage(*args: Any, **kwargs)
+

Class that represents an S3 Event DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, event_names: List[str], bucket_name: Union[str, List[str]], key_prefix: Optional[Union[str, List[str]]] = None, **kwargs: Any) None
+

DDK S3 Event stage.

+

It implements an S3 event pattern based on event names, a bucket name and optional key prefix. +Amazon EventBridge notifications must be enabled on the bucket in order to use this construct.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • event_names (List[str]) – The list of events to capture, for example: [“Object Created”]. +https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventBridge.html

  • +
  • bucket_name (Union[str, List[str]]) – The name(s) of the S3 bucket(s). Amazon EventBridge notifications must be enabled +on the bucket in order to use this construct.

  • +
  • key_prefix (Optional[Union[str, List[str]]]) – The S3 prefix or list of prefixes. Capture root level prefix (“/”) by default

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id, ...[, ...])

DDK S3 Event stage.

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + +

event_pattern

EventPattern The S3 event pattern

node

The tree node.

+
+
+property event_pattern: aws_cdk.aws_events.EventPattern
+

EventPattern +The S3 event pattern

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html new file mode 100644 index 00000000..83680eee --- /dev/null +++ b/release/0.6.2/api/core/stubs/aws_ddk_core.stages.SqsToLambdaStage.html @@ -0,0 +1,429 @@ + + + + + + + + + aws_ddk_core.stages.SqsToLambdaStage - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages.SqsToLambdaStage

+
+
+class aws_ddk_core.stages.SqsToLambdaStage(*args: Any, **kwargs)
+

Class that represents an SQS to Lambda Transform DDK Stage.

+
+
+__init__(scope: constructs.Construct, id: str, environment_id: str, code: typing.Optional[aws_cdk.aws_lambda.Code] = None, handler: typing.Optional[str] = None, runtime: aws_cdk.aws_lambda.Runtime = <aws_cdk.aws_lambda.Runtime object>, role: typing.Optional[aws_cdk.aws_iam.IRole] = None, memory_size: typing.Optional[int] = None, timeout: typing.Optional[aws_cdk.Duration] = None, visibility_timeout: typing.Optional[aws_cdk.Duration] = None, dead_letter_queue_enabled: bool = False, max_receive_count: int = 1, batch_size: typing.Optional[int] = None, max_batching_window: typing.Optional[aws_cdk.Duration] = None, layers: typing.Optional[typing.List[aws_cdk.aws_lambda.ILayerVersion]] = None, lambda_function: typing.Optional[aws_cdk.aws_lambda.IFunction] = None, sqs_queue: typing.Optional[aws_cdk.aws_sqs.IQueue] = None, message_group_id: typing.Optional[str] = None, lambda_function_errors_alarm_threshold: typing.Optional[int] = 5, lambda_function_errors_alarm_evaluation_periods: typing.Optional[int] = 1, function_props: typing.Optional[typing.Dict[str, typing.Any]] = {}, queue_props: typing.Optional[typing.Dict[str, typing.Any]] = {}, alarms_enabled: typing.Optional[bool] = True) None
+

DDK SQS to Lambda stage.

+

It implements an Amazon SQS queue connected to an AWS Lambda function, with an optional DLQ.

+
+
Parameters
+
    +
  • scope (Construct) – Scope within which this construct is defined

  • +
  • id (str) – Identifier of the stage

  • +
  • environment_id (str) – Identifier of the environment

  • +
  • code (Optional[Code]) – The source code of the Lambda function +Must be set if lambda_function is not.

  • +
  • handler (Optional[str]) – The name of the method within the code that Lambda calls to execute the function. +Must be set if lambda_function is not.

  • +
  • runtime (Runtime) – The runtime environment for the Lambda function. PYTHON_3_9 by default

  • +
  • role (Optional[IRole]) – Lambda execution role

  • +
  • memory_size (Optional[int]) – The amount of memory, in MB, that is allocated to the Lambda function. 256 by default

  • +
  • timeout (Optional[Duration]) – The function execution time (in seconds) after which Lambda terminates the function. +aws_cdk.Duration.seconds(120) by default

  • +
  • visibility_timeout (Optional[Duration]) – Timeout of processing a single message in the queue. Default: Duration.seconds(120).

  • +
  • dead_letter_queue_enabled (bool) – Determines if DLQ is enabled. False by default

  • +
  • max_receive_count (int) – The number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue. +1 by default

  • +
  • batch_size (Optional[int]) – The maximum number of records retrieved from the event source at the function invocation time. +10 by default

  • +
  • max_batching_window (Optional[Duration]) – The maximum amount of time to gather records before invoking the function. +Valid Range: Minimum value of 0 minutes. +Maximum value of 5 minutes. +Default: - no batching window.

  • +
  • layers (Optional[List[ILayerVersion]]) – A list of layers to add to the lambda function’s execution environment.

  • +
  • lambda_function (Optional[IFunction]) – Preexisting Lambda Function to use in stage. None by default

  • +
  • sqs_queue (Optional[IQueue]) – Preexisting SQS Queue to use in stage. None by default

  • +
  • message_group_id (Optional[str]) – Message Group ID for messages sent to this queue. +Required for FIFO queues

  • +
  • lambda_function_errors_alarm_threshold (Optional[int]) – Amount of errored function invocations before triggering CW alarm. Defaults to 5

  • +
  • lambda_function_errors_alarm_evaluation_periods (Optional[int]) – The number of periods over which data is compared to the specified threshold. Defaults to 1

  • +
  • queue_props (Any) – Additional queue properties. For complete list of properties refer to CDK Documentation - +SQS Queue: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_sqs/Queue.html

  • +
  • function_props (Any) – Additional function properties. For complete list of properties refer to CDK Documentation - +Lambda Function: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_lambda/Function.html

  • +
  • alarms_enabled (Optional[bool]) – Enable/Disable all alarms in the stage. +Default - True

  • +
+
+
+
+

Methods

+
++++ + + + + + + + + + + + + + + + + + + + + +

__init__(scope, id, environment_id[, code, ...])

DDK SQS to Lambda stage.

add_alarm(alarm_id, alarm_metric[, ...])

Add a CloudWatch alarm for the Data Stage

get_event_pattern()

Get output event pattern of the stage.

get_targets()

Get input targets of the stage.

is_construct(x)

Checks if x is a construct.

to_string()

Returns a string representation of this construct.

+

Attributes

+
++++ + + + + + + + + + + + + + + + + + +

cloudwatch_alarms

List[Alarm] List of CloudWatch Alarms linked to the stage

dlq

DeadLetterQueue The SQS dead letter queue

function

Function The Lambda function

node

The tree node.

queue

Queue The SQS queue

+
+
+property dlq: Optional[aws_cdk.aws_sqs.DeadLetterQueue]
+

DeadLetterQueue +The SQS dead letter queue

+
+
Type
+

Return

+
+
+
+
+
+property function: aws_cdk.aws_lambda.IFunction
+

Function +The Lambda function

+
+
Type
+

Return

+
+
+
+
+
+get_event_pattern() Optional[aws_cdk.aws_events.EventPattern]
+

Get output event pattern of the stage.

+

Event pattern describes the structure of output event(s) produced by this stage. Event Rules use +event patterns to select events and route them to targets.

+
+
Returns
+

event_pattern – Event pattern

+
+
Return type
+

Optional[EventPattern]

+
+
+
+
+
+get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]]
+

Get input targets of the stage.

+

Targets are used by Event Rules to describe what should be invoked when a rule matches an event.

+
+
Returns
+

targets – List of targets

+
+
Return type
+

Optional[List[IRuleTarget]]

+
+
+
+
+
+property queue: aws_cdk.aws_sqs.IQueue
+

Queue +The SQS queue

+
+
Type
+

Return

+
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/genindex.html b/release/0.6.2/api/genindex.html new file mode 100644 index 00000000..5b014908 --- /dev/null +++ b/release/0.6.2/api/genindex.html @@ -0,0 +1,994 @@ + + + + + + + Index - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+

Index

+
Symbols | _ | A | B | C | D | E | F | G | J | K | L | N | P | Q | R | S
+
+
+

Symbols

+ + + +
+
+ +
+

_

+ + +
+
+ +
+

A

+ + + +
+
+ +
+

B

+ + + +
+
+ +
+

C

+ + + +
+
+ +
+

D

+ + + +
+
+ +
+

E

+ + + +
+
+ +
+

F

+ + + +
+
+ +
+

G

+ + + +
+
+ +
+

J

+ + + +
+
+ +
+

K

+ + + +
+
+ +
+

L

+ + +
+
+ +
+

N

+ + +
+
+ +
+

P

+ + +
+
+ +
+

Q

+ + + +
+
+ +
+

R

+ + + +
+
+ +
+

S

+ + + +
+
+ + +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/index.html b/release/0.6.2/api/index.html new file mode 100644 index 00000000..b7269241 --- /dev/null +++ b/release/0.6.2/api/index.html @@ -0,0 +1,305 @@ + + + + + + + + + Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/objects.inv b/release/0.6.2/api/objects.inv new file mode 100644 index 0000000000000000000000000000000000000000..d64513b2eb86c01963a0d288653b4c4317c9b23b GIT binary patch literal 2314 zcmV+l3HA0PAX9K?X>NERX>N99Zgg*Qc_4OWa&u{KZXhxWBOp+6Z)#;@bUGkGS5qKF zL`w=IAXa5^b7^mGIv@%oAXI2&AaZ4GVQFq;WpW^IW*~HEX>%ZEX>4U6X>%ZBZ*6dL zWpi_7WFU2OX>MmAdTeQ8E(&(2W2}Xdrg`LY}%5?X8w3_}9ve}D{lVlrnsl?TiX>s+{{b)NmnUn zCY8lyZ&?dosnqOa`?2|eJJ+&OT*Qpmw|-gV%irt1Fq@CKRU`CAtnCYXz8v7PO0(o* zXw6cd39UQ`j^%rb1N5mWr<7!|O4nE4nm=9z=e@$veRgDEXsRH%$`1x=GGi=`+zVg#^wOTHK=nTt11&0 z1@!Ne0uUER5Lm=CYW@Hru>ysvUB@z}@(W<`OjgMYGknuRHW67WSqf$LGo$|TEDD2I zt~WgZ1a`r2U~Lsv_K!Xvo|Q7FMI%trhBZH zEH0TbLKPpx0T*m@p!Ze)lr7*4US~LWhd^;f#it7yq}0?kSMi~UggIH-CTO^_D#c`; z>8w4$WF$Y)fY|WPh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8M#h#RtH;6P zr|q0~U;j6H6Fba|?<8*iS&-Y?2XgatPi`fz>Hu$kZy?HL;;>)t>G48q;87;^Z#K3_ k@2*a$J?+iL-bP1T3#Ry{tJr?l>MYvpPxWy6Kiz<)hZ&S=?*IS* literal 0 HcmV?d00001 diff --git a/release/0.6.2/api/search.html b/release/0.6.2/api/search.html new file mode 100644 index 00000000..3a0e6dea --- /dev/null +++ b/release/0.6.2/api/search.html @@ -0,0 +1,260 @@ + + + + + + + Search - Contents + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ + + +
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + + + + \ No newline at end of file diff --git a/release/0.6.2/api/searchindex.js b/release/0.6.2/api/searchindex.js new file mode 100644 index 00000000..db44795b --- /dev/null +++ b/release/0.6.2/api/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({docnames:["cli/aws_ddk","core/aws_ddk_core","core/stubs/aws_ddk_core.base.BaseStack","core/stubs/aws_ddk_core.cicd.CICDPipelineStack","core/stubs/aws_ddk_core.config.Config","core/stubs/aws_ddk_core.config.JSONConfigStrategy","core/stubs/aws_ddk_core.pipelines.DataPipeline","core/stubs/aws_ddk_core.pipelines.DataStage","core/stubs/aws_ddk_core.pipelines.EventStage","core/stubs/aws_ddk_core.pipelines.StateMachineStage","core/stubs/aws_ddk_core.resources.DMSFactory","core/stubs/aws_ddk_core.resources.DataBrewFactory","core/stubs/aws_ddk_core.resources.GlueFactory","core/stubs/aws_ddk_core.resources.KMSFactory","core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory","core/stubs/aws_ddk_core.resources.KinesisStreamsFactory","core/stubs/aws_ddk_core.resources.LambdaFactory","core/stubs/aws_ddk_core.resources.S3Factory","core/stubs/aws_ddk_core.resources.SQSFactory","core/stubs/aws_ddk_core.resources.StepFunctionsFactory","core/stubs/aws_ddk_core.stages.AppFlowIngestionStage","core/stubs/aws_ddk_core.stages.AthenaSQLStage","core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage","core/stubs/aws_ddk_core.stages.DataBrewTransformStage","core/stubs/aws_ddk_core.stages.GlueTransformStage","core/stubs/aws_ddk_core.stages.KinesisToS3Stage","core/stubs/aws_ddk_core.stages.S3EventStage","core/stubs/aws_ddk_core.stages.SqsToLambdaStage","index"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["cli/aws_ddk.rst","core/aws_ddk_core.rst","core/stubs/aws_ddk_core.base.BaseStack.rst","core/stubs/aws_ddk_core.cicd.CICDPipelineStack.rst","core/stubs/aws_ddk_core.config.Config.rst","core/stubs/aws_ddk_core.config.JSONConfigStrategy.rst","core/stubs/aws_ddk_core.pipelines.DataPipeline.rst","core/stubs/aws_ddk_core.pipelines.DataStage.rst","core/stubs/aws_ddk_core.pipelines.EventStage.rst","core/stubs/aws_ddk_core.pipelines.StateMachineStage.rst","core/stubs/aws_ddk_core.resources.DMSFactory.rst","core/stubs/aws_ddk_core.resources.DataBrewFactory.rst","core/stubs/aws_ddk_core.resources.GlueFactory.rst","core/stubs/aws_ddk_core.resources.KMSFactory.rst","core/stubs/aws_ddk_core.resources.KinesisFirehoseFactory.rst","core/stubs/aws_ddk_core.resources.KinesisStreamsFactory.rst","core/stubs/aws_ddk_core.resources.LambdaFactory.rst","core/stubs/aws_ddk_core.resources.S3Factory.rst","core/stubs/aws_ddk_core.resources.SQSFactory.rst","core/stubs/aws_ddk_core.resources.StepFunctionsFactory.rst","core/stubs/aws_ddk_core.stages.AppFlowIngestionStage.rst","core/stubs/aws_ddk_core.stages.AthenaSQLStage.rst","core/stubs/aws_ddk_core.stages.DMSS3ToS3Stage.rst","core/stubs/aws_ddk_core.stages.DataBrewTransformStage.rst","core/stubs/aws_ddk_core.stages.GlueTransformStage.rst","core/stubs/aws_ddk_core.stages.KinesisToS3Stage.rst","core/stubs/aws_ddk_core.stages.S3EventStage.rst","core/stubs/aws_ddk_core.stages.SqsToLambdaStage.rst","index.rst"],objects:{"aws_ddk_core.base":[[2,0,1,"","BaseStack"]],"aws_ddk_core.base.BaseStack":[[2,1,1,"","__init__"]],"aws_ddk_core.cicd":[[3,0,1,"","CICDPipelineStack"]],"aws_ddk_core.cicd.CICDPipelineStack":[[3,1,1,"","__init__"],[3,1,1,"","add_checks"],[3,1,1,"","add_custom_stage"],[3,1,1,"","add_notifications"],[3,1,1,"","add_security_lint_stage"],[3,1,1,"","add_source_action"],[3,1,1,"","add_stage"],[3,1,1,"","add_synth_action"],[3,1,1,"","add_test_stage"],[3,1,1,"","add_wave"],[3,1,1,"","build"],[3,1,1,"","synth"]],"aws_ddk_core.config":[[4,0,1,"","Config"],[5,0,1,"","JSONConfigStrategy"]],"aws_ddk_core.config.Config":[[4,1,1,"","__init__"],[4,1,1,"","get_cdk_version"],[4,1,1,"","get_env"],[4,1,1,"","get_env_config"],[4,1,1,"","get_resource_config"],[4,1,1,"","get_tags"]],"aws_ddk_core.config.JSONConfigStrategy":[[5,1,1,"","__init__"],[5,1,1,"","get_config"]],"aws_ddk_core.pipelines":[[6,0,1,"","DataPipeline"],[7,0,1,"","DataStage"],[8,0,1,"","EventStage"],[9,0,1,"","StateMachineStage"]],"aws_ddk_core.pipelines.DataPipeline":[[6,1,1,"","__init__"],[6,1,1,"","add_notifications"],[6,1,1,"","add_rule"],[6,1,1,"","add_stage"]],"aws_ddk_core.pipelines.DataStage":[[7,1,1,"","__init__"],[7,1,1,"","add_alarm"],[7,2,1,"","cloudwatch_alarms"]],"aws_ddk_core.pipelines.EventStage":[[8,1,1,"","__init__"],[8,1,1,"","get_targets"]],"aws_ddk_core.pipelines.StateMachineStage":[[9,1,1,"","__init__"],[9,1,1,"","build_state_machine"],[9,1,1,"","get_event_pattern"],[9,1,1,"","get_targets"],[9,2,1,"","state_machine"]],"aws_ddk_core.resources":[[10,0,1,"","DMSFactory"],[11,0,1,"","DataBrewFactory"],[12,0,1,"","GlueFactory"],[13,0,1,"","KMSFactory"],[14,0,1,"","KinesisFirehoseFactory"],[15,0,1,"","KinesisStreamsFactory"],[16,0,1,"","LambdaFactory"],[17,0,1,"","S3Factory"],[18,0,1,"","SQSFactory"],[19,0,1,"","StepFunctionsFactory"],[1,3,1,"","pandas_sdk_layer"]],"aws_ddk_core.resources.DMSFactory":[[10,1,1,"","__init__"],[10,1,1,"","endpoint"],[10,1,1,"","endpoint_settings_s3"],[10,1,1,"","replication_instance"],[10,1,1,"","replication_task"]],"aws_ddk_core.resources.DataBrewFactory":[[11,1,1,"","__init__"],[11,1,1,"","job"]],"aws_ddk_core.resources.GlueFactory":[[12,1,1,"","__init__"],[12,1,1,"","job"]],"aws_ddk_core.resources.KMSFactory":[[13,1,1,"","__init__"],[13,1,1,"","key"]],"aws_ddk_core.resources.KinesisFirehoseFactory":[[14,1,1,"","__init__"],[14,1,1,"","delivery_stream"],[14,1,1,"","s3_destination"]],"aws_ddk_core.resources.KinesisStreamsFactory":[[15,1,1,"","__init__"],[15,1,1,"","data_stream"]],"aws_ddk_core.resources.LambdaFactory":[[16,1,1,"","__init__"],[16,1,1,"","function"]],"aws_ddk_core.resources.S3Factory":[[17,1,1,"","__init__"],[17,1,1,"","bucket"]],"aws_ddk_core.resources.SQSFactory":[[18,1,1,"","__init__"],[18,1,1,"","queue"]],"aws_ddk_core.resources.StepFunctionsFactory":[[19,1,1,"","__init__"],[19,1,1,"","state_machine"]],"aws_ddk_core.stages":[[20,0,1,"","AppFlowIngestionStage"],[21,0,1,"","AthenaSQLStage"],[22,0,1,"","DMSS3ToS3Stage"],[23,0,1,"","DataBrewTransformStage"],[24,0,1,"","GlueTransformStage"],[25,0,1,"","KinesisToS3Stage"],[26,0,1,"","S3EventStage"],[27,0,1,"","SqsToLambdaStage"]],"aws_ddk_core.stages.AppFlowIngestionStage":[[20,1,1,"","__init__"],[20,2,1,"","flow"]],"aws_ddk_core.stages.AthenaSQLStage":[[21,1,1,"","__init__"],[21,1,1,"","get_targets"]],"aws_ddk_core.stages.DMSS3ToS3Stage":[[22,1,1,"","__init__"],[22,2,1,"","event_pattern"],[22,1,1,"","get_event_pattern"],[22,1,1,"","get_targets"]],"aws_ddk_core.stages.DataBrewTransformStage":[[23,1,1,"","__init__"],[23,2,1,"","job"]],"aws_ddk_core.stages.GlueTransformStage":[[24,1,1,"","__init__"],[24,2,1,"","crawler"],[24,2,1,"","job"]],"aws_ddk_core.stages.KinesisToS3Stage":[[25,1,1,"","__init__"],[25,2,1,"","bucket"],[25,2,1,"","data_stream"],[25,2,1,"","delivery_stream"],[25,2,1,"","event_pattern"],[25,1,1,"","get_event_pattern"],[25,1,1,"","get_targets"]],"aws_ddk_core.stages.S3EventStage":[[26,1,1,"","__init__"],[26,2,1,"","event_pattern"],[26,1,1,"","get_event_pattern"]],"aws_ddk_core.stages.SqsToLambdaStage":[[27,1,1,"","__init__"],[27,2,1,"","dlq"],[27,2,1,"","function"],[27,1,1,"","get_event_pattern"],[27,1,1,"","get_targets"],[27,2,1,"","queue"]],"ddk-bootstrap":[[0,4,1,"cmdoption-ddk-bootstrap-e","--environment"],[0,4,1,"cmdoption-ddk-bootstrap-i","--iam-policies"],[0,4,1,"cmdoption-ddk-bootstrap-permissions-boundary","--permissions-boundary"],[0,4,1,"cmdoption-ddk-bootstrap-prefix","--prefix"],[0,4,1,"cmdoption-ddk-bootstrap-p","--profile"],[0,4,1,"cmdoption-ddk-bootstrap-qualifier","--qualifier"],[0,4,1,"cmdoption-ddk-bootstrap-r","--region"],[0,4,1,"cmdoption-ddk-bootstrap-t","--tags"],[0,4,1,"cmdoption-ddk-bootstrap-a","--trusted-accounts"],[0,4,1,"cmdoption-ddk-bootstrap-a","-a"],[0,4,1,"cmdoption-ddk-bootstrap-e","-e"],[0,4,1,"cmdoption-ddk-bootstrap-i","-i"],[0,4,1,"cmdoption-ddk-bootstrap-p","-p"],[0,4,1,"cmdoption-ddk-bootstrap-r","-r"],[0,4,1,"cmdoption-ddk-bootstrap-t","-t"]],"ddk-create-repository":[[0,4,1,"cmdoption-ddk-create-repository-d","--description"],[0,4,1,"cmdoption-ddk-create-repository-p","--profile"],[0,4,1,"cmdoption-ddk-create-repository-r","--region"],[0,4,1,"cmdoption-ddk-create-repository-t","--tags"],[0,4,1,"cmdoption-ddk-create-repository-d","-d"],[0,4,1,"cmdoption-ddk-create-repository-p","-p"],[0,4,1,"cmdoption-ddk-create-repository-r","-r"],[0,4,1,"cmdoption-ddk-create-repository-t","-t"],[0,4,1,"cmdoption-ddk-create-repository-arg-NAME","NAME"]],"ddk-deploy":[[0,4,1,"cmdoption-ddk-deploy-f","--force"],[0,4,1,"cmdoption-ddk-deploy-o","--output-dir"],[0,4,1,"cmdoption-ddk-deploy-p","--profile"],[0,4,1,"cmdoption-ddk-deploy-require-approval","--require-approval"],[0,4,1,"cmdoption-ddk-deploy-f","-f"],[0,4,1,"cmdoption-ddk-deploy-o","-o"],[0,4,1,"cmdoption-ddk-deploy-p","-p"],[0,4,1,"cmdoption-ddk-deploy-arg-STACKS","STACKS"]],"ddk-init":[[0,4,1,"cmdoption-ddk-init-e","--environment"],[0,4,1,"cmdoption-ddk-init-generate-only","--generate-only"],[0,4,1,"cmdoption-ddk-init-t","--template"],[0,4,1,"cmdoption-ddk-init-e","-e"],[0,4,1,"cmdoption-ddk-init-t","-t"],[0,4,1,"cmdoption-ddk-init-arg-NAME","NAME"]],ddk:[[0,4,1,"cmdoption-ddk-debug","--debug"],[0,4,1,"cmdoption-ddk-debug","--no-debug"],[0,4,1,"cmdoption-ddk-version","--version"]]},objnames:{"0":["py","class","Python class"],"1":["py","method","Python method"],"2":["py","property","Python property"],"3":["py","function","Python function"],"4":["std","cmdoption","program option"]},objtypes:{"0":"py:class","1":"py:method","2":"py:property","3":"py:function","4":"std:cmdoption"},terms:{"0":[1,27],"1":[0,7,9,11,12,13,14,15,16,20,21,23,24,25,27],"10":27,"111111111111":0,"120":[16,27],"128":[14,25],"15":20,"17":1,"1984":0,"2":[1,11,12,13,16,24],"222222222222":0,"256":[16,27],"3":[11,12,13,16,24],"30":13,"300":[14,25],"31":10,"3600":[11,12,15],"5":[7,14,25,27],"60":[14,25],"900":[14,25],"class":[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],"default":[0,1,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,20,21,23,24,25,26,27],"function":[10,14,15,16,17,18,19,20,21,23,24,27],"int":[7,9,10,11,12,15,16,20,21,23,24,25,27],"new":[0,25],"null":10,"public":[10,17],"return":[1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],"static":[10,11,12,13,14,15,16,17,18,19],"super":[7,8],"true":[0,7,9,10,13,14,17,20,21,23,24,25,27],"while":10,A:[0,10,11,14,15,24,25,27],By:6,For:[6,7,8,10,11,12,13,14,15,16,17,18,19,22,24,27],If:[0,1,2,10,12,14,15,20,23,24,25],It:[3,10,26,27],One:11,The:[0,3,7,9,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27],To:[7,8],_:3,__init__:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],_event_pattern:8,_queue:7,abil:3,abl:[3,10],about:10,access:[10,15,17],access_control:17,account:[0,2,3,4],acl:17,action:3,add:[3,6,7,8,9,14,20,21,23,24,25,27],add_alarm:7,add_check:3,add_custom_stag:3,add_notif:[3,6],add_rul:6,add_security_lint_stag:3,add_source_act:3,add_stag:[3,6],add_synth_act:3,add_test_stag:3,add_wav:3,addit:[2,3,9,10,11,12,13,14,15,16,17,18,19,20,21,23,24,27],additional_role_policy_stat:[9,20,21,23,24],address:10,after:[3,11,12,16,25,27],afterward:24,against:7,alarm:[7,9,20,21,23,24,25,27],alarm_comparison_oper:7,alarm_evaluation_period:7,alarm_id:7,alarm_metr:7,alarm_threshold:7,alarms_en:[7,9,20,21,23,24,25,27],alia:[13,15],all:[7,9,20,21,23,24,25,27],alloc:[10,12,16,27],allocated_storag:10,allow:[10,11,12,13,14,15,16,17,18,19,24],allow_all_outbound:16,allow_major_version_upgrad:10,allow_public_subnet:16,alwai:[0,11,12,13,16],amazon:[2,3,10,11,12,13,14,15,16,17,18,19,22,24,25,26,27],amazons3:26,amount:[10,16,27],an:[6,8,9,10,15,20,21,22,25,26,27],analyz:11,ani:[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],api:[3,10,11,12,13,14,15,16,17,18,19,20,21,23,24,27],app:3,appear:[14,25],appflow:20,appli:[0,10,11,15,17,18],applic:[2,3],approv:[0,3],ar:[0,3,8,9,10,11,12,13,14,15,16,17,18,19,21,22,24,25,27],arg:[0,2,3,6,7,8,9,20,21,22,23,24,25,26,27],argument:[0,2,11,12,13,16,20,21,23,24],arn1:0,arn2:0,arn:[0,2,3,10,11,23],artifact:[3,11],artifactori:3,ascii:10,assembl:[0,3],associ:[10,14],assum:14,athena:21,attach:0,attribut:[2,3,6,7,8,9,20,21,22,23,24,25,26,27],aurora:10,auto:6,auto_delete_object:17,auto_minor_version_upgrad:10,automat:[10,15],avail:10,availability_zon:10,availabilityzon:10,avoid:3,aw:[0,1,2,3,4,8,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],aws_appflow:20,aws_cdk:[1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],aws_cloudwatch:7,aws_codestarnotif:3,aws_databrew:[11,23],aws_ddk:28,aws_ddk_cor:28,aws_dm:10,aws_ev:[6,8,9,21,22,25,26,27],aws_glu:24,aws_glue_alpha:[12,24],aws_iam:[3,9,12,14,16,20,21,23,24,27],aws_kinesi:[14,15,25],aws_kinesisfirehos:14,aws_kinesisfirehose_alpha:[14,25],aws_kinesisfirehose_destin:14,aws_kinesisfirehose_destinations_alpha:[14,25],aws_km:[13,14,15,21,25],aws_lambda:[1,16,27],aws_log:[14,25],aws_s3:[14,17,22,25],aws_sn:6,aws_sq:[16,18,27],aws_stepfunct:[9,19],aws_stepfunctions_task:21,awslab:[2,3,20,21,23,24],az:10,azuredb:10,back:14,bandit:3,base:[3,26,28],batch:27,batch_siz:27,been:13,befor:[9,13,14,20,21,23,24,25,27],being:27,best:3,between:20,block:[3,17],block_al:17,block_public_access:17,blockpublicaccess:17,bool:[2,3,6,7,9,10,13,14,16,17,19,20,21,23,24,25,27],bootstrap:2,boundari:[0,2],branch:3,broaden:0,bucket:[3,10,14,17,18,21,22,25,26],bucket_fold:10,bucket_nam:[10,17,25,26],bucket_owner_full_control:17,bucket_prop:17,bucketaccesscontrol:17,bucketencrypt:17,bucketfold:10,buffer:[14,25],buffering_interv:[14,25],buffering_s:[14,25],build:[3,9],build_state_machin:[9,20,21,23,24],builder:3,c5:22,call:[3,16,27],can:[2,3,5,10,11,15,17,27],capac:[10,15],captur:26,catalog:21,catalog_nam:21,cd:3,cdc:10,cdk:[0,1,2,3,4,10,11,12,13,14,15,16,17,18,19,24,27],cdk_version:[3,4],cfn:3,cfncrawler:24,cfnendpoint:10,cfnflow:20,cfnjob:[11,23],cfnreplicationinst:10,cfnreplicationtask:10,chang:0,chap_sourc:22,chap_task:[10,22],charact:10,check:[3,20],choos:[10,15],chunki:3,ci:3,cicd:28,cicdpipelin:3,cli:0,cloud:[0,3,10],cloud_assembly_file_set:3,cloudform:[6,13,15],cloudwatch:[7,11,14,25],cloudwatch_alarm:7,cmk:[13,14],code:[0,3,16,27],codeartifact:3,codeartifact_domain:3,codeartifact_domain_own:3,codeartifact_repositori:3,codebuildstep:3,codecommit:3,codepipelin:3,codepipelinesourc:3,collect:24,com:[2,3,10,11,12,13,14,15,16,17,18,19,22,24,26,27],command:[0,3],common:[14,15,19],compar:[7,9,20,21,23,24,27],comparison:7,comparisonoper:7,complet:[10,11,12,13,14,15,16,17,18,19,24,25,27],compress:[14,25],comput:10,condit:10,config:[3,28],config_strategi:4,configstrategi:4,configur:[2,3,4,5,10,11,12,13,14,15,16,17,18,19,21],connect:[3,27],construct:[1,2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],constructor:3,consum:[6,11],contain:[0,3,4,5,10,20,21,23,24],content:18,content_based_dedupl:18,continu:3,core:[20,21,23,24],costcent:0,crawl:24,crawler:24,crawler_allow_failur:24,crawler_nam:24,crawler_rol:24,crawlerrunningexcept:24,creat:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,23,24,25,26],creation:[6,9,20,21,23,24,25],credenti:0,csv:10,custom:[3,6,14],customizingtask:[10,22],cw:[9,20,21,23,24,27],d:0,dai:13,data:[6,7,8,9,10,11,14,15,20,21,22,23,24,25,27,28],data_key_reus:18,data_output_prefix:[14,25],data_stream:[15,25],data_stream_en:25,databas:[21,24],database_nam:[21,24],databrew:[11,23],dataset:[11,23],dataset_nam:[11,23],datastag:[6,9,20,21,23,24],db2:10,dd:25,ddd:10,ddk:[1,2,3,4,5,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],dead:27,dead_letter_queu:[16,18],dead_letter_queue_en:[16,27],deadletterqueu:[18,27],debug:0,def:[7,8],default_argu:12,defaultstacksynthes:2,defin:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],definit:[9,10,22],delet:13,deliv:[14,25],deliveri:[3,14,25],delivery_delai:18,delivery_stream:[14,25],delivery_stream_nam:[14,25],deliverystream:14,depend:[10,11,12,13,14,15,16,17,18,19],deploi:[2,3],deploy:[0,3,10],dequeu:[18,27],describ:[8,9,21,22,25,26,27],descript:[0,6,7,8,9,12,16],destin:[10,14,22,25],destination_flow_config:20,destination_prop:14,destinationflowconfigproperti:20,destinations3backupprop:14,detail:[3,7,8],detail_typ:[7,8],determin:[4,11,16,27],dev:[0,3],devstag:3,dict:[2,3,4,9,20,21,23,24,27],dictionari:[4,5],differ:5,differnet:2,digit:10,dir:0,directori:0,disabl:[7,9,10,20,21,23,24,25,27],disambigu:2,displai:10,distinct:10,distribut:11,dlq:[16,27],dm:[10,22],doc:[2,3,10,11,12,13,14,15,16,17,18,19,22,24,26,27],docdb:10,document:[3,10,11,12,13,14,15,16,17,18,19,22,24,27],domain:3,domain_own:3,don:10,durat:[11,12,13,14,15,16,19,20,24,25,27],dure:[3,10],dynam:21,dynamodb:10,e:[0,1,3],east:0,effect:25,elasticsearch:10,empti:2,enabl:[2,7,9,10,16,19,20,21,23,24,25,26,27],enable_key_rot:13,enable_profiling_metr:12,enable_statist:10,encrypt:[3,10,11,13,14,15,17,18,21,25],encryption_kei:[14,15,21,25],encryption_mod:11,encryption_opt:21,encryptionkei:15,encryptionopt:21,end:10,endpoint:10,endpoint_prop:10,endpoint_s3_prop:10,endpoint_settings_s3:10,endpoint_settings_s3_prop:10,endpoint_typ:10,endpointarn:10,endpointtyp:10,enforc:[15,17],enforce_ssl:17,engin:10,engine_nam:10,engine_vers:10,ensur:3,env:[3,4],env_config:4,environ:[0,1,2,3,4,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],environment_id:[1,2,3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],error:[14,24,25,27],error_output_prefix:[14,25],evalu:[14,25],even:0,event:[3,6,8,9,21,22,25,26,27],event_bridge_en:17,event_nam:[8,26],event_pattern:[6,8,9,22,25,26,27],event_target:6,eventbridg:[17,25,26],eventpattern:[6,7,8,9,22,25,26,27],everi:24,exampl:[3,6,7,8,26],execpt:24,execut:[9,11,12,16,20,21,23,24,27],execute_security_lint:3,execute_test:3,exist:[3,6],exit:0,explicit:[11,12,13,16],extern:[10,15,22],external_table_definit:[10,22],externaltabledef:22,externaltabledefinit:10,f:0,factori:[10,11,12,13,14,15,16,17,18,19],fail:[9,14,20,21,23,24,25],failur:24,fals:[0,3,6,10,16,17,25,27],featur:3,fifo:27,file:[0,3,5,10,11,12,13,14,15,16,17,18,19],firehos:[14,15,25],firehose_prop:14,flow:20,flow_execution_status_check_period:20,flow_nam:20,fn:16,folder:10,follow:[11,12,13,14,16,25],forc:0,form:4,format:[10,22],framework:0,from:[0,1,2,3,4,5,7,8,11,12,13,14,16,17,18,22,27],front:25,full:10,function_nam:16,function_prop:[16,27],g:[0,3],gather:27,gener:[0,6,15],get:[4,5,8,9,21,22,24,25,26,27],get_cdk_vers:4,get_config:5,get_env:4,get_env_config:4,get_event_pattern:[7,8,9,22,25,26,27],get_resource_config:4,get_tag:4,get_target:[6,7,8,9,21,22,25,27],gigabyt:10,git:0,github:[2,3,20,21,23,24],given:[4,5],glue:[12,24],glue_crawler_arg:24,glue_job_arg:24,grant:17,greater_than_threshold:7,group:[10,14,25,27],guid:2,gzip:[14,25],ha:13,handler:[16,27],have:[2,10,17,25],helper:9,hh24:10,hh:25,hold:[14,25],hope:3,hour:15,how:[2,3,4,22,24],html:[2,3,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27],http:[2,3,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27],hyphen:10,i:[0,1],ialarm:7,iam:[0,9,10,14,20,21,23,24],iam_polici:0,ibucket:[14,17,22,25],ichain:9,id:[0,1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],idataprocessor:14,ideliverystream:[14,25],ident:0,identifi:[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],idestin:14,ifilesetproduc:3,ifunct:[16,27],ijob:[12,24],ikei:[13,14,15,25],ilayervers:27,iloggroup:[14,25],imetr:7,immedi:[14,25],implement:[7,8,26,27],implicitli:[14,25],includ:[2,3,10,11,12,13,14,15,16,17,18,19],incom:[14,25],index:28,indic:[10,13,14],infer:0,inform:[10,22],infrastructur:[3,7,8],ingest:[20,25],inherit:[2,7,8],initi:[10,24],input:[8,9,20,21,22,23,24,25,27],instanc:[3,4,6,10],integr:3,interfac:3,interpret:22,interv:24,invoc:27,invok:[8,9,14,21,22,25,27],io:[2,3,20,21,23,24],ip:10,iqueu:[16,18,27],irol:[12,14,16,24,27],iruletarget:[6,7,8,9,21,22,25,27],isecurityconfigur:12,isn:10,istream:[14,15],itop:6,its:[11,25],job:[11,12,23,24],job_arg:24,job_nam:[12,23,24],job_prop:[11,12],job_rol:24,job_role_arn:23,job_typ:23,jobexecut:[12,24],json:[3,4,5,10,11,12,13,14,15,16,17,18,19,22],jsonconfigstrategi:4,kafka:10,kb:10,kei:[2,3,5,10,11,13,14,15,18,21,25,26],key_prefix:26,key_prop:13,kind:[15,17],kinesi:[10,14,15,25],kinesis_delivery_stream_alarm_evaluation_period:25,kinesis_delivery_stream_alarm_threshold:25,kinesis_prop:15,km:[3,10,11,13,14,15,21,25],kms_key_id:10,kms_manag:18,kmskeyid:10,kwarg:[2,3,6,7,8,9,20,21,22,23,24,25,26,27],l1:24,lambda:[1,16,27],lambda_funct:27,lambda_function_errors_alarm_evaluation_period:27,lambda_function_errors_alarm_threshold:27,larg:22,latest:[1,2,3,10,20,21,22,23,24,26],layer:[1,27],layervers:1,leav:2,length:[14,25],letter:[10,27],level:[2,26],like:24,link:7,lint:3,list:[0,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],lmbda:1,load:[5,10],loc:3,local:0,locat:11,log:[0,11,14,25],log_group:[14,25],log_subscript:11,loggroup:14,logic:1,longer:24,lookup:1,lowercas:10,machin:[9,19,20,21,23,24],main:3,mainten:10,major:10,manag:[0,1,2,11,13,14],mani:24,manual:[0,3],manual_approv:3,map:[10,22],mariadb:10,master:[14,15],match:[6,8,9,21,22,25,27],max:10,max_batching_window:27,max_capac:11,max_concurrent_run:12,max_event_ag:16,max_file_s:10,max_message_size_byt:18,max_receive_count:27,max_retri:[11,12],maximum:[10,11,14,19,25,27],mb:[16,27],mebibyt:[14,25],memori:[10,16,27],memory_s:[16,27],messag:[18,27],message_group_id:27,method:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],metric:7,mi:10,migrat:10,migration_typ:10,min:10,minimum:[14,25,27],minor:10,minut:27,mm:25,mode:[11,15],modifi:3,modul:28,mongodb:10,more:[3,10,11,22],move:27,much:24,multi:[2,10],multi_az:10,multipl:[2,3,24],must:[10,11,15,25,26,27],mutat:3,my:[3,6,7],my_glue_stag:6,my_lambda_stag:6,mypipelin:3,mysql:10,mystag:[7,8],nag:3,name:[0,1,2,3,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,23,24,25,26,27],need:0,neptun:10,never:0,next:6,node:11,non:3,none:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],noqa:[20,21,23,24],notif:[3,6,17,25,26],notification_rul:3,notificationrul:3,notifications_top:6,notifications_topic_arn:3,number:[7,9,10,11,12,13,15,18,20,21,23,24,27],o:0,object:[10,14,16,20,24,25,26,27],occur:10,off:0,one:[6,11,25],onli:[0,2,10,15],opensearch:10,oper:7,option:[0,1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],oracl:10,order:[11,12,13,16,25,26],other:[2,10],otherwis:[3,11,12,13,15,16],output:[0,6,9,11,21,22,23,24,25,26,27],output_bucket_nam:21,output_dir:0,output_loc:11,output_object_kei:21,outputlocationproperti:11,outputproperti:[11,23],over:[7,9,20,21,23,24,27],overal:10,overrid:[3,6,25],override_rul:6,owner:3,p:0,page:[10,28],pair:2,panda:1,pandas_sdk_lay:1,parallel:3,paramat:9,paramet:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],parquet:10,particular:[15,24],pass:[9,20,21,23,24],path:[5,10,21],pattern:[6,8,9,22,25,26,27],pending_window:13,perform:[0,14],period:[7,9,13,20,21,23,24,25,27],permiss:[0,2,10,14,17],permissions_boundari:0,permissions_boundary_arn:2,physic:15,pipelin:[3,20,21,23,24,28],pipeline_arg:3,pipeline_nam:3,polici:[0,2,3,9,17,18,20,21,23,24],policystat:[3,9,20,21,23,24],possibl:3,postgr:10,postgresql:10,practic:3,predefin:[12,17],preexist:[23,24,25,27],prefer:[11,12,13,16],preferred_maintenance_window:10,prefix:[0,2,14,22,25,26],previou:6,previous_stag:6,privat:[3,10],process:[11,27],processor:14,produc:[3,9,22,25,26,27],profil:[0,11,16],project:0,properti:[2,3,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,23,24,25,26,27],protect:2,provid:[0,4,10,14,15,25],provis:15,publicly_access:10,pull:[1,3],pytest:3,python:[0,3,10,11,12,13,14,15,16,17,18,19,24,27],python_3_9:27,qualifi:[0,2],queri:21,query_str:21,query_string_path:21,queue:[7,16,18,27],queue_nam:18,queue_prop:[18,27],queueencrypt:18,r:0,rai:19,rang:[10,27],read:[4,5,14],receive_message_wait_tim:18,recip:[11,23],recipeproperti:[11,23],record:[14,15,25,27],redshift:10,refer:[10,11,12,13,14,15,16,17,18,19,24,27],region:[0,1,4,15],releas:[2,3,20,21,23,24],remain:15,remov:[13,17,18],removal_polici:[13,17,18],removalpolici:[13,17,18],replic:[10,22],replication_inst:10,replication_instance_arn:10,replication_instance_class:[10,22],replication_instance_identifi:10,replication_instance_prop:10,replication_subnet_group_identifi:10,replication_task:10,replication_task_prop:10,replication_task_set:10,repo:[0,3,4,5],repositori:3,repository_nam:3,repres:[4,6,7,8,10,11,20,21,22,23,24,25,26,27],request:17,requir:[0,7,8,10,23,27],require_approv:0,reserved_concurrent_execut:16,resourc:[0,4,28],resource_identifi:10,respect:[11,12,13,16],respons:10,retain:[13,17,18],retention_period:[15,18],retri:[11,24],retriev:[1,27],retry_attempt:16,reus:3,role:[0,3,9,10,11,12,14,16,20,21,23,24,27],role_arn:11,role_policy_stat:3,root:[4,5,26],rotat:[3,13],rout:[9,22,25,26,27],row:10,rule:[3,6,8,9,21,22,25,26,27],rule_nam:6,run:[3,12,19,20,23,24],runtim:[16,27],s3:[8,10,11,14,17,21,22,25,26],s3_backup:14,s3_destin:14,s3_manag:17,s3_set:10,s3bucket:14,s3settingsproperti:10,s:[7,9,22,24,25,26,27],same:2,save:3,schema_nam:10,scm:3,scope:[1,2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],sdk:1,search:28,second:[11,12,14,15,16,20,24,25,27],secur:[0,3,10,12],security_configur:12,see:[3,10,20,21,22,23,24],select:[9,22,25,26,27],self:[3,6,7,8],send:[3,17,18],sensit:0,sent:27,sequenc:[11,14],seri:[11,23],server:[11,14,15,17],servic:[13,17,18,19],service_access_role_arn:10,set:[0,2,3,10,14,15,25,27],sever:3,sfn:19,sh:3,shard:15,shard_count:15,should:[0,3,4,8,9,10,13,14,17,21,22,25,27],show:0,side:[11,14,15,17],simpl:[17,18],simplifi:9,singl:27,size:[10,11,14,25],skip:6,skip_rul:6,sn:[3,6],some:3,sourc:[0,3,8,10,14,16,22,27],source_act:3,source_bucket:22,source_bucket_prefix:22,source_endpoint_arn:10,source_flow_config:20,source_stream:14,sourceflowconfigproperti:20,specif:[0,3,6],specifi:[1,3,5,6,7,9,10,13,15,17,19,20,21,23,24,27],sq:[7,16,18,27],sql:21,sqlserver:10,sqs_queue:27,sqsfactori:7,sqsqueue:7,sse:11,ssl:[3,17],stack:[0,1,2,3,13,17,18],stage:[3,6,7,8,9,28],stage_id:3,stage_nam:3,standard:2,start:[3,21],state:[9,19,20,21,23,24],state_machin:[9,19],state_machine_arg:[20,21,23,24],state_machine_failed_executions_alarm_evaluation_period:[9,20,21,23,24],state_machine_failed_executions_alarm_threshold:[9,20,21,23,24],state_machine_input:[9,20,21,23,24],state_machine_nam:19,state_machine_prop:19,state_machine_retry_backoff_r:24,state_machine_retry_interv:24,state_machine_retry_max_attempt:24,state_machine_typ:19,statemachin:[9,19,21],statemachinestag:[20,21,23,24],statemachinetyp:19,statement:[9,20,21,23,24],statist:[7,10],statu:[11,20],step:[3,11,19,20,21,23,24],stepfunct:24,storag:[10,17],store:[10,15,24],str:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],strategi:4,stream:[14,15,25],stream_mod:15,stream_nam:15,streamencrypt:[14,15],streammod:15,string:10,structur:[0,3,9,22,25,26,27],stub:[20,21,23,24],subnet:10,success:24,suppli:[15,20,24],support:[2,3,10,11,12,13,14,15,16,17,18,19],sybas:10,synth:3,synth_act:3,synthes:[0,2,3],system:[0,10],t:[0,10],tabl:[10,22],table_map:[10,22],table_nam:10,tablemap:22,tag:[0,2,4],tag_kei:4,target:[6,8,9,10,21,22,24,25,26,27],target_bucket:22,target_bucket_prefix:22,target_endpoint_arn:10,targetsproperti:24,task:[10,20,22],taskproperti:20,taskset:10,templat:0,termin:[2,11,12,16,27],termination_protect:2,test:3,thei:[18,24],them:[3,9,14,22,25,26,27],thi:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],threshold:[7,9,20,21,23,24,25,27],through:15,time:[10,11,12,14,16,18,19,20,24,25,27],timeout:[11,12,16,19,27],topic:[3,6],trace:[16,19],tracing_en:19,transform:[11,14,23,24,25,27],trigger:[9,20,21,23,24,27],trust:0,trusted_account:0,turn:[0,17],type:[1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],unencrypt:[14,15],union:[10,26],uniqu:10,unsuccessfulli:[18,27],up:[0,10,14],upgrad:10,url:0,us:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,21,22,23,25,26,27],user:3,userguid:[10,22,26],usual:6,utc:10,v1:[3,10,14,15],v2:[2,3,10,11,12,13,16,17,18,19,24,27],valid:[10,27],valu:[1,2,4,7,10,11,12,13,16,25,27],version:[0,1,3,4,10,17],via:[3,6,15],virtual:[0,10],visibility_timeout:[18,27],vpc:10,vpc_security_group_id:10,wait:[13,20,24],wave:3,weekli:10,were:18,what:[0,8,9,18,21,22,25,27],when:[1,8,9,10,12,13,14,17,18,21,22,25,27],where:[0,4,14,25],whether:[10,13,17,18,19],which:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],window:[10,27],wire:6,within:[2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],without:0,work:10,worker:12,worker_count:12,worker_typ:12,workertyp:12,workgroup:21,write:[14,25],x:19,you:[2,10,14,15,25],your:[0,3,10,14,25],yyyi:25,zone:10},titles:["aws_ddk package","aws_ddk_core package","aws_ddk_core.base.BaseStack","aws_ddk_core.cicd.CICDPipelineStack","aws_ddk_core.config.Config","aws_ddk_core.config.JSONConfigStrategy","aws_ddk_core.pipelines.DataPipeline","aws_ddk_core.pipelines.DataStage","aws_ddk_core.pipelines.EventStage","aws_ddk_core.pipelines.StateMachineStage","aws_ddk_core.resources.DMSFactory","aws_ddk_core.resources.DataBrewFactory","aws_ddk_core.resources.GlueFactory","aws_ddk_core.resources.KMSFactory","aws_ddk_core.resources.KinesisFirehoseFactory","aws_ddk_core.resources.KinesisStreamsFactory","aws_ddk_core.resources.LambdaFactory","aws_ddk_core.resources.S3Factory","aws_ddk_core.resources.SQSFactory","aws_ddk_core.resources.StepFunctionsFactory","aws_ddk_core.stages.AppFlowIngestionStage","aws_ddk_core.stages.AthenaSQLStage","aws_ddk_core.stages.DMSS3ToS3Stage","aws_ddk_core.stages.DataBrewTransformStage","aws_ddk_core.stages.GlueTransformStage","aws_ddk_core.stages.KinesisToS3Stage","aws_ddk_core.stages.S3EventStage","aws_ddk_core.stages.SqsToLambdaStage","AWS DDK API Documentation"],titleterms:{api:28,appflowingestionstag:20,athenasqlstag:21,aw:28,aws_ddk:0,aws_ddk_cor:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],base:[1,2],basestack:2,bootstrap:0,cicd:[1,3],cicdpipelinestack:3,config:[1,4,5],creat:0,data:1,databrewfactori:11,databrewtransformstag:23,datapipelin:6,datastag:7,ddk:[0,28],deploi:0,dmsfactori:10,dmss3tos3stag:22,document:28,eventstag:8,gluefactori:12,gluetransformstag:24,indic:28,init:0,jsonconfigstrategi:5,kinesisfirehosefactori:14,kinesisstreamsfactori:15,kinesistos3stag:25,kmsfactori:13,lambdafactori:16,packag:[0,1,28],pipelin:[1,6,7,8,9],repositori:0,resourc:[1,10,11,12,13,14,15,16,17,18,19],s3eventstag:26,s3factori:17,sqsfactori:18,sqstolambdastag:27,stage:[1,20,21,22,23,24,25,26,27],statemachinestag:9,stepfunctionsfactori:19,tabl:28}}) \ No newline at end of file diff --git a/release/0.6.2/how-to/custom-stage.html b/release/0.6.2/how-to/custom-stage.html new file mode 100644 index 00000000..8ad7dd70 --- /dev/null +++ b/release/0.6.2/how-to/custom-stage.html @@ -0,0 +1,197 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ +

I’ll write a file to my application stack package called sns.py.

+ +
from typing import Any, Dict, List, Optional
+
+from aws_cdk.aws_events import EventPattern, IRuleTarget
+from aws_cdk.aws_events_targets import SnsTopic
+from aws_cdk.aws_sns import Topic, ITopic
+from aws_cdk.aws_kms import Key
+from aws_ddk_core.pipelines import DataStage # importing DataStage class for ddk core
+from constructs import Construct
+
+
+class SNSStage(DataStage):
+    """
+    Class that represents a SNS DDK Stage.
+    """
+
+    def __init__(
+        self,
+        scope: Construct,
+        id: str,
+        environment_id: str,
+        **kwargs: Any,
+    ) -> None:
+        """
+        DDK SNS stage.
+        """
+        super().__init__(scope, id, **kwargs)
+
+        self._event_detail_type: str = f"{id}-event-type"
+
+        # create topic
+        self._topic = Topic(
+            self, f"{id}-topic"
+        )
+
+    @property
+    def topic(self) -> ITopic:
+        """
+        Return: Topic
+            The SNS Topic
+        """
+        return self._topic
+
+    # method to retrieve Event Pattern
+    def get_event_pattern(self) -> Optional[EventPattern]:
+        return EventPattern(
+            detail_type=[self._event_detail_type],
+        )
+
+    # methord to retrieve Event Rule Target
+    def get_targets(self) -> Optional[List[IRuleTarget]]:
+        return [SnsTopic(self._topic)]
+
+
+ +

Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

+ +
.....
+from ddk_app.sns import SNSStage # import my class I built above
+
+
+class DDKApplicationStack(BaseStack):
+    def __init__(
+        self, scope: Construct, id: str, environment_id: str, **kwargs: Any
+    ) -> None:
+        super().__init__(scope, id, environment_id, **kwargs)
+
+        # create my bucket
+        ddk_bucket = S3Factory.bucket(
+            self,
+            "ddk-bucket",
+            environment_id,
+        )
+        
+        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
+        s3_event_stage = S3EventStage(
+            scope=self,
+            id="ddk-s3-event",
+            environment_id=environment_id,
+            event_names=["Object Created"],
+            bucket_name=ddk_bucket.bucket_name,
+            key_prefix="raw",
+        )
+
+        # instantiate my sns stage class
+        sns_stage = SNSStage(
+            scope=self,
+            id="ddk-sns",
+            environment_id=environment_id,
+        )
+
+        # construct my DataPipeline
+        (
+            DataPipeline(scope=self, id="ddk-pipeline")
+                .add_stage(s3_event_stage)
+                .add_stage(sns_stage)
+        )    
+
+ +

Build

+

Use ddk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.2/how-to/ddk-configuration.html b/release/0.6.2/how-to/ddk-configuration.html new file mode 100644 index 00000000..a1697f70 --- /dev/null +++ b/release/0.6.2/how-to/ddk-configuration.html @@ -0,0 +1,165 @@ + + + + + + +DDK Configuration | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core supports environment specific configuration with the usage of the ddk.json file. You can leverage it to apply different configurations to each of your DDK environments.

+ +

Example

+
{
+    "environments": {
+        "dev": {
+            "account": "222222222222",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"},
+                "ddk-sqs-lambda-function": {"memory_size": 128},
+                "ddk-sqs-lambda-queue": {"retention_period": 5040}
+            },
+            "tags": {"CostCenter": "1984"}
+        },
+        "prod": {
+            "account": "333333333333",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"},
+                "ddk-sqs-lambda-function": {"memory_size": 512},
+                "ddk-sqs-lambda-queue": {"retention_period": 10080}
+            },
+            "tags": {"CostCenter": "2014"}
+        }
+    }
+}
+
+ +

For instance, based on the above configuration, the DDK Lambda function resource with id ddk-sqs-lambda-function has a memory size of 128 Mb in in the dev environment compared to 512 in the prod environment.

+ +

Implementation

+

Most DDK constructs can be configured via ddk.json. For example, the DDK BaseStack class allows the following parameters:

+
prefix: str
+qualifier: str
+termination_protection: str
+tags: Dict[str, str]
+
+

If the construct supports environment configuration, it will be listed in the documentation under Supported DDK Environment Configuration. See the API Documentation for a list of DDK constructs.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in ddk.json within the resources{} object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2},
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

Property Precedence

+

Explicit properties will always take precedence over config values.

+ +
# A DDK resource is configured with an explicit property 'shard_count'
+data_stream = KinesisStreamsFactory.data_stream(
+    self, id=f"example-data-stream", environment_id=environment_id, shard_count=10
+)
+
+

The above Kinesis Data Stream will be created with value ‘shard_count=10’ even if ddk.json has a different value

+ +

This configuration value would be overridden

+
{
+    "environments": {
+        "test": {
+            "account": "3333333333333",
+            "region": "us-east-1",
+            "resources": {
+                "example-data-stream": {"shard_count": 5},
+            }
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.2/how-to/index.html b/release/0.6.2/how-to/index.html new file mode 100644 index 00000000..38b49550 --- /dev/null +++ b/release/0.6.2/how-to/index.html @@ -0,0 +1,1841 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.6.2 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configuration + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.2/how-to/multi-account-deployment.html b/release/0.6.2/how-to/multi-account-deployment.html new file mode 100644 index 00000000..60cce467 --- /dev/null +++ b/release/0.6.2/how-to/multi-account-deployment.html @@ -0,0 +1,188 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

ddk bootstrap allows us to setup cross-account access for a DDK account.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: ddk bootstrap -e cicd -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: ddk bootstrap -e dev -p ${DEV_AWS_PROFILE} -a 111111111111
  • +
  • [test]: ddk bootstrap -e test -p ${TEST_AWS_PROFILE} -a 111111111111
  • +
+ +

The dev & test environments are bootstrapped with -a 111111111111 to setup the required cross account access for the cicd account to manage resources within them.

+ +

Configuration

+

ddk.json must be configured with all your accounts.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ +

app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

+ +
#!/usr/bin/env python3
+
+import aws_cdk as cdk
+from aws_ddk_core.cicd import CICDPipelineStack
+from ddk_app.ddk_app_stack import DDKApplicationStack
+from aws_ddk_core.config import Config
+
+
+app = cdk.App()
+
+
+class ApplicationStage(cdk.Stage):
+    def __init__(
+        self,
+        scope,
+        environment_id: str,
+        **kwargs,
+    ) -> None:
+        super().__init__(scope, f"Ddk{environment_id.title()}Application", **kwargs)
+        DDKApplicationStack(self, "DataPipeline", environment_id)
+
+
+config = Config()
+(
+    CICDPipelineStack(
+        app,
+        id="DdkCodePipeline",
+        environment_id="cicd",
+        pipeline_name="ddk-application-pipeline",
+    )
+    .add_source_action(repository_name="ddk-repository")
+    .add_synth_action()
+    .build()
+    .add_stage("dev", ApplicationStage(app, "dev", env=config.get_env("dev")))
+    .add_stage("test", ApplicationStage(app, "test", env=config.get_env("test")))
+    .synth()
+)
+
+app.synth()
+
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
ddk create-repository ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running ddk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment. +Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.2/how-to/private-artifactory.html b/release/0.6.2/how-to/private-artifactory.html new file mode 100644 index 00000000..11002559 --- /dev/null +++ b/release/0.6.2/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for PII). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.2/how-to/spend-first-hour.html b/release/0.6.2/how-to/spend-first-hour.html new file mode 100644 index 00000000..84843d7b --- /dev/null +++ b/release/0.6.2/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.2/how-to/understand-concepts.html b/release/0.6.2/how-to/understand-concepts.html new file mode 100644 index 00000000..37744e35 --- /dev/null +++ b/release/0.6.2/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK over the AWS CDK?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/0.6.2/index.html b/release/0.6.2/index.html new file mode 100644 index 00000000..f3f7ffe3 --- /dev/null +++ b/release/0.6.2/index.html @@ -0,0 +1,1847 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

0.6.2 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configuration + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.0/how-to/custom-bootstrap.html b/release/1.0.0-beta.0/how-to/custom-bootstrap.html new file mode 100644 index 00000000..efb5b4f7 --- /dev/null +++ b/release/1.0.0-beta.0/how-to/custom-bootstrap.html @@ -0,0 +1,188 @@ + + + + + + +Different methods to bootstrap DDK apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Bootstrapping

+ +

The AWS CDK requires some resources to be provisioned before deploying stacks into an account (i.e. IAM Roles, S3 Bucket for Assets). This is referred to as bootstrapping.

+ +

DDK Bootstrap Cases

+

The following are possible ways of bootstrapping an AWS account for DDK apps.

+ +

Default

+

If no configuration is provided the DDK stacks will leverage the default resources provisioned by cdk bootstrap.

+ +

Use Configurator()

+

See Configurator for more details on the construct.

+ +

Schema

+

Configurator supports the following schema, at both the global and environment level, for defining bootstrap resources for your CDK app.

+ +

All fields are optional

+
    +
  • bootstrap +
      +
    • prefix: (The prefix of role names created to be used in a stack’s synthesizer)
    • +
    • qualifier: (The qualifier used to bootstrap this stack)
    • +
    • file_assets_bucket_name: (File assets bucket name)
    • +
    • stack_version_ssm_parameter: (Default bootstrap stack version SSM parameter)
    • +
    • deploy_role: (Default deploy role ARN)
    • +
    • file_publish_role: (Default asset publishing role ARN for file (S3) assets)
    • +
    • cfn_execution_role: (Default CloudFormation role ARN)
    • +
    • lookup_role: (Default lookup role ARN for missing values)
    • +
    +
  • +
+ +

Configurator uses the DefaultStackSynthesizer construct under the hood

+ +
Example
+
"environments": {
+  "dev": {
+    "bootstrap": {
+      "qualifier": "abcdefgh",
+      "bucket_name": "ddk-abcdefgh-assets-000000000000-us-west-2",
+      "deploy_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh--deploy-role-000000000000-us-west-2",
+      "cfn_execution_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-cfn-exec-role-000000000000-us-west-2",
+      "file_publish_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-file-publishing-role-000000000000-us-west-2",
+      "lookup_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh-lookup-role-000000000000-us-west-2",
+    }
+  }
+}
+
+ +

The stack synthesizer will be created for your app using all values specified in Configurator() and resort to default cdk bootstrap values when not explicitly set.

+ +

Using Legacy DDK Bootstrap Roles

+

If you are familiar with the <1.0.0 versions of the DDK there was a separate package including a CLI with a ddk bootstrap -e ${ENVIRONMENT_ID} command. This builds a bootstrap stack with slightly modified resources as compared to CDK’s native bootstrap method. Let’s look at an example of using existing DDK bootstrap roles with newer versions of the DDK core library.

+ +
    +
  1. Assume we have deployed a DDK bootstrap stack for a dev environment in our account. +Stack
  2. +
  3. Configure ddk.json with the prefix: ddk to indicate any stacks created within this environment should use ddk bootstrap roles. +
    {
    +  "environments": {
    + "dev": {
    +   "bootstrap": {
    +     "prefix": "ddk"
    +   }
    + }
    +  }
    +}
    +
    +
  4. +
  5. Use BaseStack with the dev environment passed as a property.
  6. +
+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack } from "aws-ddk-core";
    +
    +const app = new cdk.App();
    +const stack = new BaseStack(app, 'ExampleStack', {environmentId: "dev"})
    +console.log(stack.synthesizer)
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +from aws_ddk_core import BaseStack
    +
    +app = cdk.App()
    +stack = BaseStack(app, "ExampleStack", environment_id: "dev")
    +print(stack.synthesizer)
    +app.synth()
    +
    +
  • + +
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.0/how-to/custom-stage.html b/release/1.0.0-beta.0/how-to/custom-stage.html new file mode 100644 index 00000000..67f2b195 --- /dev/null +++ b/release/1.0.0-beta.0/how-to/custom-stage.html @@ -0,0 +1,286 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ + +
    + +
  • +

    I’ll write a file to my application stack package called sns.ts.

    + +
    import * as events from "aws-cdk-lib/aws-events";
    +import * as eventsTargets from "aws-cdk-lib/aws-events-targets";
    +import * as sns from "aws-cdk-lib/aws-sns";
    +import { DataStage } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +
    +
    +export class SNSStage extends DataStage {
    +  readonly topic: sns.ITopic;
    +  readonly targets?: events.IRuleTarget[];
    +  readonly eventPattern?: events.EventPattern;
    +  
    +  constructor(scope: Construct, id: string) {
    +    super(scope, id, {});
    +    this.topic = new sns.Topic(this, `${id}-topic`)
    +    this.eventPattern = {
    +      detailType: [`${id}-event-type`],
    +    }
    +    this.targets = [new eventsTargets.SnsTopic(this.topic)]
    +  }
    +
    +}
    +
    +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack, BaseStackProps, DataPipeline, S3EventStage, S3Factory } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +import { SNSStage } from "../lib/sns";
    +
    +
    +export class DDKApplicationStack extends BaseStack {
    +  
    +  constructor(scope: Construct, id: string, props?: BaseStackProps) {
    +    super(scope, id, props ?? {});
    +    const ddkBucket = S3Factory.bucket(this, "ddk-bucket", {})
    +    const s3EventStage = new S3EventStage(
    +      this,
    +      "ddk-s3-event",
    +      {
    +        eventNames: ["Object Created"],
    +        bucket: ddkBucket,
    +        keyPrefix: "raw",
    +      }
    +    )
    +    const snsStage = new SNSStage(
    +      this, "ddk-sns"
    +    )
    +    new DataPipeline(
    +      this, "ddk-pipeline", {}
    +    ).addStage({stage: s3EventStage}).addStage({stage: snsStage})
    +  }
    +
    +}
    +
    +const app = new cdk.App();
    +new DDKApplicationStack(app, "test-stack")
    +
    +
    + +
  • + +
  • +

    I’ll write a file to my application stack package called sns.py.

    +
    from typing import Any, List, Optional
    +
    +from aws_cdk.aws_events import EventPattern, IRuleTarget
    +from aws_cdk.aws_events_targets import SnsTopic
    +from aws_cdk.aws_sns import ITopic, Topic
    +from aws_ddk_core import DataStage  # importing DataStage class for ddk core
    +from constructs import Construct
    +
    +
    +class SNSStage(DataStage):
    +    """
    +    Class that represents a SNS DDK Stage.
    +    """
    +
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        id: str,
    +        **kwargs: Any,
    +    ) -> None:
    +        """
    +        DDK SNS stage.
    +        """
    +        super().__init__(scope, id, **kwargs)
    +
    +        self._event_detail_type: str = f"{id}-event-type"
    +
    +        # create topic
    +        self._topic = Topic(self, f"{id}-topic")
    +
    +    @property
    +    def topic(self) -> ITopic:
    +        """
    +        Return: Topic
    +            The SNS Topic
    +        """
    +        return self._topic
    +
    +    # method to retrieve Event Pattern
    +    @property
    +    def event_pattern(self) -> Optional[EventPattern]:
    +        return EventPattern(
    +            detail_type=[self._event_detail_type],
    +        )
    +
    +    # methord to retrieve Event Rule Target
    +    @property
    +    def targets(self) -> Optional[List[IRuleTarget]]:
    +        return [SnsTopic(self._topic)]
    +
    +
    +
    + +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    from typing import Any
    +
    +import aws_cdk as cdk
    +from aws_ddk_core import BaseStack, DataPipeline, S3EventStage, S3Factory
    +from constructs import Construct
    +
    +from ddk_app.sns import SNSStage  # import my class I built above
    +
    +app = cdk.App()
    +
    +
    +class DDKApplicationStack(BaseStack):
    +    def __init__(self, scope: Construct, id: str, **kwargs: Any) -> None:
    +        super().__init__(scope, id, **kwargs)
    +
    +        # create my bucket
    +        ddk_bucket = S3Factory.bucket(
    +            self,
    +            "ddk-bucket",
    +        )
    +
    +        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
    +        s3_event_stage = S3EventStage(
    +            scope=self,
    +            id="ddk-s3-event",
    +            event_names=["Object Created"],
    +            bucket=ddk_bucket,
    +            key_prefix="raw",
    +        )
    +
    +        # instantiate my sns stage class
    +        sns_stage = SNSStage(
    +            scope=self,
    +            id="ddk-sns",
    +        )
    +
    +        # construct my DataPipeline
    +        (
    +            DataPipeline(scope=self, id="ddk-pipeline")
    +            .add_stage(stage=s3_event_stage)
    +            .add_stage(stage=sns_stage)
    +        )
    +
    +
    +DDKApplicationStack(app, "test-stack")
    +
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Build

+

Use cdk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.0/how-to/ddk-configuration.html b/release/1.0.0-beta.0/how-to/ddk-configuration.html new file mode 100644 index 00000000..4fe7aea6 --- /dev/null +++ b/release/1.0.0-beta.0/how-to/ddk-configuration.html @@ -0,0 +1,351 @@ + + + + + + +DDK Configurator | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core offers a construct: Configurator which can be used to manage configuration across several DDK environments. Note: This is a completely optional construct and users should feel free to build their own configuration mechanisms when necessary.

+ +

Example

+

In this example we will begin by creating a configuration file.

+
touch ddk.json
+
+

And updating it to include the following JSON data.

+ +
{
+  "tags": {
+    "Global:Tag:foo": "bar"
+  },
+  "account": "111111111111",
+  "region": "us-east-1",
+  "environments": {
+    "dev": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 128,
+          "Runtime": "python3.9"
+        },
+        "devStage/Queue": {
+          "VisibilityTimeout": 180
+        },
+        "AWS::S3::Bucket": {
+          "RemovalPolicy": "DESTROY"
+        }
+      },
+      "tags": {"CostCenter": "2014"},
+      "props": {
+        "special_prop": "foobar"
+      }
+    },
+    "prod": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 1024,
+          "Runtime": "python3.9"
+        }
+      },
+      "tags": {"CostCenter": "2015"}
+    }
+  }
+}
+
+ +

Let’s breakdown what’s included in this configuration file.

+ +
    +
  • A tag "Global:Tag:foo": "bar" is defined globally which will be applied to any scope Configurator is used on regardless of environment.
  • +
  • account & region are defined globally which can be accessed from Configurator.getEnvironment() to be used where a cdk.Environment is applicable.
  • +
  • environments is an object that includes configuration for any environments we would like to use. In this case there is one for dev and one for prod.
  • +
  • We include account & region in the environment which can be accessed to be used where a cdk.Environment is applicable.
  • +
  • The resources block contains any property overrides you would like to set. In this case we are overriding MemorySize & Runtime in our Lambda Functions, setting VisibilityTimeout for our SQS queue in dev and setting DESTROY removal policy for our S3 Bucket in dev. This will be explained in more detail below.
  • +
+ +

Next let’s create a CDK file using Configurator to control resources in our stacks.

+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import * as lambda from "aws-cdk-lib/aws-lambda";
    +import * as s3 from "aws-cdk-lib/aws-s3";
    +import {
    +  BaseStack,
    +  Configurator,
    +  DataPipeline,
    +  S3EventStage,
    +  SqsToLambdaStage,
    +} from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +const app = new cdk.App();
    +
    +class ExampleStack extends BaseStack {
    +  constructor(scope: Construct, environment: string) {
    +    super(scope, `${environment}Resources`, {});
    +    const s3Stage = new S3EventStage(this, `MyEventBucket${environment}`, {
    +      bucket: new s3.Bucket(this, `MyBucket${environment}`),
    +      eventNames: ["Object Created"],
    +    });
    +    const sqsToLambdaStage = new SqsToLambdaStage(this, `${environment}Stage`, {
    +      lambdaFunctionProps: {
    +        code: lambda.Code.fromInline(
    +          "def lambda_handler(event, context): pass;"
    +        ),
    +        handler: "lambda_function.lambda_handler",
    +        runtime: lambda.Runtime.PYTHON_3_8,
    +      },
    +    });
    +    new DataPipeline(this, `${environment}DataPipeline`, {})
    +      .addStage({ stage: s3Stage })
    +      .addStage({ stage: sqsToLambdaStage });
    +    new Configurator(this, "./ddk.json", environment);
    +  }
    +}
    +
    +// Dev Stack
    +new ExampleStack(app, "dev");
    +
    +// Prod Stack
    +new ExampleStack(app, "prod");
    +
    + +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
    + +
  • + +
  • +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
    +
  • + +
+ +

Now let’s synthesize our templates to examine Configurator in action.

+ +
cdk synth devResources
+cdk synth prodResources
+
+ +

If we take a look at the SQS Queue in devResources

+ +
devStageQueue44060536:
+    Type: AWS::SQS::Queue
+    Properties:
+      Tags:
+        - Key: CostCenter
+          Value: "2014"
+        - Key: Global:Tag:foo
+          Value: bar
+      VisibilityTimeout: 180
+    UpdateReplacePolicy: Delete
+    DeletionPolicy: Delete
+    Metadata:
+      aws:cdk:path: devResources/devStage/Queue/Resource
+
+ +

We can see that VisibilityTimeout has been updated as well as both the global tag and environment tag have been added to the resource. The same should follow for the other resources called out by the configuration.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in Configurator within the resources{} object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2},
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

All resources of a given type e.g. AWS::Lambda::Function can be configured as well, but this will override properties for any resource matching that type within a following scope Configurator has been applied to. For example:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "AWS::Lambda::Function": {
+                    "MemorySize": 512,
+                }
+            },
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.0/how-to/index.html b/release/1.0.0-beta.0/how-to/index.html new file mode 100644 index 00000000..a33dee21 --- /dev/null +++ b/release/1.0.0-beta.0/how-to/index.html @@ -0,0 +1,1847 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.0.0-beta.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.0/how-to/multi-account-deployment.html b/release/1.0.0-beta.0/how-to/multi-account-deployment.html new file mode 100644 index 00000000..6f263268 --- /dev/null +++ b/release/1.0.0-beta.0/how-to/multi-account-deployment.html @@ -0,0 +1,278 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

cdk bootstrap allows us to setup cross-account access for your AWS accounts.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: cdk bootstrap -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: cdk bootstrap -p ${DEV_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
  • [test]: cdk bootstrap -e test -p ${TEST_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
+ +

The dev & test environments are bootstrapped with --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess to setup the required cross account access for the cicd account to manage resources within them.

+ +

[Optional] Configuration

+

A preferred solution is to store environment configuration in a file e.g. ddk.json.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ + +
    + +
  • +

    You can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { CICDPipelineStack, Configurator } from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +export class ApplicationStage extends cdk.Stage {
    +  constructor(
    +    scope: Construct,
    +    id: string,
    +    environmentId: string,
    +    props?: cdk.StageProps
    +  ) {
    +    super(scope, `Ddk${environmentId}Application`, props ?? {});
    +    new cdk.Stack(this, `DataPipeline${environmentId}`);
    +  }
    +}
    +
    +const app = new cdk.App();
    +
    +new CICDPipelineStack(app, "DdkCodePipeline", {
    +  environmentId: "cicd",
    +  pipelineName: "ddk-application-pipeline",
    +  env: Configurator.getEnvironment({
    +    configPath: "./ddk.json",
    +    environmentId: "cicd",
    +  }),
    +})
    +  .addSourceAction({ repositoryName: "ddk-repository" })
    +  .addSynthAction()
    +  .buildPipeline()
    +  .addStage({
    +    stageId: "dev",
    +    stage: new ApplicationStage(app, "dev stage", "dev", {
    +      env: Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "dev",
    +      }),
    +    }),
    +  })
    +  .addStage({
    +    stageId: "test",
    +    stage: new ApplicationStage(app, "test stage", "test", {
    +      env: Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "test",
    +      }),
    +    }),
    +  })
    +  .synth();
    +
    +
    +
  • + +
  • +

    app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import aws_cdk as cdk
    +from aws_ddk_core import CICDPipelineStack, Configurator
    +
    +app = cdk.App()
    +
    +
    +class ApplicationStage(cdk.Stage):
    +    def __init__(
    +        self,
    +        scope,
    +        environment_id: str,
    +        **kwargs,
    +    ) -> None:
    +        super().__init__(scope, f"Ddk{environment_id.title()}Application", **kwargs)
    +        cdk.Stack(self, "DataPipeline")
    +
    +
    +(
    +    CICDPipelineStack(
    +        app,
    +        id="DdkCodePipeline",
    +        environment_id="cicd",
    +        pipeline_name="ddk-application-pipeline",
    +        env=Configurator.get_environment(
    +            config_path="./ddk.json", environment_id="cicd"
    +        ),
    +    )
    +    .add_source_action(repository_name="ddk-repository")
    +    .add_synth_action()
    +    .build_pipeline()
    +    .add_stage(
    +        stage_id="dev",
    +        stage=ApplicationStage(
    +            app,
    +            "dev",
    +            env=Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="dev"
    +            ),
    +        ),
    +    )
    +    .add_stage(
    +        stage_id="test",
    +        stage=ApplicationStage(
    +            app,
    +            "test",
    +            env=Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="test"
    +            ),
    +        ),
    +    )
    +    .synth()
    +)
    +
    +app.synth()
    +
    + +
  • + +
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
aws codecommit create-repository --repository-name ddk-repository
+git init
+git remote add origin https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running cdk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment. +Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.0/how-to/private-artifactory.html b/release/1.0.0-beta.0/how-to/private-artifactory.html new file mode 100644 index 00000000..d7302b7f --- /dev/null +++ b/release/1.0.0-beta.0/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for PII). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.0/how-to/spend-first-hour.html b/release/1.0.0-beta.0/how-to/spend-first-hour.html new file mode 100644 index 00000000..28e27ebf --- /dev/null +++ b/release/1.0.0-beta.0/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.0/how-to/understand-concepts.html b/release/1.0.0-beta.0/how-to/understand-concepts.html new file mode 100644 index 00000000..e936ce97 --- /dev/null +++ b/release/1.0.0-beta.0/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK in CDK Applications?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.0/index.html b/release/1.0.0-beta.0/index.html new file mode 100644 index 00000000..64c4063e --- /dev/null +++ b/release/1.0.0-beta.0/index.html @@ -0,0 +1,1853 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.0.0-beta.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.1/how-to/custom-bootstrap.html b/release/1.0.0-beta.1/how-to/custom-bootstrap.html new file mode 100644 index 00000000..546a10a8 --- /dev/null +++ b/release/1.0.0-beta.1/how-to/custom-bootstrap.html @@ -0,0 +1,188 @@ + + + + + + +Different methods to bootstrap DDK apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Bootstrapping

+ +

The AWS CDK requires some resources to be provisioned before deploying stacks into an account (i.e. IAM Roles, S3 Bucket for Assets). This is referred to as bootstrapping.

+ +

DDK Bootstrap Cases

+

The following are possible ways of bootstrapping an AWS account for DDK apps.

+ +

Default

+

If no configuration is provided the DDK stacks will leverage the default resources provisioned by cdk bootstrap.

+ +

Use Configurator()

+

See Configurator for more details on the construct.

+ +

Schema

+

Configurator supports the following schema, at both the global and environment level, for defining bootstrap resources for your CDK app.

+ +

All fields are optional

+
    +
  • bootstrap +
      +
    • prefix: (The prefix of role names created to be used in a stack’s synthesizer)
    • +
    • qualifier: (The qualifier used to bootstrap this stack)
    • +
    • file_assets_bucket_name: (File assets bucket name)
    • +
    • stack_version_ssm_parameter: (Default bootstrap stack version SSM parameter)
    • +
    • deploy_role: (Default deploy role ARN)
    • +
    • file_publish_role: (Default asset publishing role ARN for file (S3) assets)
    • +
    • cfn_execution_role: (Default CloudFormation role ARN)
    • +
    • lookup_role: (Default lookup role ARN for missing values)
    • +
    +
  • +
+ +

Configurator uses the DefaultStackSynthesizer construct under the hood

+ +
Example
+
"environments": {
+  "dev": {
+    "bootstrap": {
+      "qualifier": "abcdefgh",
+      "bucket_name": "ddk-abcdefgh-assets-000000000000-us-west-2",
+      "deploy_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh--deploy-role-000000000000-us-west-2",
+      "cfn_execution_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-cfn-exec-role-000000000000-us-west-2",
+      "file_publish_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-file-publishing-role-000000000000-us-west-2",
+      "lookup_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh-lookup-role-000000000000-us-west-2",
+    }
+  }
+}
+
+ +

The stack synthesizer will be created for your app using all values specified in Configurator() and resort to default cdk bootstrap values when not explicitly set.

+ +

Using Legacy DDK Bootstrap Roles

+

If you are familiar with the <1.0.0 versions of the DDK there was a separate package including a CLI with a ddk bootstrap -e ${ENVIRONMENT_ID} command. This builds a bootstrap stack with slightly modified resources as compared to CDK’s native bootstrap method. Let’s look at an example of using existing DDK bootstrap roles with newer versions of the DDK core library.

+ +
    +
  1. Assume we have deployed a DDK bootstrap stack for a dev environment in our account. +Stack
  2. +
  3. Configure ddk.json with the prefix: ddk to indicate any stacks created within this environment should use ddk bootstrap roles. +
    {
    +  "environments": {
    + "dev": {
    +   "bootstrap": {
    +     "prefix": "ddk"
    +   }
    + }
    +  }
    +}
    +
    +
  4. +
  5. Use BaseStack with the dev environment passed as a property.
  6. +
+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack } from "aws-ddk-core";
    +
    +const app = new cdk.App();
    +const stack = new BaseStack(app, 'ExampleStack', {environmentId: "dev"})
    +console.log(stack.synthesizer)
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +from aws_ddk_core import BaseStack
    +
    +app = cdk.App()
    +stack = BaseStack(app, "ExampleStack", environment_id: "dev")
    +print(stack.synthesizer)
    +app.synth()
    +
    +
  • + +
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.1/how-to/custom-stage.html b/release/1.0.0-beta.1/how-to/custom-stage.html new file mode 100644 index 00000000..8df2d095 --- /dev/null +++ b/release/1.0.0-beta.1/how-to/custom-stage.html @@ -0,0 +1,286 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ + +
    + +
  • +

    I’ll write a file to my application stack package called sns.ts.

    + +
    import * as events from "aws-cdk-lib/aws-events";
    +import * as eventsTargets from "aws-cdk-lib/aws-events-targets";
    +import * as sns from "aws-cdk-lib/aws-sns";
    +import { DataStage } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +
    +
    +export class SNSStage extends DataStage {
    +  readonly topic: sns.ITopic;
    +  readonly targets?: events.IRuleTarget[];
    +  readonly eventPattern?: events.EventPattern;
    +  
    +  constructor(scope: Construct, id: string) {
    +    super(scope, id, {});
    +    this.topic = new sns.Topic(this, `${id}-topic`)
    +    this.eventPattern = {
    +      detailType: [`${id}-event-type`],
    +    }
    +    this.targets = [new eventsTargets.SnsTopic(this.topic)]
    +  }
    +
    +}
    +
    +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack, BaseStackProps, DataPipeline, S3EventStage, S3Factory } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +import { SNSStage } from "../lib/sns";
    +
    +
    +export class DDKApplicationStack extends BaseStack {
    +  
    +  constructor(scope: Construct, id: string, props?: BaseStackProps) {
    +    super(scope, id, props ?? {});
    +    const ddkBucket = S3Factory.bucket(this, "ddk-bucket", {})
    +    const s3EventStage = new S3EventStage(
    +      this,
    +      "ddk-s3-event",
    +      {
    +        eventNames: ["Object Created"],
    +        bucket: ddkBucket,
    +        keyPrefix: "raw",
    +      }
    +    )
    +    const snsStage = new SNSStage(
    +      this, "ddk-sns"
    +    )
    +    new DataPipeline(
    +      this, "ddk-pipeline", {}
    +    ).addStage({stage: s3EventStage}).addStage({stage: snsStage})
    +  }
    +
    +}
    +
    +const app = new cdk.App();
    +new DDKApplicationStack(app, "test-stack")
    +
    +
    + +
  • + +
  • +

    I’ll write a file to my application stack package called sns.py.

    +
    from typing import Any, List, Optional
    +
    +from aws_cdk.aws_events import EventPattern, IRuleTarget
    +from aws_cdk.aws_events_targets import SnsTopic
    +from aws_cdk.aws_sns import ITopic, Topic
    +from aws_ddk_core import DataStage  # importing DataStage class for ddk core
    +from constructs import Construct
    +
    +
    +class SNSStage(DataStage):
    +    """
    +    Class that represents a SNS DDK Stage.
    +    """
    +
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        id: str,
    +        **kwargs: Any,
    +    ) -> None:
    +        """
    +        DDK SNS stage.
    +        """
    +        super().__init__(scope, id, **kwargs)
    +
    +        self._event_detail_type: str = f"{id}-event-type"
    +
    +        # create topic
    +        self._topic = Topic(self, f"{id}-topic")
    +
    +    @property
    +    def topic(self) -> ITopic:
    +        """
    +        Return: Topic
    +            The SNS Topic
    +        """
    +        return self._topic
    +
    +    # method to retrieve Event Pattern
    +    @property
    +    def event_pattern(self) -> Optional[EventPattern]:
    +        return EventPattern(
    +            detail_type=[self._event_detail_type],
    +        )
    +
    +    # methord to retrieve Event Rule Target
    +    @property
    +    def targets(self) -> Optional[List[IRuleTarget]]:
    +        return [SnsTopic(self._topic)]
    +
    +
    +
    + +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    from typing import Any
    +
    +import aws_cdk as cdk
    +from aws_ddk_core import BaseStack, DataPipeline, S3EventStage, S3Factory
    +from constructs import Construct
    +
    +from ddk_app.sns import SNSStage  # import my class I built above
    +
    +app = cdk.App()
    +
    +
    +class DDKApplicationStack(BaseStack):
    +    def __init__(self, scope: Construct, id: str, **kwargs: Any) -> None:
    +        super().__init__(scope, id, **kwargs)
    +
    +        # create my bucket
    +        ddk_bucket = S3Factory.bucket(
    +            self,
    +            "ddk-bucket",
    +        )
    +
    +        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
    +        s3_event_stage = S3EventStage(
    +            scope=self,
    +            id="ddk-s3-event",
    +            event_names=["Object Created"],
    +            bucket=ddk_bucket,
    +            key_prefix="raw",
    +        )
    +
    +        # instantiate my sns stage class
    +        sns_stage = SNSStage(
    +            scope=self,
    +            id="ddk-sns",
    +        )
    +
    +        # construct my DataPipeline
    +        (
    +            DataPipeline(scope=self, id="ddk-pipeline")
    +            .add_stage(stage=s3_event_stage)
    +            .add_stage(stage=sns_stage)
    +        )
    +
    +
    +DDKApplicationStack(app, "test-stack")
    +
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Build

+

Use cdk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.1/how-to/ddk-configuration.html b/release/1.0.0-beta.1/how-to/ddk-configuration.html new file mode 100644 index 00000000..8fbd27b6 --- /dev/null +++ b/release/1.0.0-beta.1/how-to/ddk-configuration.html @@ -0,0 +1,351 @@ + + + + + + +DDK Configurator | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core offers a construct: Configurator which can be used to manage configuration across several DDK environments. Note: This is a completely optional construct and users should feel free to build their own configuration mechanisms when necessary.

+ +

Example

+

In this example we will begin by creating a configuration file.

+
touch ddk.json
+
+

And updating it to include the following JSON data.

+ +
{
+  "tags": {
+    "Global:Tag:foo": "bar"
+  },
+  "account": "111111111111",
+  "region": "us-east-1",
+  "environments": {
+    "dev": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 128,
+          "Runtime": "python3.9"
+        },
+        "devStage/Queue": {
+          "VisibilityTimeout": 180
+        },
+        "AWS::S3::Bucket": {
+          "RemovalPolicy": "DESTROY"
+        }
+      },
+      "tags": {"CostCenter": "2014"},
+      "props": {
+        "special_prop": "foobar"
+      }
+    },
+    "prod": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 1024,
+          "Runtime": "python3.9"
+        }
+      },
+      "tags": {"CostCenter": "2015"}
+    }
+  }
+}
+
+ +

Let’s breakdown what’s included in this configuration file.

+ +
    +
  • A tag "Global:Tag:foo": "bar" is defined globally which will be applied to any scope Configurator is used on regardless of environment.
  • +
  • account & region are defined globally which can be accessed from Configurator.getEnvironment() to be used where a cdk.Environment is applicable.
  • +
  • environments is an object that includes configuration for any environments we would like to use. In this case there is one for dev and one for prod.
  • +
  • We include account & region in the environment which can be accessed to be used where a cdk.Environment is applicable.
  • +
  • The resources block contains any property overrides you would like to set. In this case we are overriding MemorySize & Runtime in our Lambda Functions, setting VisibilityTimeout for our SQS queue in dev and setting DESTROY removal policy for our S3 Bucket in dev. This will be explained in more detail below.
  • +
+ +

Next let’s create a CDK file using Configurator to control resources in our stacks.

+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import * as lambda from "aws-cdk-lib/aws-lambda";
    +import * as s3 from "aws-cdk-lib/aws-s3";
    +import {
    +  BaseStack,
    +  Configurator,
    +  DataPipeline,
    +  S3EventStage,
    +  SqsToLambdaStage,
    +} from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +const app = new cdk.App();
    +
    +class ExampleStack extends BaseStack {
    +  constructor(scope: Construct, environment: string) {
    +    super(scope, `${environment}Resources`, {});
    +    const s3Stage = new S3EventStage(this, `MyEventBucket${environment}`, {
    +      bucket: new s3.Bucket(this, `MyBucket${environment}`),
    +      eventNames: ["Object Created"],
    +    });
    +    const sqsToLambdaStage = new SqsToLambdaStage(this, `${environment}Stage`, {
    +      lambdaFunctionProps: {
    +        code: lambda.Code.fromInline(
    +          "def lambda_handler(event, context): pass;"
    +        ),
    +        handler: "lambda_function.lambda_handler",
    +        runtime: lambda.Runtime.PYTHON_3_8,
    +      },
    +    });
    +    new DataPipeline(this, `${environment}DataPipeline`, {})
    +      .addStage({ stage: s3Stage })
    +      .addStage({ stage: sqsToLambdaStage });
    +    new Configurator(this, "./ddk.json", environment);
    +  }
    +}
    +
    +// Dev Stack
    +new ExampleStack(app, "dev");
    +
    +// Prod Stack
    +new ExampleStack(app, "prod");
    +
    + +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
    + +
  • + +
  • +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
    +
  • + +
+ +

Now let’s synthesize our templates to examine Configurator in action.

+ +
cdk synth devResources
+cdk synth prodResources
+
+ +

If we take a look at the SQS Queue in devResources

+ +
devStageQueue44060536:
+    Type: AWS::SQS::Queue
+    Properties:
+      Tags:
+        - Key: CostCenter
+          Value: "2014"
+        - Key: Global:Tag:foo
+          Value: bar
+      VisibilityTimeout: 180
+    UpdateReplacePolicy: Delete
+    DeletionPolicy: Delete
+    Metadata:
+      aws:cdk:path: devResources/devStage/Queue/Resource
+
+ +

We can see that VisibilityTimeout has been updated as well as both the global tag and environment tag have been added to the resource. The same should follow for the other resources called out by the configuration.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in Configurator within the resources{} object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2},
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

All resources of a given type e.g. AWS::Lambda::Function can be configured as well, but this will override properties for any resource matching that type within a following scope Configurator has been applied to. For example:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "AWS::Lambda::Function": {
+                    "MemorySize": 512,
+                }
+            },
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.1/how-to/index.html b/release/1.0.0-beta.1/how-to/index.html new file mode 100644 index 00000000..5cae2671 --- /dev/null +++ b/release/1.0.0-beta.1/how-to/index.html @@ -0,0 +1,1847 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.0.0-beta.1 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.1/how-to/multi-account-deployment.html b/release/1.0.0-beta.1/how-to/multi-account-deployment.html new file mode 100644 index 00000000..31926fa3 --- /dev/null +++ b/release/1.0.0-beta.1/how-to/multi-account-deployment.html @@ -0,0 +1,278 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

cdk bootstrap allows us to setup cross-account access for your AWS accounts.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: cdk bootstrap -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: cdk bootstrap -p ${DEV_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
  • [test]: cdk bootstrap -e test -p ${TEST_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
+ +

The dev & test environments are bootstrapped with --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess to setup the required cross account access for the cicd account to manage resources within them.

+ +

[Optional] Configuration

+

A preferred solution is to store environment configuration in a file e.g. ddk.json.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ + +
    + +
  • +

    You can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { CICDPipelineStack, Configurator } from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +export class ApplicationStage extends cdk.Stage {
    +  constructor(
    +    scope: Construct,
    +    id: string,
    +    environmentId: string,
    +    props?: cdk.StageProps
    +  ) {
    +    super(scope, `Ddk${environmentId}Application`, props ?? {});
    +    new cdk.Stack(this, `DataPipeline${environmentId}`);
    +  }
    +}
    +
    +const app = new cdk.App();
    +
    +new CICDPipelineStack(app, "DdkCodePipeline", {
    +  environmentId: "cicd",
    +  pipelineName: "ddk-application-pipeline",
    +  env: Configurator.getEnvironment({
    +    configPath: "./ddk.json",
    +    environmentId: "cicd",
    +  }),
    +})
    +  .addSourceAction({ repositoryName: "ddk-repository" })
    +  .addSynthAction()
    +  .buildPipeline()
    +  .addStage({
    +    stageId: "dev",
    +    stage: new ApplicationStage(app, "dev stage", "dev", {
    +      env: Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "dev",
    +      }),
    +    }),
    +  })
    +  .addStage({
    +    stageId: "test",
    +    stage: new ApplicationStage(app, "test stage", "test", {
    +      env: Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "test",
    +      }),
    +    }),
    +  })
    +  .synth();
    +
    +
    +
  • + +
  • +

    app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import aws_cdk as cdk
    +from aws_ddk_core import CICDPipelineStack, Configurator
    +
    +app = cdk.App()
    +
    +
    +class ApplicationStage(cdk.Stage):
    +    def __init__(
    +        self,
    +        scope,
    +        environment_id: str,
    +        **kwargs,
    +    ) -> None:
    +        super().__init__(scope, f"Ddk{environment_id.title()}Application", **kwargs)
    +        cdk.Stack(self, "DataPipeline")
    +
    +
    +(
    +    CICDPipelineStack(
    +        app,
    +        id="DdkCodePipeline",
    +        environment_id="cicd",
    +        pipeline_name="ddk-application-pipeline",
    +        env=Configurator.get_environment(
    +            config_path="./ddk.json", environment_id="cicd"
    +        ),
    +    )
    +    .add_source_action(repository_name="ddk-repository")
    +    .add_synth_action()
    +    .build_pipeline()
    +    .add_stage(
    +        stage_id="dev",
    +        stage=ApplicationStage(
    +            app,
    +            "dev",
    +            env=Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="dev"
    +            ),
    +        ),
    +    )
    +    .add_stage(
    +        stage_id="test",
    +        stage=ApplicationStage(
    +            app,
    +            "test",
    +            env=Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="test"
    +            ),
    +        ),
    +    )
    +    .synth()
    +)
    +
    +app.synth()
    +
    + +
  • + +
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
aws codecommit create-repository --repository-name ddk-repository
+git init
+git remote add origin https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running cdk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment. +Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.1/how-to/private-artifactory.html b/release/1.0.0-beta.1/how-to/private-artifactory.html new file mode 100644 index 00000000..d2a43f8b --- /dev/null +++ b/release/1.0.0-beta.1/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for PII). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.1/how-to/spend-first-hour.html b/release/1.0.0-beta.1/how-to/spend-first-hour.html new file mode 100644 index 00000000..751d96ca --- /dev/null +++ b/release/1.0.0-beta.1/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.1/how-to/understand-concepts.html b/release/1.0.0-beta.1/how-to/understand-concepts.html new file mode 100644 index 00000000..282270ec --- /dev/null +++ b/release/1.0.0-beta.1/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK in CDK Applications?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-beta.1/index.html b/release/1.0.0-beta.1/index.html new file mode 100644 index 00000000..a933d385 --- /dev/null +++ b/release/1.0.0-beta.1/index.html @@ -0,0 +1,1853 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.0.0-beta.1 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-rc.0/how-to/custom-bootstrap.html b/release/1.0.0-rc.0/how-to/custom-bootstrap.html new file mode 100644 index 00000000..e06afe1b --- /dev/null +++ b/release/1.0.0-rc.0/how-to/custom-bootstrap.html @@ -0,0 +1,188 @@ + + + + + + +Different methods to bootstrap DDK apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Bootstrapping

+ +

The AWS CDK requires some resources to be provisioned before deploying stacks into an account (i.e. IAM Roles, S3 Bucket for Assets). This is referred to as bootstrapping.

+ +

DDK Bootstrap Cases

+

The following are possible ways of bootstrapping an AWS account for DDK apps.

+ +

Default

+

If no configuration is provided the DDK stacks will leverage the default resources provisioned by cdk bootstrap.

+ +

Use Configurator()

+

See Configurator for more details on the construct.

+ +

Schema

+

Configurator supports the following schema, at both the global and environment level, for defining bootstrap resources for your CDK app.

+ +

All fields are optional

+
    +
  • bootstrap +
      +
    • prefix: (The prefix of role names created to be used in a stack’s synthesizer)
    • +
    • qualifier: (The qualifier used to bootstrap this stack)
    • +
    • file_assets_bucket_name: (File assets bucket name)
    • +
    • stack_version_ssm_parameter: (Default bootstrap stack version SSM parameter)
    • +
    • deploy_role: (Default deploy role ARN)
    • +
    • file_publish_role: (Default asset publishing role ARN for file (S3) assets)
    • +
    • cfn_execution_role: (Default CloudFormation role ARN)
    • +
    • lookup_role: (Default lookup role ARN for missing values)
    • +
    +
  • +
+ +

Configurator uses the DefaultStackSynthesizer construct under the hood

+ +
Example
+
"environments": {
+  "dev": {
+    "bootstrap": {
+      "qualifier": "abcdefgh",
+      "bucket_name": "ddk-abcdefgh-assets-000000000000-us-west-2",
+      "deploy_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh--deploy-role-000000000000-us-west-2",
+      "cfn_execution_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-cfn-exec-role-000000000000-us-west-2",
+      "file_publish_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-file-publishing-role-000000000000-us-west-2",
+      "lookup_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh-lookup-role-000000000000-us-west-2",
+    }
+  }
+}
+
+ +

The stack synthesizer will be created for your app using all values specified in Configurator() and resort to default cdk bootstrap values when not explicitly set.

+ +

Using Legacy DDK Bootstrap Roles

+

If you are familiar with the <1.0.0 versions of the DDK there was a separate package including a CLI with a ddk bootstrap -e ${ENVIRONMENT_ID} command. This builds a bootstrap stack with slightly modified resources as compared to CDK’s native bootstrap method. Let’s look at an example of using existing DDK bootstrap roles with newer versions of the DDK core library.

+ +
    +
  1. Assume we have deployed a DDK bootstrap stack for a dev environment in our account. +Stack
  2. +
  3. Configure ddk.json with the prefix: ddk to indicate any stacks created within this environment should use ddk bootstrap roles. +
    {
    +  "environments": {
    + "dev": {
    +   "bootstrap": {
    +     "prefix": "ddk"
    +   }
    + }
    +  }
    +}
    +
    +
  4. +
  5. Use BaseStack with the dev environment passed as a property.
  6. +
+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack } from "aws-ddk-core";
    +
    +const app = new cdk.App();
    +const stack = new BaseStack(app, 'ExampleStack', {environmentId: "dev"})
    +console.log(stack.synthesizer)
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +from aws_ddk_core import BaseStack
    +
    +app = cdk.App()
    +stack = BaseStack(app, "ExampleStack", environment_id: "dev")
    +print(stack.synthesizer)
    +app.synth()
    +
    +
  • + +
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-rc.0/how-to/custom-stage.html b/release/1.0.0-rc.0/how-to/custom-stage.html new file mode 100644 index 00000000..c80dc5f8 --- /dev/null +++ b/release/1.0.0-rc.0/how-to/custom-stage.html @@ -0,0 +1,287 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ + +
    + +
  • +

    I’ll write a file to my application stack package called sns.ts.

    + +
    import * as events from "aws-cdk-lib/aws-events";
    +import * as eventsTargets from "aws-cdk-lib/aws-events-targets";
    +import * as sns from "aws-cdk-lib/aws-sns";
    +import { DataStage } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +
    +
    +export class SNSStage extends DataStage {
    +  readonly topic: sns.ITopic;
    +  readonly targets?: events.IRuleTarget[];
    +  readonly eventPattern?: events.EventPattern;
    +  
    +  constructor(scope: Construct, id: string) {
    +    super(scope, id, {});
    +    this.topic = new sns.Topic(this, "SNS Topic")
    +    this.eventPattern = {
    +      detailType: [`${id}-event-type`],
    +    }
    +    this.targets = [new eventsTargets.SnsTopic(this.topic)]
    +  }
    +
    +}
    +
    +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack, BaseStackProps, DataPipeline, S3EventStage, S3Factory } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +import { SNSStage } from "../lib/sns";
    +
    +
    +export class DDKApplicationStack extends BaseStack {
    +  
    +  constructor(scope: Construct, id: string, props?: BaseStackProps) {
    +    super(scope, id, props ?? {});
    +    const ddkBucket = S3Factory.bucket(this, "Bucket", {})
    +    const s3EventStage = new S3EventStage(
    +      this,
    +      "S3 Event Stage",
    +      {
    +        eventNames: ["Object Created"],
    +        bucket: ddkBucket,
    +        keyPrefix: "raw",
    +      }
    +    )
    +    const snsStage = new SNSStage(
    +      this, "SNS Stage"
    +    )
    +    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: s3EventStage}).addStage({stage: snsStage})
    +  }
    +
    +}
    +
    +const app = new cdk.App();
    +new DDKApplicationStack(app, "CustomStageStack");
    +
    +app.synth();
    +
    +
    + +
  • + +
  • +

    I’ll write a file to my application stack package called sns.py.

    +
    from typing import Any, List, Optional
    +
    +from aws_cdk.aws_events import EventPattern, IRuleTarget
    +from aws_cdk.aws_events_targets import SnsTopic
    +from aws_cdk.aws_sns import ITopic, Topic
    +from aws_ddk_core import DataStage  # importing DataStage class for ddk core
    +from constructs import Construct
    +
    +
    +class SNSStage(DataStage):
    +    """
    +    Class that represents a SNS DDK Stage.
    +    """
    +
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        id: str,
    +        **kwargs: Any,
    +    ) -> None:
    +        """
    +        DDK SNS stage.
    +        """
    +        super().__init__(scope, id, **kwargs)
    +
    +        self._event_detail_type: str = f"{id}-event-type"
    +
    +        # create topic
    +        self._topic = Topic(self, f"SNS Topic")
    +
    +    @property
    +    def topic(self) -> ITopic:
    +        """
    +        Return: Topic
    +            The SNS Topic
    +        """
    +        return self._topic
    +
    +    # method to retrieve Event Pattern
    +    @property
    +    def event_pattern(self) -> Optional[EventPattern]:
    +        return EventPattern(
    +            detail_type=[self._event_detail_type],
    +        )
    +
    +    # methord to retrieve Event Rule Target
    +    @property
    +    def targets(self) -> Optional[List[IRuleTarget]]:
    +        return [SnsTopic(self._topic)]
    +
    +
    +
    + +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    from typing import Any
    +
    +import aws_cdk as cdk
    +from aws_ddk_core import BaseStack, DataPipeline, S3EventStage, S3Factory
    +from constructs import Construct
    +
    +from ddk_app.sns import SNSStage  # import my class I built above
    +
    +
    +class DDKApplicationStack(BaseStack):
    +    def __init__(self, scope: Construct, id: str, **kwargs: Any) -> None:
    +        super().__init__(scope, id, **kwargs)
    +
    +        # create my bucket
    +        ddk_bucket = S3Factory.bucket(
    +            self,
    +            "Bucket",
    +        )
    +
    +        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
    +        s3_event_stage = S3EventStage(
    +            scope=self,
    +            id="S3 Event Stage",
    +            event_names=["Object Created"],
    +            bucket=ddk_bucket,
    +            key_prefix="raw",
    +        )
    +
    +        # instantiate my sns stage class
    +        sns_stage = SNSStage(
    +            scope=self,
    +            id="SNS Stage",
    +        )
    +
    +        # construct my DataPipeline
    +        (
    +            DataPipeline(scope=self, id="DDK Pipeline")
    +            .add_stage(stage=s3_event_stage)
    +            .add_stage(stage=sns_stage)
    +        )
    +
    +
    +app = cdk.App()
    +
    +DDKApplicationStack(app, "CustomStageStack")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Build

+

Use cdk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-rc.0/how-to/ddk-configuration.html b/release/1.0.0-rc.0/how-to/ddk-configuration.html new file mode 100644 index 00000000..d16f2c70 --- /dev/null +++ b/release/1.0.0-rc.0/how-to/ddk-configuration.html @@ -0,0 +1,307 @@ + + + + + + +DDK Configurator | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core offers a construct: Configurator which can be used to manage configuration across several DDK environments. Note: This is a completely optional construct and users should feel free to build their own configuration mechanisms when necessary.

+ +

Example

+

In this example we will begin by creating a configuration file.

+
touch ddk.json
+
+

And updating it to include the following JSON data.

+ +
{
+  "tags": {
+    "Global:Tag:foo": "bar"
+  },
+  "account": "111111111111",
+  "region": "us-east-1",
+  "environments": {
+    "dev": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 128,
+          "Runtime": "python3.9"
+        },
+        "devStage/Queue": {
+          "VisibilityTimeout": 180
+        },
+        "AWS::S3::Bucket": {
+          "RemovalPolicy": "DESTROY"
+        }
+      },
+      "tags": {"CostCenter": "2014"},
+      "props": {
+        "special_prop": "foobar"
+      }
+    },
+    "prod": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 1024,
+          "Runtime": "python3.9"
+        }
+      },
+      "tags": {"CostCenter": "2015"}
+    }
+  }
+}
+
+ +

Let’s breakdown what’s included in this configuration file.

+ +
    +
  • A tag "Global:Tag:foo": "bar" is defined globally which will be applied to any scope Configurator is used on regardless of environment.
  • +
  • account & region are defined globally which can be accessed from Configurator.getEnvironment() to be used where a cdk.Environment is applicable.
  • +
  • environments is an object that includes configuration for any environments we would like to use. In this case there is one for dev and one for prod.
  • +
  • We include account & region in the environment which can be accessed to be used where a cdk.Environment is applicable.
  • +
  • The resources block contains any property overrides you would like to set. In this case we are overriding MemorySize & Runtime in our Lambda Functions, setting VisibilityTimeout for our SQS queue in dev and setting DESTROY removal policy for our S3 Bucket in dev. This will be explained in more detail below.
  • +
+ +

Next let’s create a CDK file using Configurator to control resources in our stacks.

+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import * as lambda from "aws-cdk-lib/aws-lambda";
    +import * as s3 from "aws-cdk-lib/aws-s3";
    +import {
    +  BaseStack,
    +  Configurator,
    +  DataPipeline,
    +  S3EventStage,
    +  SqsToLambdaStage,
    +} from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +const app = new cdk.App();
    +
    +class ExampleStack extends BaseStack {
    +  constructor(scope: Construct, environment: string) {
    +    super(scope, `${environment}Resources`, {});
    +    const s3Stage = new S3EventStage(this, `MyEventBucket${environment}`, {
    +      bucket: new s3.Bucket(this, `MyBucket${environment}`),
    +      eventNames: ["Object Created"],
    +    });
    +    const sqsToLambdaStage = new SqsToLambdaStage(this, `${environment}Stage`, {
    +      lambdaFunctionProps: {
    +        code: lambda.Code.fromInline(
    +          "def lambda_handler(event, context): pass;"
    +        ),
    +        handler: "lambda_function.lambda_handler",
    +        runtime: lambda.Runtime.PYTHON_3_8,
    +      },
    +    });
    +    new DataPipeline(this, `${environment}DataPipeline`, {})
    +      .addStage({ stage: s3Stage })
    +      .addStage({ stage: sqsToLambdaStage });
    +    new Configurator(this, "./ddk.json", environment);
    +  }
    +}
    +
    +// Dev Stack
    +new ExampleStack(app, "dev");
    +
    +// Prod Stack
    +new ExampleStack(app, "prod");
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Now let’s synthesize our templates to examine Configurator in action.

+ +
cdk synth devResources
+cdk synth prodResources
+
+ +

If we take a look at the SQS Queue in devResources

+ +
devStageQueue44060536:
+    Type: AWS::SQS::Queue
+    Properties:
+      Tags:
+        - Key: CostCenter
+          Value: "2014"
+        - Key: Global:Tag:foo
+          Value: bar
+      VisibilityTimeout: 180
+    UpdateReplacePolicy: Delete
+    DeletionPolicy: Delete
+    Metadata:
+      aws:cdk:path: devResources/devStage/Queue/Resource
+
+ +

We can see that VisibilityTimeout has been updated as well as both the global tag and environment tag have been added to the resource. The same should follow for the other resources called out by the configuration.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in Configurator within the resources object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2}
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

All resources of a given type e.g. AWS::Lambda::Function can be configured as well, but this will override properties for any resource matching that type within a following scope Configurator has been applied to. For example:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "AWS::Lambda::Function": {
+                    "MemorySize": 512
+                }
+            },
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-rc.0/how-to/index.html b/release/1.0.0-rc.0/how-to/index.html new file mode 100644 index 00000000..168589d2 --- /dev/null +++ b/release/1.0.0-rc.0/how-to/index.html @@ -0,0 +1,1853 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.0.0-rc.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-rc.0/how-to/multi-account-deployment.html b/release/1.0.0-rc.0/how-to/multi-account-deployment.html new file mode 100644 index 00000000..e0f19ce3 --- /dev/null +++ b/release/1.0.0-rc.0/how-to/multi-account-deployment.html @@ -0,0 +1,279 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

cdk bootstrap allows us to setup cross-account access for your AWS accounts.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: cdk bootstrap -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: cdk bootstrap -p ${DEV_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
  • [test]: cdk bootstrap -e test -p ${TEST_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
+ +

The dev & test environments are bootstrapped with --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess to setup the required cross account access for the cicd account to manage resources within them.

+ +

[Optional] Configuration

+

A preferred solution is to store environment configuration in a file e.g. ddk.json.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ + +
    + +
  • +

    You can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import * as cdk from 'aws-cdk-lib';
    +import * as ddk from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +export class ApplicationStage extends cdk.Stage {
    +  constructor(
    +    scope: Construct,
    +    id: string,
    +    props?: cdk.StageProps
    +  ) {
    +    super(scope, id, props ?? {});
    +    new cdk.Stack(this, "DataPipeline");
    +  }
    +}
    +
    +const app = new cdk.App();
    +
    +new ddk.CICDPipelineStack(app, "DDKCodePipeline", {
    +  environmentId: "cicd",
    +  pipelineName: "ddk-application-pipeline",
    +  env: ddk.Configurator.getEnvironment({
    +    configPath: "./ddk.json",
    +    environmentId: "cicd",
    +  }),
    +})
    +  .addSourceAction({ repositoryName: "ddk-repository" })
    +  .addSynthAction()
    +  .buildPipeline()
    +  .addStage({
    +    stageId: "dev",
    +    stage: new ApplicationStage(app, "DevStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "dev",
    +      }),
    +    }),
    +  })
    +  .addStage({
    +    stageId: "test",
    +    stage: new ApplicationStage(app, "TestStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "test",
    +      }),
    +    }),
    +  })
    +  .synth();
    +
    +app.synth();
    +
    +
  • + +
  • +

    app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import aws_cdk as cdk
    +import aws_ddk_core as ddk
    +
    +
    +class ApplicationStage(cdk.Stage):
    +    def __init__(
    +        self,
    +        scope,
    +        id: str,
    +        **kwargs,
    +    ) -> None:
    +        super().__init__(scope, id, **kwargs)
    +        cdk.Stack(self, "DataPipeline")
    +
    +
    +app = cdk.App()
    +
    +(
    +    ddk.CICDPipelineStack(
    +        app,
    +        id="DDKCodePipeline",
    +        environment_id="cicd",
    +        pipeline_name="ddk-application-pipeline",
    +        env=ddk.Configurator.get_environment(
    +            config_path="./ddk.json", environment_id="cicd"
    +        ),
    +    )
    +    .add_source_action(repository_name="ddk-repository")
    +    .add_synth_action()
    +    .build_pipeline()
    +    .add_stage(
    +        stage_id="dev",
    +        stage=ApplicationStage(
    +            app,
    +            "DevStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="dev"
    +            ),
    +        ),
    +    )
    +    .add_stage(
    +        stage_id="test",
    +        stage=ApplicationStage(
    +            app,
    +            "TestStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="test"
    +            ),
    +        ),
    +    )
    +    .synth()
    +)
    +
    +app.synth()
    +
    + +
  • + +
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
aws codecommit create-repository --repository-name ddk-repository
+git init
+git remote add origin https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running cdk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment.

+ +

Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-rc.0/how-to/private-artifactory.html b/release/1.0.0-rc.0/how-to/private-artifactory.html new file mode 100644 index 00000000..de82670d --- /dev/null +++ b/release/1.0.0-rc.0/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for personally identifiable information). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-rc.0/how-to/spend-first-hour.html b/release/1.0.0-rc.0/how-to/spend-first-hour.html new file mode 100644 index 00000000..28c6d333 --- /dev/null +++ b/release/1.0.0-rc.0/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-rc.0/how-to/understand-concepts.html b/release/1.0.0-rc.0/how-to/understand-concepts.html new file mode 100644 index 00000000..eb73817a --- /dev/null +++ b/release/1.0.0-rc.0/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK in CDK Applications?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-rc.0/how-to/upgrade-guide.html b/release/1.0.0-rc.0/how-to/upgrade-guide.html new file mode 100644 index 00000000..806aaeef --- /dev/null +++ b/release/1.0.0-rc.0/how-to/upgrade-guide.html @@ -0,0 +1,221 @@ + + + + + + +1.0.0 Upgrade guide | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

1.0.0 Major Version Release

+

Version 1.0.0 of the AWS DDK includes the following high-level changes and updates.

+
    +
  • Source code is now written in Typescript and uses JSII to package both python and typescript versions of the library. In the near future we will add support for all AWS CDK supported programming languages.
  • +
  • A new optional config construct Configurator() has been implemented to replace the required Config() construct from earlier verisons.
  • +
  • The DDK CLI has been deprectated. Projects that were bootstrapped using ddk bootstrap will still be supported.
  • +
  • New stages have been added + +
  • +
+ +

Config

+

Configurator is the new optional construct used to manage config across multiple environments. While this can handle a variety of use cases we encourage users to build their own config mechanisms when it Configurator is not the best option. See this how-to guidefor more on using Configurator.

+ +

Bootstrapping

+

Customers that have already bootstrapped accounts and regions using ddk bootstrap can easily use the same roles by following the Using Legacy DDK Bootstrap Roles section of this guide.

+ +

Stage Properties

+

Because we have shifted to using typescript interfaces provided by the AWS CDK some properties may look slightly different in the new version. We will outline some common changes below, but always refer to the API documentation if you are unsure.

+ +
    +
  • Data Pipeline: Now requires positional arguments in the add_stage() method.
  • +
+ +
    + +
  • +
    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: myFirstStage}).addStage({stage: mySecondStage})
    +
    +
  • + +
  • +
    (
    +  DataPipeline(scope=self, id="DDK Pipeline")
    +  .add_stage(stage=my_first_stage)
    +  .add_stage(stage=my_second_stage)
    +)
    +
    +
  • + +
+
    +
  • Changes to SqsToLambdaStage Properties: Function and queue properties now have their own dedicated positional argument.
  • +
+ +
    + +
  • +
    new SqsToLambdaStage(
    +  this, 
    +  "Lambda Stage", 
    +  {
    +    lambdaFunctionProps: {
    +      functionName: "dummy-function",
    +      code: lambda.Code.fromAsset(path.join(__dirname, "/../src/")),
    +      handler: "commons.handlers.lambda_handler",
    +      runtime: lambda.Runtime.PYTHON_3_8,
    +    },
    +    sqsQueueProps: {
    +      queueName: "dummy-queue.fifo",
    +      visibilityTimeout: cdk.Duration.minutes(5),
    +    },
    +  }
    +)
    +
    +
  • + +
  • +
    SqsToLambdaStage(
    +    self,
    +    id="lambda-stage",
    +    lambda_function_props={
    +        "code": Code.from_asset("./ddk_app/lambda_handlers"),
    +        "handler": "handler.lambda_handler",
    +        "layers": [
    +            LayerVersion.from_layer_version_arn(
    +                self,
    +                id="layer",
    +                layer_version_arn=f"arn:aws:lambda:{self.region}:336392948345:layer:AWSDataWrangler-Python39:1",
    +            )
    +        ],
    +        "runtime": Runtime.PYTHON_3_9,
    +    },
    +)
    +
    +
  • + +
+
    +
  • BaseStack: No longer requires an environment id. See BaseStackProps() for more details.
  • +
+ +
    + +
  • +
    new BaseStack(app, "my-stack", {});
    +
    +
  • + +
  • +
    BaseStack(app, "my-stack")
    +
    +
  • + +
+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0-rc.0/index.html b/release/1.0.0-rc.0/index.html new file mode 100644 index 00000000..245819ff --- /dev/null +++ b/release/1.0.0-rc.0/index.html @@ -0,0 +1,1859 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.0.0-rc.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0/how-to/custom-bootstrap.html b/release/1.0.0/how-to/custom-bootstrap.html new file mode 100644 index 00000000..71e61822 --- /dev/null +++ b/release/1.0.0/how-to/custom-bootstrap.html @@ -0,0 +1,188 @@ + + + + + + +Different methods to bootstrap DDK apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Bootstrapping

+ +

The AWS CDK requires some resources to be provisioned before deploying stacks into an account (i.e. IAM Roles, S3 Bucket for Assets). This is referred to as bootstrapping.

+ +

DDK Bootstrap Cases

+

The following are possible ways of bootstrapping an AWS account for DDK apps.

+ +

Default

+

If no configuration is provided the DDK stacks will leverage the default resources provisioned by cdk bootstrap.

+ +

Use Configurator()

+

See Configurator for more details on the construct.

+ +

Schema

+

Configurator supports the following schema, at both the global and environment level, for defining bootstrap resources for your CDK app.

+ +

All fields are optional

+
    +
  • bootstrap +
      +
    • prefix: (The prefix of role names created to be used in a stack’s synthesizer)
    • +
    • qualifier: (The qualifier used to bootstrap this stack)
    • +
    • file_assets_bucket_name: (File assets bucket name)
    • +
    • stack_version_ssm_parameter: (Default bootstrap stack version SSM parameter)
    • +
    • deploy_role: (Default deploy role ARN)
    • +
    • file_publish_role: (Default asset publishing role ARN for file (S3) assets)
    • +
    • cfn_execution_role: (Default CloudFormation role ARN)
    • +
    • lookup_role: (Default lookup role ARN for missing values)
    • +
    +
  • +
+ +

Configurator uses the DefaultStackSynthesizer construct under the hood

+ +
Example
+
"environments": {
+  "dev": {
+    "bootstrap": {
+      "qualifier": "abcdefgh",
+      "bucket_name": "ddk-abcdefgh-assets-000000000000-us-west-2",
+      "deploy_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh--deploy-role-000000000000-us-west-2",
+      "cfn_execution_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-cfn-exec-role-000000000000-us-west-2",
+      "file_publish_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-file-publishing-role-000000000000-us-west-2",
+      "lookup_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh-lookup-role-000000000000-us-west-2",
+    }
+  }
+}
+
+ +

The stack synthesizer will be created for your app using all values specified in Configurator() and resort to default cdk bootstrap values when not explicitly set.

+ +

Using Legacy DDK Bootstrap Roles

+

If you are familiar with the <1.0.0 versions of the DDK there was a separate package including a CLI with a ddk bootstrap -e ${ENVIRONMENT_ID} command. This builds a bootstrap stack with slightly modified resources as compared to CDK’s native bootstrap method. Let’s look at an example of using existing DDK bootstrap roles with newer versions of the DDK core library.

+ +
    +
  1. Assume we have deployed a DDK bootstrap stack for a dev environment in our account. +Stack
  2. +
  3. Configure ddk.json with the prefix: ddk to indicate any stacks created within this environment should use ddk bootstrap roles. +
    {
    +  "environments": {
    + "dev": {
    +   "bootstrap": {
    +     "prefix": "ddk"
    +   }
    + }
    +  }
    +}
    +
    +
  4. +
  5. Use BaseStack with the dev environment passed as a property.
  6. +
+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack } from "aws-ddk-core";
    +
    +const app = new cdk.App();
    +const stack = new BaseStack(app, 'ExampleStack', {environmentId: "dev"})
    +console.log(stack.synthesizer)
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +from aws_ddk_core import BaseStack
    +
    +app = cdk.App()
    +stack = BaseStack(app, "ExampleStack", environment_id: "dev")
    +print(stack.synthesizer)
    +app.synth()
    +
    +
  • + +
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0/how-to/custom-stage.html b/release/1.0.0/how-to/custom-stage.html new file mode 100644 index 00000000..9260b36b --- /dev/null +++ b/release/1.0.0/how-to/custom-stage.html @@ -0,0 +1,287 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ + +
    + +
  • +

    I’ll write a file to my application stack package called sns.ts.

    + +
    import * as events from "aws-cdk-lib/aws-events";
    +import * as eventsTargets from "aws-cdk-lib/aws-events-targets";
    +import * as sns from "aws-cdk-lib/aws-sns";
    +import { DataStage } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +
    +
    +export class SNSStage extends DataStage {
    +  readonly topic: sns.ITopic;
    +  readonly targets?: events.IRuleTarget[];
    +  readonly eventPattern?: events.EventPattern;
    +  
    +  constructor(scope: Construct, id: string) {
    +    super(scope, id, {});
    +    this.topic = new sns.Topic(this, "SNS Topic")
    +    this.eventPattern = {
    +      detailType: [`${id}-event-type`],
    +    }
    +    this.targets = [new eventsTargets.SnsTopic(this.topic)]
    +  }
    +
    +}
    +
    +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack, BaseStackProps, DataPipeline, S3EventStage, S3Factory } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +import { SNSStage } from "../lib/sns";
    +
    +
    +export class DDKApplicationStack extends BaseStack {
    +  
    +  constructor(scope: Construct, id: string, props?: BaseStackProps) {
    +    super(scope, id, props ?? {});
    +    const ddkBucket = S3Factory.bucket(this, "Bucket", {})
    +    const s3EventStage = new S3EventStage(
    +      this,
    +      "S3 Event Stage",
    +      {
    +        eventNames: ["Object Created"],
    +        bucket: ddkBucket,
    +        keyPrefix: "raw",
    +      }
    +    )
    +    const snsStage = new SNSStage(
    +      this, "SNS Stage"
    +    )
    +    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: s3EventStage}).addStage({stage: snsStage})
    +  }
    +
    +}
    +
    +const app = new cdk.App();
    +new DDKApplicationStack(app, "CustomStageStack");
    +
    +app.synth();
    +
    +
    + +
  • + +
  • +

    I’ll write a file to my application stack package called sns.py.

    +
    from typing import Any, List, Optional
    +
    +from aws_cdk.aws_events import EventPattern, IRuleTarget
    +from aws_cdk.aws_events_targets import SnsTopic
    +from aws_cdk.aws_sns import ITopic, Topic
    +from aws_ddk_core import DataStage  # importing DataStage class for ddk core
    +from constructs import Construct
    +
    +
    +class SNSStage(DataStage):
    +    """
    +    Class that represents a SNS DDK Stage.
    +    """
    +
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        id: str,
    +        **kwargs: Any,
    +    ) -> None:
    +        """
    +        DDK SNS stage.
    +        """
    +        super().__init__(scope, id, **kwargs)
    +
    +        self._event_detail_type: str = f"{id}-event-type"
    +
    +        # create topic
    +        self._topic = Topic(self, f"SNS Topic")
    +
    +    @property
    +    def topic(self) -> ITopic:
    +        """
    +        Return: Topic
    +            The SNS Topic
    +        """
    +        return self._topic
    +
    +    # method to retrieve Event Pattern
    +    @property
    +    def event_pattern(self) -> Optional[EventPattern]:
    +        return EventPattern(
    +            detail_type=[self._event_detail_type],
    +        )
    +
    +    # methord to retrieve Event Rule Target
    +    @property
    +    def targets(self) -> Optional[List[IRuleTarget]]:
    +        return [SnsTopic(self._topic)]
    +
    +
    +
    + +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    from typing import Any
    +
    +import aws_cdk as cdk
    +from aws_ddk_core import BaseStack, DataPipeline, S3EventStage, S3Factory
    +from constructs import Construct
    +
    +from ddk_app.sns import SNSStage  # import my class I built above
    +
    +
    +class DDKApplicationStack(BaseStack):
    +    def __init__(self, scope: Construct, id: str, **kwargs: Any) -> None:
    +        super().__init__(scope, id, **kwargs)
    +
    +        # create my bucket
    +        ddk_bucket = S3Factory.bucket(
    +            self,
    +            "Bucket",
    +        )
    +
    +        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
    +        s3_event_stage = S3EventStage(
    +            scope=self,
    +            id="S3 Event Stage",
    +            event_names=["Object Created"],
    +            bucket=ddk_bucket,
    +            key_prefix="raw",
    +        )
    +
    +        # instantiate my sns stage class
    +        sns_stage = SNSStage(
    +            scope=self,
    +            id="SNS Stage",
    +        )
    +
    +        # construct my DataPipeline
    +        (
    +            DataPipeline(scope=self, id="DDK Pipeline")
    +            .add_stage(stage=s3_event_stage)
    +            .add_stage(stage=sns_stage)
    +        )
    +
    +
    +app = cdk.App()
    +
    +DDKApplicationStack(app, "CustomStageStack")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Build

+

Use cdk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0/how-to/ddk-configuration.html b/release/1.0.0/how-to/ddk-configuration.html new file mode 100644 index 00000000..c98287ad --- /dev/null +++ b/release/1.0.0/how-to/ddk-configuration.html @@ -0,0 +1,307 @@ + + + + + + +DDK Configurator | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core offers a construct: Configurator which can be used to manage configuration across several DDK environments. Note: This is a completely optional construct and users should feel free to build their own configuration mechanisms when necessary.

+ +

Example

+

In this example we will begin by creating a configuration file.

+
touch ddk.json
+
+

And updating it to include the following JSON data.

+ +
{
+  "tags": {
+    "Global:Tag:foo": "bar"
+  },
+  "account": "111111111111",
+  "region": "us-east-1",
+  "environments": {
+    "dev": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 128,
+          "Runtime": "python3.9"
+        },
+        "devStage/Queue": {
+          "VisibilityTimeout": 180
+        },
+        "AWS::S3::Bucket": {
+          "RemovalPolicy": "DESTROY"
+        }
+      },
+      "tags": {"CostCenter": "2014"},
+      "props": {
+        "special_prop": "foobar"
+      }
+    },
+    "prod": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 1024,
+          "Runtime": "python3.9"
+        }
+      },
+      "tags": {"CostCenter": "2015"}
+    }
+  }
+}
+
+ +

Let’s breakdown what’s included in this configuration file.

+ +
    +
  • A tag "Global:Tag:foo": "bar" is defined globally which will be applied to any scope Configurator is used on regardless of environment.
  • +
  • account & region are defined globally which can be accessed from Configurator.getEnvironment() to be used where a cdk.Environment is applicable.
  • +
  • environments is an object that includes configuration for any environments we would like to use. In this case there is one for dev and one for prod.
  • +
  • We include account & region in the environment which can be accessed to be used where a cdk.Environment is applicable.
  • +
  • The resources block contains any property overrides you would like to set. In this case we are overriding MemorySize & Runtime in our Lambda Functions, setting VisibilityTimeout for our SQS queue in dev and setting DESTROY removal policy for our S3 Bucket in dev. This will be explained in more detail below.
  • +
+ +

Next let’s create a CDK file using Configurator to control resources in our stacks.

+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import * as lambda from "aws-cdk-lib/aws-lambda";
    +import * as s3 from "aws-cdk-lib/aws-s3";
    +import {
    +  BaseStack,
    +  Configurator,
    +  DataPipeline,
    +  S3EventStage,
    +  SqsToLambdaStage,
    +} from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +const app = new cdk.App();
    +
    +class ExampleStack extends BaseStack {
    +  constructor(scope: Construct, environment: string) {
    +    super(scope, `${environment}Resources`, {});
    +    const s3Stage = new S3EventStage(this, `MyEventBucket${environment}`, {
    +      bucket: new s3.Bucket(this, `MyBucket${environment}`),
    +      eventNames: ["Object Created"],
    +    });
    +    const sqsToLambdaStage = new SqsToLambdaStage(this, `${environment}Stage`, {
    +      lambdaFunctionProps: {
    +        code: lambda.Code.fromInline(
    +          "def lambda_handler(event, context): pass;"
    +        ),
    +        handler: "lambda_function.lambda_handler",
    +        runtime: lambda.Runtime.PYTHON_3_8,
    +      },
    +    });
    +    new DataPipeline(this, `${environment}DataPipeline`, {})
    +      .addStage({ stage: s3Stage })
    +      .addStage({ stage: sqsToLambdaStage });
    +    new Configurator(this, "./ddk.json", environment);
    +  }
    +}
    +
    +// Dev Stack
    +new ExampleStack(app, "dev");
    +
    +// Prod Stack
    +new ExampleStack(app, "prod");
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Now let’s synthesize our templates to examine Configurator in action.

+ +
cdk synth devResources
+cdk synth prodResources
+
+ +

If we take a look at the SQS Queue in devResources

+ +
devStageQueue44060536:
+    Type: AWS::SQS::Queue
+    Properties:
+      Tags:
+        - Key: CostCenter
+          Value: "2014"
+        - Key: Global:Tag:foo
+          Value: bar
+      VisibilityTimeout: 180
+    UpdateReplacePolicy: Delete
+    DeletionPolicy: Delete
+    Metadata:
+      aws:cdk:path: devResources/devStage/Queue/Resource
+
+ +

We can see that VisibilityTimeout has been updated as well as both the global tag and environment tag have been added to the resource. The same should follow for the other resources called out by the configuration.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in Configurator within the resources object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2}
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

All resources of a given type e.g. AWS::Lambda::Function can be configured as well, but this will override properties for any resource matching that type within a following scope Configurator has been applied to. For example:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "AWS::Lambda::Function": {
+                    "MemorySize": 512
+                }
+            },
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0/how-to/index.html b/release/1.0.0/how-to/index.html new file mode 100644 index 00000000..fe68bb72 --- /dev/null +++ b/release/1.0.0/how-to/index.html @@ -0,0 +1,1853 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.0.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0/how-to/multi-account-deployment.html b/release/1.0.0/how-to/multi-account-deployment.html new file mode 100644 index 00000000..52487aa7 --- /dev/null +++ b/release/1.0.0/how-to/multi-account-deployment.html @@ -0,0 +1,279 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

cdk bootstrap allows us to setup cross-account access for your AWS accounts.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: cdk bootstrap -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: cdk bootstrap -p ${DEV_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
  • [test]: cdk bootstrap -e test -p ${TEST_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
+ +

The dev & test environments are bootstrapped with --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess to setup the required cross account access for the cicd account to manage resources within them.

+ +

[Optional] Configuration

+

A preferred solution is to store environment configuration in a file e.g. ddk.json.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ + +
    + +
  • +

    You can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import * as cdk from 'aws-cdk-lib';
    +import * as ddk from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +export class ApplicationStage extends cdk.Stage {
    +  constructor(
    +    scope: Construct,
    +    id: string,
    +    props?: cdk.StageProps
    +  ) {
    +    super(scope, id, props ?? {});
    +    new cdk.Stack(this, "DataPipeline");
    +  }
    +}
    +
    +const app = new cdk.App();
    +
    +new ddk.CICDPipelineStack(app, "DDKCodePipeline", {
    +  environmentId: "cicd",
    +  pipelineName: "ddk-application-pipeline",
    +  env: ddk.Configurator.getEnvironment({
    +    configPath: "./ddk.json",
    +    environmentId: "cicd",
    +  }),
    +})
    +  .addSourceAction({ repositoryName: "ddk-repository" })
    +  .addSynthAction()
    +  .buildPipeline()
    +  .addStage({
    +    stageId: "dev",
    +    stage: new ApplicationStage(app, "DevStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "dev",
    +      }),
    +    }),
    +  })
    +  .addStage({
    +    stageId: "test",
    +    stage: new ApplicationStage(app, "TestStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "test",
    +      }),
    +    }),
    +  })
    +  .synth();
    +
    +app.synth();
    +
    +
  • + +
  • +

    app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import aws_cdk as cdk
    +import aws_ddk_core as ddk
    +
    +
    +class ApplicationStage(cdk.Stage):
    +    def __init__(
    +        self,
    +        scope,
    +        id: str,
    +        **kwargs,
    +    ) -> None:
    +        super().__init__(scope, id, **kwargs)
    +        cdk.Stack(self, "DataPipeline")
    +
    +
    +app = cdk.App()
    +
    +(
    +    ddk.CICDPipelineStack(
    +        app,
    +        id="DDKCodePipeline",
    +        environment_id="cicd",
    +        pipeline_name="ddk-application-pipeline",
    +        env=ddk.Configurator.get_environment(
    +            config_path="./ddk.json", environment_id="cicd"
    +        ),
    +    )
    +    .add_source_action(repository_name="ddk-repository")
    +    .add_synth_action()
    +    .build_pipeline()
    +    .add_stage(
    +        stage_id="dev",
    +        stage=ApplicationStage(
    +            app,
    +            "DevStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="dev"
    +            ),
    +        ),
    +    )
    +    .add_stage(
    +        stage_id="test",
    +        stage=ApplicationStage(
    +            app,
    +            "TestStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="test"
    +            ),
    +        ),
    +    )
    +    .synth()
    +)
    +
    +app.synth()
    +
    + +
  • + +
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
aws codecommit create-repository --repository-name ddk-repository
+git init
+git remote add origin https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running cdk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment.

+ +

Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0/how-to/private-artifactory.html b/release/1.0.0/how-to/private-artifactory.html new file mode 100644 index 00000000..8350ed59 --- /dev/null +++ b/release/1.0.0/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for personally identifiable information). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0/how-to/spend-first-hour.html b/release/1.0.0/how-to/spend-first-hour.html new file mode 100644 index 00000000..e10d1793 --- /dev/null +++ b/release/1.0.0/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0/how-to/understand-concepts.html b/release/1.0.0/how-to/understand-concepts.html new file mode 100644 index 00000000..f776f50e --- /dev/null +++ b/release/1.0.0/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK in CDK Applications?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0/how-to/upgrade-guide.html b/release/1.0.0/how-to/upgrade-guide.html new file mode 100644 index 00000000..301597aa --- /dev/null +++ b/release/1.0.0/how-to/upgrade-guide.html @@ -0,0 +1,221 @@ + + + + + + +1.0.0 Upgrade guide | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

1.0.0 Major Version Release

+

Version 1.0.0 of the AWS DDK includes the following high-level changes and updates.

+
    +
  • Source code is now written in Typescript and uses JSII to package both python and typescript versions of the library. In the near future we will add support for all AWS CDK supported programming languages.
  • +
  • A new optional config construct Configurator() has been implemented to replace the required Config() construct from earlier verisons.
  • +
  • The DDK CLI has been deprectated. Projects that were bootstrapped using ddk bootstrap will still be supported.
  • +
  • New stages have been added + +
  • +
+ +

Config

+

Configurator is the new optional construct used to manage config across multiple environments. While this can handle a variety of use cases we encourage users to build their own config mechanisms when it Configurator is not the best option. See this how-to guidefor more on using Configurator.

+ +

Bootstrapping

+

Customers that have already bootstrapped accounts and regions using ddk bootstrap can easily use the same roles by following the Using Legacy DDK Bootstrap Roles section of this guide.

+ +

Stage Properties

+

Because we have shifted to using typescript interfaces provided by the AWS CDK some properties may look slightly different in the new version. We will outline some common changes below, but always refer to the API documentation if you are unsure.

+ +
    +
  • Data Pipeline: Now requires positional arguments in the add_stage() method.
  • +
+ +
    + +
  • +
    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: myFirstStage}).addStage({stage: mySecondStage})
    +
    +
  • + +
  • +
    (
    +  DataPipeline(scope=self, id="DDK Pipeline")
    +  .add_stage(stage=my_first_stage)
    +  .add_stage(stage=my_second_stage)
    +)
    +
    +
  • + +
+
    +
  • Changes to SqsToLambdaStage Properties: Function and queue properties now have their own dedicated positional argument.
  • +
+ +
    + +
  • +
    new SqsToLambdaStage(
    +  this, 
    +  "Lambda Stage", 
    +  {
    +    lambdaFunctionProps: {
    +      functionName: "dummy-function",
    +      code: lambda.Code.fromAsset(path.join(__dirname, "/../src/")),
    +      handler: "commons.handlers.lambda_handler",
    +      runtime: lambda.Runtime.PYTHON_3_8,
    +    },
    +    sqsQueueProps: {
    +      queueName: "dummy-queue.fifo",
    +      visibilityTimeout: cdk.Duration.minutes(5),
    +    },
    +  }
    +)
    +
    +
  • + +
  • +
    SqsToLambdaStage(
    +    self,
    +    id="lambda-stage",
    +    lambda_function_props={
    +        "code": Code.from_asset("./ddk_app/lambda_handlers"),
    +        "handler": "handler.lambda_handler",
    +        "layers": [
    +            LayerVersion.from_layer_version_arn(
    +                self,
    +                id="layer",
    +                layer_version_arn=f"arn:aws:lambda:{self.region}:336392948345:layer:AWSDataWrangler-Python39:1",
    +            )
    +        ],
    +        "runtime": Runtime.PYTHON_3_9,
    +    },
    +)
    +
    +
  • + +
+
    +
  • BaseStack: No longer requires an environment id. See BaseStackProps() for more details.
  • +
+ +
    + +
  • +
    new BaseStack(app, "my-stack", {});
    +
    +
  • + +
  • +
    BaseStack(app, "my-stack")
    +
    +
  • + +
+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.0/index.html b/release/1.0.0/index.html new file mode 100644 index 00000000..280d03c4 --- /dev/null +++ b/release/1.0.0/index.html @@ -0,0 +1,1859 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.0.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.1/how-to/custom-bootstrap.html b/release/1.0.1/how-to/custom-bootstrap.html new file mode 100644 index 00000000..ff10cf53 --- /dev/null +++ b/release/1.0.1/how-to/custom-bootstrap.html @@ -0,0 +1,192 @@ + + + + + + +Different methods to bootstrap DDK apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Bootstrapping

+ +

The AWS CDK requires some resources to be provisioned before deploying stacks into an account (i.e. IAM Roles, S3 Bucket for Assets). This is referred to as bootstrapping.

+ +

DDK Bootstrap Cases

+

The following are possible ways of bootstrapping an AWS account for DDK apps.

+ +

Default

+

If no configuration is provided the DDK stacks will leverage the default resources provisioned by cdk bootstrap.

+ +

Use Configurator()

+

See Configurator for more details on the construct.

+ +

Schema

+

Configurator supports the following schema, at both the global and environment level, for defining bootstrap resources for your CDK app.

+ +

All fields are optional

+
    +
  • bootstrap +
      +
    • prefix: (The prefix of role names created to be used in a stack’s synthesizer)
    • +
    • qualifier: (The qualifier used to bootstrap this stack)
    • +
    • file_assets_bucket_name: (File assets bucket name)
    • +
    • stack_version_ssm_parameter: (Default bootstrap stack version SSM parameter)
    • +
    • deploy_role: (Default deploy role ARN)
    • +
    • file_publish_role: (Default asset publishing role ARN for file (S3) assets)
    • +
    • cfn_execution_role: (Default CloudFormation role ARN)
    • +
    • lookup_role: (Default lookup role ARN for missing values)
    • +
    +
  • +
+ +

Configurator uses the DefaultStackSynthesizer construct under the hood

+ +
Example
+
"environments": {
+  "dev": {
+    "account": "000000000000",
+    "region": "us-west-2",
+    "bootstrap": {
+      "qualifier": "abcdefgh",
+      "bucket_name": "ddk-abcdefgh-assets-000000000000-us-west-2",
+      "deploy_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh--deploy-role-000000000000-us-west-2",
+      "cfn_execution_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-cfn-exec-role-000000000000-us-west-2",
+      "file_publish_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-file-publishing-role-000000000000-us-west-2",
+      "lookup_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh-lookup-role-000000000000-us-west-2",
+    }
+  }
+}
+
+ +

The stack synthesizer will be created for your app using all values specified in Configurator() and resort to default cdk bootstrap values when not explicitly set.

+ +

Note: The values for account and region will be default to CDK_DEFAULT_ACCOUNT and CDK_DEFAULT_REGION if not explicitly set in the environment config.

+ +

Using Legacy DDK Bootstrap Roles

+

If you are familiar with the <1.0.0 versions of the DDK there was a separate package including a CLI with a ddk bootstrap -e ${ENVIRONMENT_ID} command. This builds a bootstrap stack with slightly modified resources as compared to CDK’s native bootstrap method. Let’s look at an example of using existing DDK bootstrap roles with newer versions of the DDK core library.

+ +
    +
  1. Assume we have deployed a DDK bootstrap stack for a dev environment in our account. +Stack
  2. +
  3. Configure ddk.json with the prefix: ddk to indicate any stacks created within this environment should use ddk bootstrap roles. +
    {
    +  "environments": {
    + "dev": {
    +   "bootstrap": {
    +     "prefix": "ddk"
    +   }
    + }
    +  }
    +}
    +
    +
  4. +
  5. Use BaseStack with the dev environment passed as a property.
  6. +
+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack } from "aws-ddk-core";
    +
    +const app = new cdk.App();
    +const stack = new BaseStack(app, 'ExampleStack', {environmentId: "dev"})
    +console.log(stack.synthesizer)
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +from aws_ddk_core import BaseStack
    +
    +app = cdk.App()
    +stack = BaseStack(app, "ExampleStack", environment_id: "dev")
    +print(stack.synthesizer)
    +app.synth()
    +
    +
  • + +
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.1/how-to/custom-stage.html b/release/1.0.1/how-to/custom-stage.html new file mode 100644 index 00000000..0e883ada --- /dev/null +++ b/release/1.0.1/how-to/custom-stage.html @@ -0,0 +1,287 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ + +
    + +
  • +

    I’ll write a file to my application stack package called sns.ts.

    + +
    import * as events from "aws-cdk-lib/aws-events";
    +import * as eventsTargets from "aws-cdk-lib/aws-events-targets";
    +import * as sns from "aws-cdk-lib/aws-sns";
    +import { DataStage } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +
    +
    +export class SNSStage extends DataStage {
    +  readonly topic: sns.ITopic;
    +  readonly targets?: events.IRuleTarget[];
    +  readonly eventPattern?: events.EventPattern;
    +  
    +  constructor(scope: Construct, id: string) {
    +    super(scope, id, {});
    +    this.topic = new sns.Topic(this, "SNS Topic")
    +    this.eventPattern = {
    +      detailType: [`${id}-event-type`],
    +    }
    +    this.targets = [new eventsTargets.SnsTopic(this.topic)]
    +  }
    +
    +}
    +
    +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack, BaseStackProps, DataPipeline, S3EventStage, S3Factory } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +import { SNSStage } from "../lib/sns";
    +
    +
    +export class DDKApplicationStack extends BaseStack {
    +  
    +  constructor(scope: Construct, id: string, props?: BaseStackProps) {
    +    super(scope, id, props ?? {});
    +    const ddkBucket = S3Factory.bucket(this, "Bucket", {})
    +    const s3EventStage = new S3EventStage(
    +      this,
    +      "S3 Event Stage",
    +      {
    +        eventNames: ["Object Created"],
    +        bucket: ddkBucket,
    +        keyPrefix: "raw",
    +      }
    +    )
    +    const snsStage = new SNSStage(
    +      this, "SNS Stage"
    +    )
    +    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: s3EventStage}).addStage({stage: snsStage})
    +  }
    +
    +}
    +
    +const app = new cdk.App();
    +new DDKApplicationStack(app, "CustomStageStack");
    +
    +app.synth();
    +
    +
    + +
  • + +
  • +

    I’ll write a file to my application stack package called sns.py.

    +
    from typing import Any, List, Optional
    +
    +from aws_cdk.aws_events import EventPattern, IRuleTarget
    +from aws_cdk.aws_events_targets import SnsTopic
    +from aws_cdk.aws_sns import ITopic, Topic
    +from aws_ddk_core import DataStage  # importing DataStage class for ddk core
    +from constructs import Construct
    +
    +
    +class SNSStage(DataStage):
    +    """
    +    Class that represents a SNS DDK Stage.
    +    """
    +
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        id: str,
    +        **kwargs: Any,
    +    ) -> None:
    +        """
    +        DDK SNS stage.
    +        """
    +        super().__init__(scope, id, **kwargs)
    +
    +        self._event_detail_type: str = f"{id}-event-type"
    +
    +        # create topic
    +        self._topic = Topic(self, f"SNS Topic")
    +
    +    @property
    +    def topic(self) -> ITopic:
    +        """
    +        Return: Topic
    +            The SNS Topic
    +        """
    +        return self._topic
    +
    +    # method to retrieve Event Pattern
    +    @property
    +    def event_pattern(self) -> Optional[EventPattern]:
    +        return EventPattern(
    +            detail_type=[self._event_detail_type],
    +        )
    +
    +    # methord to retrieve Event Rule Target
    +    @property
    +    def targets(self) -> Optional[List[IRuleTarget]]:
    +        return [SnsTopic(self._topic)]
    +
    +
    +
    + +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    from typing import Any
    +
    +import aws_cdk as cdk
    +from aws_ddk_core import BaseStack, DataPipeline, S3EventStage, S3Factory
    +from constructs import Construct
    +
    +from ddk_app.sns import SNSStage  # import my class I built above
    +
    +
    +class DDKApplicationStack(BaseStack):
    +    def __init__(self, scope: Construct, id: str, **kwargs: Any) -> None:
    +        super().__init__(scope, id, **kwargs)
    +
    +        # create my bucket
    +        ddk_bucket = S3Factory.bucket(
    +            self,
    +            "Bucket",
    +        )
    +
    +        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
    +        s3_event_stage = S3EventStage(
    +            scope=self,
    +            id="S3 Event Stage",
    +            event_names=["Object Created"],
    +            bucket=ddk_bucket,
    +            key_prefix="raw",
    +        )
    +
    +        # instantiate my sns stage class
    +        sns_stage = SNSStage(
    +            scope=self,
    +            id="SNS Stage",
    +        )
    +
    +        # construct my DataPipeline
    +        (
    +            DataPipeline(scope=self, id="DDK Pipeline")
    +            .add_stage(stage=s3_event_stage)
    +            .add_stage(stage=sns_stage)
    +        )
    +
    +
    +app = cdk.App()
    +
    +DDKApplicationStack(app, "CustomStageStack")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Build

+

Use cdk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.1/how-to/ddk-configuration.html b/release/1.0.1/how-to/ddk-configuration.html new file mode 100644 index 00000000..71cab87f --- /dev/null +++ b/release/1.0.1/how-to/ddk-configuration.html @@ -0,0 +1,307 @@ + + + + + + +DDK Configurator | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core offers a construct: Configurator which can be used to manage configuration across several DDK environments. Note: This is a completely optional construct and users should feel free to build their own configuration mechanisms when necessary.

+ +

Example

+

In this example we will begin by creating a configuration file.

+
touch ddk.json
+
+

And updating it to include the following JSON data.

+ +
{
+  "tags": {
+    "Global:Tag:foo": "bar"
+  },
+  "account": "111111111111",
+  "region": "us-east-1",
+  "environments": {
+    "dev": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 128,
+          "Runtime": "python3.9"
+        },
+        "devStage/Queue": {
+          "VisibilityTimeout": 180
+        },
+        "AWS::S3::Bucket": {
+          "RemovalPolicy": "DESTROY"
+        }
+      },
+      "tags": {"CostCenter": "2014"},
+      "props": {
+        "special_prop": "foobar"
+      }
+    },
+    "prod": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 1024,
+          "Runtime": "python3.9"
+        }
+      },
+      "tags": {"CostCenter": "2015"}
+    }
+  }
+}
+
+ +

Let’s breakdown what’s included in this configuration file.

+ +
    +
  • A tag "Global:Tag:foo": "bar" is defined globally which will be applied to any scope Configurator is used on regardless of environment.
  • +
  • account & region are defined globally which can be accessed from Configurator.getEnvironment() to be used where a cdk.Environment is applicable.
  • +
  • environments is an object that includes configuration for any environments we would like to use. In this case there is one for dev and one for prod.
  • +
  • We include account & region in the environment which can be accessed to be used where a cdk.Environment is applicable.
  • +
  • The resources block contains any property overrides you would like to set. In this case we are overriding MemorySize & Runtime in our Lambda Functions, setting VisibilityTimeout for our SQS queue in dev and setting DESTROY removal policy for our S3 Bucket in dev. This will be explained in more detail below.
  • +
+ +

Next let’s create a CDK file using Configurator to control resources in our stacks.

+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import * as lambda from "aws-cdk-lib/aws-lambda";
    +import * as s3 from "aws-cdk-lib/aws-s3";
    +import {
    +  BaseStack,
    +  Configurator,
    +  DataPipeline,
    +  S3EventStage,
    +  SqsToLambdaStage,
    +} from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +const app = new cdk.App();
    +
    +class ExampleStack extends BaseStack {
    +  constructor(scope: Construct, environment: string) {
    +    super(scope, `${environment}Resources`, {});
    +    const s3Stage = new S3EventStage(this, `MyEventBucket${environment}`, {
    +      bucket: new s3.Bucket(this, `MyBucket${environment}`),
    +      eventNames: ["Object Created"],
    +    });
    +    const sqsToLambdaStage = new SqsToLambdaStage(this, `${environment}Stage`, {
    +      lambdaFunctionProps: {
    +        code: lambda.Code.fromInline(
    +          "def lambda_handler(event, context): pass;"
    +        ),
    +        handler: "lambda_function.lambda_handler",
    +        runtime: lambda.Runtime.PYTHON_3_8,
    +      },
    +    });
    +    new DataPipeline(this, `${environment}DataPipeline`, {})
    +      .addStage({ stage: s3Stage })
    +      .addStage({ stage: sqsToLambdaStage });
    +    new Configurator(this, "./ddk.json", environment);
    +  }
    +}
    +
    +// Dev Stack
    +new ExampleStack(app, "dev");
    +
    +// Prod Stack
    +new ExampleStack(app, "prod");
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Now let’s synthesize our templates to examine Configurator in action.

+ +
cdk synth devResources
+cdk synth prodResources
+
+ +

If we take a look at the SQS Queue in devResources

+ +
devStageQueue44060536:
+    Type: AWS::SQS::Queue
+    Properties:
+      Tags:
+        - Key: CostCenter
+          Value: "2014"
+        - Key: Global:Tag:foo
+          Value: bar
+      VisibilityTimeout: 180
+    UpdateReplacePolicy: Delete
+    DeletionPolicy: Delete
+    Metadata:
+      aws:cdk:path: devResources/devStage/Queue/Resource
+
+ +

We can see that VisibilityTimeout has been updated as well as both the global tag and environment tag have been added to the resource. The same should follow for the other resources called out by the configuration.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in Configurator within the resources object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2}
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

All resources of a given type e.g. AWS::Lambda::Function can be configured as well, but this will override properties for any resource matching that type within a following scope Configurator has been applied to. For example:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "AWS::Lambda::Function": {
+                    "MemorySize": 512
+                }
+            },
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.1/how-to/index.html b/release/1.0.1/how-to/index.html new file mode 100644 index 00000000..e323577a --- /dev/null +++ b/release/1.0.1/how-to/index.html @@ -0,0 +1,1853 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.0.1 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.1/how-to/multi-account-deployment.html b/release/1.0.1/how-to/multi-account-deployment.html new file mode 100644 index 00000000..4b6d41df --- /dev/null +++ b/release/1.0.1/how-to/multi-account-deployment.html @@ -0,0 +1,279 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

cdk bootstrap allows us to setup cross-account access for your AWS accounts.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: cdk bootstrap -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: cdk bootstrap -p ${DEV_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
  • [test]: cdk bootstrap -e test -p ${TEST_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
+ +

The dev & test environments are bootstrapped with --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess to setup the required cross account access for the cicd account to manage resources within them.

+ +

[Optional] Configuration

+

A preferred solution is to store environment configuration in a file e.g. ddk.json.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ + +
    + +
  • +

    You can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import * as cdk from 'aws-cdk-lib';
    +import * as ddk from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +export class ApplicationStage extends cdk.Stage {
    +  constructor(
    +    scope: Construct,
    +    id: string,
    +    props?: cdk.StageProps
    +  ) {
    +    super(scope, id, props ?? {});
    +    new cdk.Stack(this, "DataPipeline");
    +  }
    +}
    +
    +const app = new cdk.App();
    +
    +new ddk.CICDPipelineStack(app, "DDKCodePipeline", {
    +  environmentId: "cicd",
    +  pipelineName: "ddk-application-pipeline",
    +  env: ddk.Configurator.getEnvironment({
    +    configPath: "./ddk.json",
    +    environmentId: "cicd",
    +  }),
    +})
    +  .addSourceAction({ repositoryName: "ddk-repository" })
    +  .addSynthAction()
    +  .buildPipeline()
    +  .addStage({
    +    stageId: "dev",
    +    stage: new ApplicationStage(app, "DevStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "dev",
    +      }),
    +    }),
    +  })
    +  .addStage({
    +    stageId: "test",
    +    stage: new ApplicationStage(app, "TestStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "test",
    +      }),
    +    }),
    +  })
    +  .synth();
    +
    +app.synth();
    +
    +
  • + +
  • +

    app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import aws_cdk as cdk
    +import aws_ddk_core as ddk
    +
    +
    +class ApplicationStage(cdk.Stage):
    +    def __init__(
    +        self,
    +        scope,
    +        id: str,
    +        **kwargs,
    +    ) -> None:
    +        super().__init__(scope, id, **kwargs)
    +        cdk.Stack(self, "DataPipeline")
    +
    +
    +app = cdk.App()
    +
    +(
    +    ddk.CICDPipelineStack(
    +        app,
    +        id="DDKCodePipeline",
    +        environment_id="cicd",
    +        pipeline_name="ddk-application-pipeline",
    +        env=ddk.Configurator.get_environment(
    +            config_path="./ddk.json", environment_id="cicd"
    +        ),
    +    )
    +    .add_source_action(repository_name="ddk-repository")
    +    .add_synth_action()
    +    .build_pipeline()
    +    .add_stage(
    +        stage_id="dev",
    +        stage=ApplicationStage(
    +            app,
    +            "DevStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="dev"
    +            ),
    +        ),
    +    )
    +    .add_stage(
    +        stage_id="test",
    +        stage=ApplicationStage(
    +            app,
    +            "TestStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="test"
    +            ),
    +        ),
    +    )
    +    .synth()
    +)
    +
    +app.synth()
    +
    + +
  • + +
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
aws codecommit create-repository --repository-name ddk-repository
+git init
+git remote add origin https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running cdk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment.

+ +

Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.1/how-to/private-artifactory.html b/release/1.0.1/how-to/private-artifactory.html new file mode 100644 index 00000000..7a5ed0ff --- /dev/null +++ b/release/1.0.1/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for personally identifiable information). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.1/how-to/spend-first-hour.html b/release/1.0.1/how-to/spend-first-hour.html new file mode 100644 index 00000000..56dbcac7 --- /dev/null +++ b/release/1.0.1/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.1/how-to/understand-concepts.html b/release/1.0.1/how-to/understand-concepts.html new file mode 100644 index 00000000..6c5e1b5d --- /dev/null +++ b/release/1.0.1/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK in CDK Applications?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.1/how-to/upgrade-guide.html b/release/1.0.1/how-to/upgrade-guide.html new file mode 100644 index 00000000..0b7b2527 --- /dev/null +++ b/release/1.0.1/how-to/upgrade-guide.html @@ -0,0 +1,221 @@ + + + + + + +1.0.0 Upgrade guide | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

1.0.0 Major Version Release

+

Version 1.0.0 of the AWS DDK includes the following high-level changes and updates.

+
    +
  • Source code is now written in Typescript and uses JSII to package both python and typescript versions of the library. In the near future we will add support for all AWS CDK supported programming languages.
  • +
  • A new optional config construct Configurator() has been implemented to replace the required Config() construct from earlier verisons.
  • +
  • The DDK CLI has been deprectated. Projects that were bootstrapped using ddk bootstrap will still be supported.
  • +
  • New stages have been added + +
  • +
+ +

Config

+

Configurator is the new optional construct used to manage config across multiple environments. While this can handle a variety of use cases we encourage users to build their own config mechanisms when it Configurator is not the best option. See this how-to guidefor more on using Configurator.

+ +

Bootstrapping

+

Customers that have already bootstrapped accounts and regions using ddk bootstrap can easily use the same roles by following the Using Legacy DDK Bootstrap Roles section of this guide.

+ +

Stage Properties

+

Because we have shifted to using typescript interfaces provided by the AWS CDK some properties may look slightly different in the new version. We will outline some common changes below, but always refer to the API documentation if you are unsure.

+ +
    +
  • Data Pipeline: Now requires positional arguments in the add_stage() method.
  • +
+ +
    + +
  • +
    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: myFirstStage}).addStage({stage: mySecondStage})
    +
    +
  • + +
  • +
    (
    +  DataPipeline(scope=self, id="DDK Pipeline")
    +  .add_stage(stage=my_first_stage)
    +  .add_stage(stage=my_second_stage)
    +)
    +
    +
  • + +
+
    +
  • Changes to SqsToLambdaStage Properties: Function and queue properties now have their own dedicated positional argument.
  • +
+ +
    + +
  • +
    new SqsToLambdaStage(
    +  this, 
    +  "Lambda Stage", 
    +  {
    +    lambdaFunctionProps: {
    +      functionName: "dummy-function",
    +      code: lambda.Code.fromAsset(path.join(__dirname, "/../src/")),
    +      handler: "commons.handlers.lambda_handler",
    +      runtime: lambda.Runtime.PYTHON_3_8,
    +    },
    +    sqsQueueProps: {
    +      queueName: "dummy-queue.fifo",
    +      visibilityTimeout: cdk.Duration.minutes(5),
    +    },
    +  }
    +)
    +
    +
  • + +
  • +
    SqsToLambdaStage(
    +    self,
    +    id="lambda-stage",
    +    lambda_function_props={
    +        "code": Code.from_asset("./ddk_app/lambda_handlers"),
    +        "handler": "handler.lambda_handler",
    +        "layers": [
    +            LayerVersion.from_layer_version_arn(
    +                self,
    +                id="layer",
    +                layer_version_arn=f"arn:aws:lambda:{self.region}:336392948345:layer:AWSDataWrangler-Python39:1",
    +            )
    +        ],
    +        "runtime": Runtime.PYTHON_3_9,
    +    },
    +)
    +
    +
  • + +
+
    +
  • BaseStack: No longer requires an environment id. See BaseStackProps() for more details.
  • +
+ +
    + +
  • +
    new BaseStack(app, "my-stack", {});
    +
    +
  • + +
  • +
    BaseStack(app, "my-stack")
    +
    +
  • + +
+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.0.1/index.html b/release/1.0.1/index.html new file mode 100644 index 00000000..d4c5f4af --- /dev/null +++ b/release/1.0.1/index.html @@ -0,0 +1,1859 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.0.1 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.1.0/how-to/custom-bootstrap.html b/release/1.1.0/how-to/custom-bootstrap.html new file mode 100644 index 00000000..d132fba9 --- /dev/null +++ b/release/1.1.0/how-to/custom-bootstrap.html @@ -0,0 +1,192 @@ + + + + + + +Different methods to bootstrap DDK apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Bootstrapping

+ +

The AWS CDK requires some resources to be provisioned before deploying stacks into an account (i.e. IAM Roles, S3 Bucket for Assets). This is referred to as bootstrapping.

+ +

DDK Bootstrap Cases

+

The following are possible ways of bootstrapping an AWS account for DDK apps.

+ +

Default

+

If no configuration is provided the DDK stacks will leverage the default resources provisioned by cdk bootstrap.

+ +

Use Configurator()

+

See Configurator for more details on the construct.

+ +

Schema

+

Configurator supports the following schema, at both the global and environment level, for defining bootstrap resources for your CDK app.

+ +

All fields are optional

+
    +
  • bootstrap +
      +
    • prefix: (The prefix of role names created to be used in a stack’s synthesizer)
    • +
    • qualifier: (The qualifier used to bootstrap this stack)
    • +
    • file_assets_bucket_name: (File assets bucket name)
    • +
    • stack_version_ssm_parameter: (Default bootstrap stack version SSM parameter)
    • +
    • deploy_role: (Default deploy role ARN)
    • +
    • file_publish_role: (Default asset publishing role ARN for file (S3) assets)
    • +
    • cfn_execution_role: (Default CloudFormation role ARN)
    • +
    • lookup_role: (Default lookup role ARN for missing values)
    • +
    +
  • +
+ +

Configurator uses the DefaultStackSynthesizer construct under the hood

+ +
Example
+
"environments": {
+  "dev": {
+    "account": "000000000000",
+    "region": "us-west-2",
+    "bootstrap": {
+      "qualifier": "abcdefgh",
+      "bucket_name": "ddk-abcdefgh-assets-000000000000-us-west-2",
+      "deploy_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh--deploy-role-000000000000-us-west-2",
+      "cfn_execution_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-cfn-exec-role-000000000000-us-west-2",
+      "file_publish_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-file-publishing-role-000000000000-us-west-2",
+      "lookup_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh-lookup-role-000000000000-us-west-2",
+    }
+  }
+}
+
+ +

The stack synthesizer will be created for your app using all values specified in Configurator() and resort to default cdk bootstrap values when not explicitly set.

+ +

Note: The values for account and region will be default to CDK_DEFAULT_ACCOUNT and CDK_DEFAULT_REGION if not explicitly set in the environment config.

+ +

Using Legacy DDK Bootstrap Roles

+

If you are familiar with the <1.0.0 versions of the DDK there was a separate package including a CLI with a ddk bootstrap -e ${ENVIRONMENT_ID} command. This builds a bootstrap stack with slightly modified resources as compared to CDK’s native bootstrap method. Let’s look at an example of using existing DDK bootstrap roles with newer versions of the DDK core library.

+ +
    +
  1. Assume we have deployed a DDK bootstrap stack for a dev environment in our account. +Stack
  2. +
  3. Configure ddk.json with the prefix: ddk to indicate any stacks created within this environment should use ddk bootstrap roles. +
    {
    +  "environments": {
    + "dev": {
    +   "bootstrap": {
    +     "prefix": "ddk"
    +   }
    + }
    +  }
    +}
    +
    +
  4. +
  5. Use BaseStack with the dev environment passed as a property.
  6. +
+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack } from "aws-ddk-core";
    +
    +const app = new cdk.App();
    +const stack = new BaseStack(app, 'ExampleStack', {environmentId: "dev"})
    +console.log(stack.synthesizer)
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +from aws_ddk_core import BaseStack
    +
    +app = cdk.App()
    +stack = BaseStack(app, "ExampleStack", environment_id: "dev")
    +print(stack.synthesizer)
    +app.synth()
    +
    +
  • + +
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.1.0/how-to/custom-stage.html b/release/1.1.0/how-to/custom-stage.html new file mode 100644 index 00000000..d251559f --- /dev/null +++ b/release/1.1.0/how-to/custom-stage.html @@ -0,0 +1,287 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ + +
    + +
  • +

    I’ll write a file to my application stack package called sns.ts.

    + +
    import * as events from "aws-cdk-lib/aws-events";
    +import * as eventsTargets from "aws-cdk-lib/aws-events-targets";
    +import * as sns from "aws-cdk-lib/aws-sns";
    +import { DataStage } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +
    +
    +export class SNSStage extends DataStage {
    +  readonly topic: sns.ITopic;
    +  readonly targets?: events.IRuleTarget[];
    +  readonly eventPattern?: events.EventPattern;
    +  
    +  constructor(scope: Construct, id: string) {
    +    super(scope, id, {});
    +    this.topic = new sns.Topic(this, "SNS Topic")
    +    this.eventPattern = {
    +      detailType: [`${id}-event-type`],
    +    }
    +    this.targets = [new eventsTargets.SnsTopic(this.topic)]
    +  }
    +
    +}
    +
    +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack, BaseStackProps, DataPipeline, S3EventStage, S3Factory } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +import { SNSStage } from "../lib/sns";
    +
    +
    +export class DDKApplicationStack extends BaseStack {
    +  
    +  constructor(scope: Construct, id: string, props?: BaseStackProps) {
    +    super(scope, id, props ?? {});
    +    const ddkBucket = S3Factory.bucket(this, "Bucket", {})
    +    const s3EventStage = new S3EventStage(
    +      this,
    +      "S3 Event Stage",
    +      {
    +        eventNames: ["Object Created"],
    +        bucket: ddkBucket,
    +        keyPrefix: "raw",
    +      }
    +    )
    +    const snsStage = new SNSStage(
    +      this, "SNS Stage"
    +    )
    +    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: s3EventStage}).addStage({stage: snsStage})
    +  }
    +
    +}
    +
    +const app = new cdk.App();
    +new DDKApplicationStack(app, "CustomStageStack");
    +
    +app.synth();
    +
    +
    + +
  • + +
  • +

    I’ll write a file to my application stack package called sns.py.

    +
    from typing import Any, List, Optional
    +
    +from aws_cdk.aws_events import EventPattern, IRuleTarget
    +from aws_cdk.aws_events_targets import SnsTopic
    +from aws_cdk.aws_sns import ITopic, Topic
    +from aws_ddk_core import DataStage  # importing DataStage class for ddk core
    +from constructs import Construct
    +
    +
    +class SNSStage(DataStage):
    +    """
    +    Class that represents a SNS DDK Stage.
    +    """
    +
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        id: str,
    +        **kwargs: Any,
    +    ) -> None:
    +        """
    +        DDK SNS stage.
    +        """
    +        super().__init__(scope, id, **kwargs)
    +
    +        self._event_detail_type: str = f"{id}-event-type"
    +
    +        # create topic
    +        self._topic = Topic(self, f"SNS Topic")
    +
    +    @property
    +    def topic(self) -> ITopic:
    +        """
    +        Return: Topic
    +            The SNS Topic
    +        """
    +        return self._topic
    +
    +    # method to retrieve Event Pattern
    +    @property
    +    def event_pattern(self) -> Optional[EventPattern]:
    +        return EventPattern(
    +            detail_type=[self._event_detail_type],
    +        )
    +
    +    # methord to retrieve Event Rule Target
    +    @property
    +    def targets(self) -> Optional[List[IRuleTarget]]:
    +        return [SnsTopic(self._topic)]
    +
    +
    +
    + +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    from typing import Any
    +
    +import aws_cdk as cdk
    +from aws_ddk_core import BaseStack, DataPipeline, S3EventStage, S3Factory
    +from constructs import Construct
    +
    +from ddk_app.sns import SNSStage  # import my class I built above
    +
    +
    +class DDKApplicationStack(BaseStack):
    +    def __init__(self, scope: Construct, id: str, **kwargs: Any) -> None:
    +        super().__init__(scope, id, **kwargs)
    +
    +        # create my bucket
    +        ddk_bucket = S3Factory.bucket(
    +            self,
    +            "Bucket",
    +        )
    +
    +        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
    +        s3_event_stage = S3EventStage(
    +            scope=self,
    +            id="S3 Event Stage",
    +            event_names=["Object Created"],
    +            bucket=ddk_bucket,
    +            key_prefix="raw",
    +        )
    +
    +        # instantiate my sns stage class
    +        sns_stage = SNSStage(
    +            scope=self,
    +            id="SNS Stage",
    +        )
    +
    +        # construct my DataPipeline
    +        (
    +            DataPipeline(scope=self, id="DDK Pipeline")
    +            .add_stage(stage=s3_event_stage)
    +            .add_stage(stage=sns_stage)
    +        )
    +
    +
    +app = cdk.App()
    +
    +DDKApplicationStack(app, "CustomStageStack")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Build

+

Use cdk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.1.0/how-to/ddk-configuration.html b/release/1.1.0/how-to/ddk-configuration.html new file mode 100644 index 00000000..ecf889eb --- /dev/null +++ b/release/1.1.0/how-to/ddk-configuration.html @@ -0,0 +1,307 @@ + + + + + + +DDK Configurator | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core offers a construct: Configurator which can be used to manage configuration across several DDK environments. Note: This is a completely optional construct and users should feel free to build their own configuration mechanisms when necessary.

+ +

Example

+

In this example we will begin by creating a configuration file.

+
touch ddk.json
+
+

And updating it to include the following JSON data.

+ +
{
+  "tags": {
+    "Global:Tag:foo": "bar"
+  },
+  "account": "111111111111",
+  "region": "us-east-1",
+  "environments": {
+    "dev": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 128,
+          "Runtime": "python3.9"
+        },
+        "devStage/Queue": {
+          "VisibilityTimeout": 180
+        },
+        "AWS::S3::Bucket": {
+          "RemovalPolicy": "DESTROY"
+        }
+      },
+      "tags": {"CostCenter": "2014"},
+      "props": {
+        "special_prop": "foobar"
+      }
+    },
+    "prod": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 1024,
+          "Runtime": "python3.9"
+        }
+      },
+      "tags": {"CostCenter": "2015"}
+    }
+  }
+}
+
+ +

Let’s breakdown what’s included in this configuration file.

+ +
    +
  • A tag "Global:Tag:foo": "bar" is defined globally which will be applied to any scope Configurator is used on regardless of environment.
  • +
  • account & region are defined globally which can be accessed from Configurator.getEnvironment() to be used where a cdk.Environment is applicable.
  • +
  • environments is an object that includes configuration for any environments we would like to use. In this case there is one for dev and one for prod.
  • +
  • We include account & region in the environment which can be accessed to be used where a cdk.Environment is applicable.
  • +
  • The resources block contains any property overrides you would like to set. In this case we are overriding MemorySize & Runtime in our Lambda Functions, setting VisibilityTimeout for our SQS queue in dev and setting DESTROY removal policy for our S3 Bucket in dev. This will be explained in more detail below.
  • +
+ +

Next let’s create a CDK file using Configurator to control resources in our stacks.

+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import * as lambda from "aws-cdk-lib/aws-lambda";
    +import * as s3 from "aws-cdk-lib/aws-s3";
    +import {
    +  BaseStack,
    +  Configurator,
    +  DataPipeline,
    +  S3EventStage,
    +  SqsToLambdaStage,
    +} from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +const app = new cdk.App();
    +
    +class ExampleStack extends BaseStack {
    +  constructor(scope: Construct, environment: string) {
    +    super(scope, `${environment}Resources`, {});
    +    const s3Stage = new S3EventStage(this, `MyEventBucket${environment}`, {
    +      bucket: new s3.Bucket(this, `MyBucket${environment}`),
    +      eventNames: ["Object Created"],
    +    });
    +    const sqsToLambdaStage = new SqsToLambdaStage(this, `${environment}Stage`, {
    +      lambdaFunctionProps: {
    +        code: lambda.Code.fromInline(
    +          "def lambda_handler(event, context): pass;"
    +        ),
    +        handler: "lambda_function.lambda_handler",
    +        runtime: lambda.Runtime.PYTHON_3_8,
    +      },
    +    });
    +    new DataPipeline(this, `${environment}DataPipeline`, {})
    +      .addStage({ stage: s3Stage })
    +      .addStage({ stage: sqsToLambdaStage });
    +    new Configurator(this, "./ddk.json", environment);
    +  }
    +}
    +
    +// Dev Stack
    +new ExampleStack(app, "dev");
    +
    +// Prod Stack
    +new ExampleStack(app, "prod");
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Now let’s synthesize our templates to examine Configurator in action.

+ +
cdk synth devResources
+cdk synth prodResources
+
+ +

If we take a look at the SQS Queue in devResources

+ +
devStageQueue44060536:
+    Type: AWS::SQS::Queue
+    Properties:
+      Tags:
+        - Key: CostCenter
+          Value: "2014"
+        - Key: Global:Tag:foo
+          Value: bar
+      VisibilityTimeout: 180
+    UpdateReplacePolicy: Delete
+    DeletionPolicy: Delete
+    Metadata:
+      aws:cdk:path: devResources/devStage/Queue/Resource
+
+ +

We can see that VisibilityTimeout has been updated as well as both the global tag and environment tag have been added to the resource. The same should follow for the other resources called out by the configuration.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in Configurator within the resources object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2}
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

All resources of a given type e.g. AWS::Lambda::Function can be configured as well, but this will override properties for any resource matching that type within a following scope Configurator has been applied to. For example:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "AWS::Lambda::Function": {
+                    "MemorySize": 512
+                }
+            },
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.1.0/how-to/index.html b/release/1.1.0/how-to/index.html new file mode 100644 index 00000000..ebf49173 --- /dev/null +++ b/release/1.1.0/how-to/index.html @@ -0,0 +1,1853 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.1.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.1.0/how-to/multi-account-deployment.html b/release/1.1.0/how-to/multi-account-deployment.html new file mode 100644 index 00000000..ec3ffe91 --- /dev/null +++ b/release/1.1.0/how-to/multi-account-deployment.html @@ -0,0 +1,279 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

cdk bootstrap allows us to setup cross-account access for your AWS accounts.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: cdk bootstrap -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: cdk bootstrap -p ${DEV_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
  • [test]: cdk bootstrap -e test -p ${TEST_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
+ +

The dev & test environments are bootstrapped with --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess to setup the required cross account access for the cicd account to manage resources within them.

+ +

[Optional] Configuration

+

A preferred solution is to store environment configuration in a file e.g. ddk.json.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ + +
    + +
  • +

    You can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import * as cdk from 'aws-cdk-lib';
    +import * as ddk from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +export class ApplicationStage extends cdk.Stage {
    +  constructor(
    +    scope: Construct,
    +    id: string,
    +    props?: cdk.StageProps
    +  ) {
    +    super(scope, id, props ?? {});
    +    new cdk.Stack(this, "DataPipeline");
    +  }
    +}
    +
    +const app = new cdk.App();
    +
    +new ddk.CICDPipelineStack(app, "DDKCodePipeline", {
    +  environmentId: "cicd",
    +  pipelineName: "ddk-application-pipeline",
    +  env: ddk.Configurator.getEnvironment({
    +    configPath: "./ddk.json",
    +    environmentId: "cicd",
    +  }),
    +})
    +  .addSourceAction({ repositoryName: "ddk-repository" })
    +  .addSynthAction()
    +  .buildPipeline()
    +  .addStage({
    +    stageId: "dev",
    +    stage: new ApplicationStage(app, "DevStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "dev",
    +      }),
    +    }),
    +  })
    +  .addStage({
    +    stageId: "test",
    +    stage: new ApplicationStage(app, "TestStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "test",
    +      }),
    +    }),
    +  })
    +  .synth();
    +
    +app.synth();
    +
    +
  • + +
  • +

    app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import aws_cdk as cdk
    +import aws_ddk_core as ddk
    +
    +
    +class ApplicationStage(cdk.Stage):
    +    def __init__(
    +        self,
    +        scope,
    +        id: str,
    +        **kwargs,
    +    ) -> None:
    +        super().__init__(scope, id, **kwargs)
    +        cdk.Stack(self, "DataPipeline")
    +
    +
    +app = cdk.App()
    +
    +(
    +    ddk.CICDPipelineStack(
    +        app,
    +        id="DDKCodePipeline",
    +        environment_id="cicd",
    +        pipeline_name="ddk-application-pipeline",
    +        env=ddk.Configurator.get_environment(
    +            config_path="./ddk.json", environment_id="cicd"
    +        ),
    +    )
    +    .add_source_action(repository_name="ddk-repository")
    +    .add_synth_action()
    +    .build_pipeline()
    +    .add_stage(
    +        stage_id="dev",
    +        stage=ApplicationStage(
    +            app,
    +            "DevStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="dev"
    +            ),
    +        ),
    +    )
    +    .add_stage(
    +        stage_id="test",
    +        stage=ApplicationStage(
    +            app,
    +            "TestStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="test"
    +            ),
    +        ),
    +    )
    +    .synth()
    +)
    +
    +app.synth()
    +
    + +
  • + +
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
aws codecommit create-repository --repository-name ddk-repository
+git init
+git remote add origin https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running cdk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment.

+ +

Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.1.0/how-to/private-artifactory.html b/release/1.1.0/how-to/private-artifactory.html new file mode 100644 index 00000000..49121f00 --- /dev/null +++ b/release/1.1.0/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for personally identifiable information). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.1.0/how-to/spend-first-hour.html b/release/1.1.0/how-to/spend-first-hour.html new file mode 100644 index 00000000..fbf52ced --- /dev/null +++ b/release/1.1.0/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.1.0/how-to/understand-concepts.html b/release/1.1.0/how-to/understand-concepts.html new file mode 100644 index 00000000..936c0883 --- /dev/null +++ b/release/1.1.0/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK in CDK Applications?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.1.0/how-to/upgrade-guide.html b/release/1.1.0/how-to/upgrade-guide.html new file mode 100644 index 00000000..bfd3f4b4 --- /dev/null +++ b/release/1.1.0/how-to/upgrade-guide.html @@ -0,0 +1,221 @@ + + + + + + +1.0.0 Upgrade guide | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

1.0.0 Major Version Release

+

Version 1.0.0 of the AWS DDK includes the following high-level changes and updates.

+
    +
  • Source code is now written in Typescript and uses JSII to package both python and typescript versions of the library. In the near future we will add support for all AWS CDK supported programming languages.
  • +
  • A new optional config construct Configurator() has been implemented to replace the required Config() construct from earlier verisons.
  • +
  • The DDK CLI has been deprectated. Projects that were bootstrapped using ddk bootstrap will still be supported.
  • +
  • New stages have been added + +
  • +
+ +

Config

+

Configurator is the new optional construct used to manage config across multiple environments. While this can handle a variety of use cases we encourage users to build their own config mechanisms when it Configurator is not the best option. See this how-to guidefor more on using Configurator.

+ +

Bootstrapping

+

Customers that have already bootstrapped accounts and regions using ddk bootstrap can easily use the same roles by following the Using Legacy DDK Bootstrap Roles section of this guide.

+ +

Stage Properties

+

Because we have shifted to using typescript interfaces provided by the AWS CDK some properties may look slightly different in the new version. We will outline some common changes below, but always refer to the API documentation if you are unsure.

+ +
    +
  • Data Pipeline: Now requires positional arguments in the add_stage() method.
  • +
+ +
    + +
  • +
    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: myFirstStage}).addStage({stage: mySecondStage})
    +
    +
  • + +
  • +
    (
    +  DataPipeline(scope=self, id="DDK Pipeline")
    +  .add_stage(stage=my_first_stage)
    +  .add_stage(stage=my_second_stage)
    +)
    +
    +
  • + +
+
    +
  • Changes to SqsToLambdaStage Properties: Function and queue properties now have their own dedicated positional argument.
  • +
+ +
    + +
  • +
    new SqsToLambdaStage(
    +  this, 
    +  "Lambda Stage", 
    +  {
    +    lambdaFunctionProps: {
    +      functionName: "dummy-function",
    +      code: lambda.Code.fromAsset(path.join(__dirname, "/../src/")),
    +      handler: "commons.handlers.lambda_handler",
    +      runtime: lambda.Runtime.PYTHON_3_8,
    +    },
    +    sqsQueueProps: {
    +      queueName: "dummy-queue.fifo",
    +      visibilityTimeout: cdk.Duration.minutes(5),
    +    },
    +  }
    +)
    +
    +
  • + +
  • +
    SqsToLambdaStage(
    +    self,
    +    id="lambda-stage",
    +    lambda_function_props={
    +        "code": Code.from_asset("./ddk_app/lambda_handlers"),
    +        "handler": "handler.lambda_handler",
    +        "layers": [
    +            LayerVersion.from_layer_version_arn(
    +                self,
    +                id="layer",
    +                layer_version_arn=f"arn:aws:lambda:{self.region}:336392948345:layer:AWSDataWrangler-Python39:1",
    +            )
    +        ],
    +        "runtime": Runtime.PYTHON_3_9,
    +    },
    +)
    +
    +
  • + +
+
    +
  • BaseStack: No longer requires an environment id. See BaseStackProps() for more details.
  • +
+ +
    + +
  • +
    new BaseStack(app, "my-stack", {});
    +
    +
  • + +
  • +
    BaseStack(app, "my-stack")
    +
    +
  • + +
+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.1.0/index.html b/release/1.1.0/index.html new file mode 100644 index 00000000..951ce1a6 --- /dev/null +++ b/release/1.1.0/index.html @@ -0,0 +1,1859 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.1.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.2.0/how-to/custom-bootstrap.html b/release/1.2.0/how-to/custom-bootstrap.html new file mode 100644 index 00000000..dbda2d80 --- /dev/null +++ b/release/1.2.0/how-to/custom-bootstrap.html @@ -0,0 +1,192 @@ + + + + + + +Different methods to bootstrap DDK apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Bootstrapping

+ +

The AWS CDK requires some resources to be provisioned before deploying stacks into an account (i.e. IAM Roles, S3 Bucket for Assets). This is referred to as bootstrapping.

+ +

DDK Bootstrap Cases

+

The following are possible ways of bootstrapping an AWS account for DDK apps.

+ +

Default

+

If no configuration is provided the DDK stacks will leverage the default resources provisioned by cdk bootstrap.

+ +

Use Configurator()

+

See Configurator for more details on the construct.

+ +

Schema

+

Configurator supports the following schema, at both the global and environment level, for defining bootstrap resources for your CDK app.

+ +

All fields are optional

+
    +
  • bootstrap +
      +
    • prefix: (The prefix of role names created to be used in a stack’s synthesizer)
    • +
    • qualifier: (The qualifier used to bootstrap this stack)
    • +
    • file_assets_bucket_name: (File assets bucket name)
    • +
    • stack_version_ssm_parameter: (Default bootstrap stack version SSM parameter)
    • +
    • deploy_role: (Default deploy role ARN)
    • +
    • file_publish_role: (Default asset publishing role ARN for file (S3) assets)
    • +
    • cfn_execution_role: (Default CloudFormation role ARN)
    • +
    • lookup_role: (Default lookup role ARN for missing values)
    • +
    +
  • +
+ +

Configurator uses the DefaultStackSynthesizer construct under the hood

+ +
Example
+
"environments": {
+  "dev": {
+    "account": "000000000000",
+    "region": "us-west-2",
+    "bootstrap": {
+      "qualifier": "abcdefgh",
+      "bucket_name": "ddk-abcdefgh-assets-000000000000-us-west-2",
+      "deploy_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh--deploy-role-000000000000-us-west-2",
+      "cfn_execution_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-cfn-exec-role-000000000000-us-west-2",
+      "file_publish_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-file-publishing-role-000000000000-us-west-2",
+      "lookup_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh-lookup-role-000000000000-us-west-2",
+    }
+  }
+}
+
+ +

The stack synthesizer will be created for your app using all values specified in Configurator() and resort to default cdk bootstrap values when not explicitly set.

+ +

Note: The values for account and region will be default to CDK_DEFAULT_ACCOUNT and CDK_DEFAULT_REGION if not explicitly set in the environment config.

+ +

Using Legacy DDK Bootstrap Roles

+

If you are familiar with the <1.0.0 versions of the DDK there was a separate package including a CLI with a ddk bootstrap -e ${ENVIRONMENT_ID} command. This builds a bootstrap stack with slightly modified resources as compared to CDK’s native bootstrap method. Let’s look at an example of using existing DDK bootstrap roles with newer versions of the DDK core library.

+ +
    +
  1. Assume we have deployed a DDK bootstrap stack for a dev environment in our account. +Stack
  2. +
  3. Configure ddk.json with the prefix: ddk to indicate any stacks created within this environment should use ddk bootstrap roles. +
    {
    +  "environments": {
    + "dev": {
    +   "bootstrap": {
    +     "prefix": "ddk"
    +   }
    + }
    +  }
    +}
    +
    +
  4. +
  5. Use BaseStack with the dev environment passed as a property.
  6. +
+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack } from "aws-ddk-core";
    +
    +const app = new cdk.App();
    +const stack = new BaseStack(app, 'ExampleStack', {environmentId: "dev"})
    +console.log(stack.synthesizer)
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +from aws_ddk_core import BaseStack
    +
    +app = cdk.App()
    +stack = BaseStack(app, "ExampleStack", environment_id: "dev")
    +print(stack.synthesizer)
    +app.synth()
    +
    +
  • + +
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.2.0/how-to/custom-stage.html b/release/1.2.0/how-to/custom-stage.html new file mode 100644 index 00000000..a1292c18 --- /dev/null +++ b/release/1.2.0/how-to/custom-stage.html @@ -0,0 +1,287 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ + +
    + +
  • +

    I’ll write a file to my application stack package called sns.ts.

    + +
    import * as events from "aws-cdk-lib/aws-events";
    +import * as eventsTargets from "aws-cdk-lib/aws-events-targets";
    +import * as sns from "aws-cdk-lib/aws-sns";
    +import { DataStage } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +
    +
    +export class SNSStage extends DataStage {
    +  readonly topic: sns.ITopic;
    +  readonly targets?: events.IRuleTarget[];
    +  readonly eventPattern?: events.EventPattern;
    +  
    +  constructor(scope: Construct, id: string) {
    +    super(scope, id, {});
    +    this.topic = new sns.Topic(this, "SNS Topic")
    +    this.eventPattern = {
    +      detailType: [`${id}-event-type`],
    +    }
    +    this.targets = [new eventsTargets.SnsTopic(this.topic)]
    +  }
    +
    +}
    +
    +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack, BaseStackProps, DataPipeline, S3EventStage, S3Factory } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +import { SNSStage } from "../lib/sns";
    +
    +
    +export class DDKApplicationStack extends BaseStack {
    +  
    +  constructor(scope: Construct, id: string, props?: BaseStackProps) {
    +    super(scope, id, props ?? {});
    +    const ddkBucket = S3Factory.bucket(this, "Bucket", {})
    +    const s3EventStage = new S3EventStage(
    +      this,
    +      "S3 Event Stage",
    +      {
    +        eventNames: ["Object Created"],
    +        bucket: ddkBucket,
    +        keyPrefix: "raw",
    +      }
    +    )
    +    const snsStage = new SNSStage(
    +      this, "SNS Stage"
    +    )
    +    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: s3EventStage}).addStage({stage: snsStage})
    +  }
    +
    +}
    +
    +const app = new cdk.App();
    +new DDKApplicationStack(app, "CustomStageStack");
    +
    +app.synth();
    +
    +
    + +
  • + +
  • +

    I’ll write a file to my application stack package called sns.py.

    +
    from typing import Any, List, Optional
    +
    +from aws_cdk.aws_events import EventPattern, IRuleTarget
    +from aws_cdk.aws_events_targets import SnsTopic
    +from aws_cdk.aws_sns import ITopic, Topic
    +from aws_ddk_core import DataStage  # importing DataStage class for ddk core
    +from constructs import Construct
    +
    +
    +class SNSStage(DataStage):
    +    """
    +    Class that represents a SNS DDK Stage.
    +    """
    +
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        id: str,
    +        **kwargs: Any,
    +    ) -> None:
    +        """
    +        DDK SNS stage.
    +        """
    +        super().__init__(scope, id, **kwargs)
    +
    +        self._event_detail_type: str = f"{id}-event-type"
    +
    +        # create topic
    +        self._topic = Topic(self, f"SNS Topic")
    +
    +    @property
    +    def topic(self) -> ITopic:
    +        """
    +        Return: Topic
    +            The SNS Topic
    +        """
    +        return self._topic
    +
    +    # method to retrieve Event Pattern
    +    @property
    +    def event_pattern(self) -> Optional[EventPattern]:
    +        return EventPattern(
    +            detail_type=[self._event_detail_type],
    +        )
    +
    +    # methord to retrieve Event Rule Target
    +    @property
    +    def targets(self) -> Optional[List[IRuleTarget]]:
    +        return [SnsTopic(self._topic)]
    +
    +
    +
    + +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    from typing import Any
    +
    +import aws_cdk as cdk
    +from aws_ddk_core import BaseStack, DataPipeline, S3EventStage, S3Factory
    +from constructs import Construct
    +
    +from ddk_app.sns import SNSStage  # import my class I built above
    +
    +
    +class DDKApplicationStack(BaseStack):
    +    def __init__(self, scope: Construct, id: str, **kwargs: Any) -> None:
    +        super().__init__(scope, id, **kwargs)
    +
    +        # create my bucket
    +        ddk_bucket = S3Factory.bucket(
    +            self,
    +            "Bucket",
    +        )
    +
    +        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
    +        s3_event_stage = S3EventStage(
    +            scope=self,
    +            id="S3 Event Stage",
    +            event_names=["Object Created"],
    +            bucket=ddk_bucket,
    +            key_prefix="raw",
    +        )
    +
    +        # instantiate my sns stage class
    +        sns_stage = SNSStage(
    +            scope=self,
    +            id="SNS Stage",
    +        )
    +
    +        # construct my DataPipeline
    +        (
    +            DataPipeline(scope=self, id="DDK Pipeline")
    +            .add_stage(stage=s3_event_stage)
    +            .add_stage(stage=sns_stage)
    +        )
    +
    +
    +app = cdk.App()
    +
    +DDKApplicationStack(app, "CustomStageStack")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Build

+

Use cdk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.2.0/how-to/ddk-configuration.html b/release/1.2.0/how-to/ddk-configuration.html new file mode 100644 index 00000000..bb2d85f6 --- /dev/null +++ b/release/1.2.0/how-to/ddk-configuration.html @@ -0,0 +1,307 @@ + + + + + + +DDK Configurator | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core offers a construct: Configurator which can be used to manage configuration across several DDK environments. Note: This is a completely optional construct and users should feel free to build their own configuration mechanisms when necessary.

+ +

Example

+

In this example we will begin by creating a configuration file.

+
touch ddk.json
+
+

And updating it to include the following JSON data.

+ +
{
+  "tags": {
+    "Global:Tag:foo": "bar"
+  },
+  "account": "111111111111",
+  "region": "us-east-1",
+  "environments": {
+    "dev": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 128,
+          "Runtime": "python3.9"
+        },
+        "devStage/Queue": {
+          "VisibilityTimeout": 180
+        },
+        "AWS::S3::Bucket": {
+          "RemovalPolicy": "DESTROY"
+        }
+      },
+      "tags": {"CostCenter": "2014"},
+      "props": {
+        "special_prop": "foobar"
+      }
+    },
+    "prod": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 1024,
+          "Runtime": "python3.9"
+        }
+      },
+      "tags": {"CostCenter": "2015"}
+    }
+  }
+}
+
+ +

Let’s breakdown what’s included in this configuration file.

+ +
    +
  • A tag "Global:Tag:foo": "bar" is defined globally which will be applied to any scope Configurator is used on regardless of environment.
  • +
  • account & region are defined globally which can be accessed from Configurator.getEnvironment() to be used where a cdk.Environment is applicable.
  • +
  • environments is an object that includes configuration for any environments we would like to use. In this case there is one for dev and one for prod.
  • +
  • We include account & region in the environment which can be accessed to be used where a cdk.Environment is applicable.
  • +
  • The resources block contains any property overrides you would like to set. In this case we are overriding MemorySize & Runtime in our Lambda Functions, setting VisibilityTimeout for our SQS queue in dev and setting DESTROY removal policy for our S3 Bucket in dev. This will be explained in more detail below.
  • +
+ +

Next let’s create a CDK file using Configurator to control resources in our stacks.

+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import * as lambda from "aws-cdk-lib/aws-lambda";
    +import * as s3 from "aws-cdk-lib/aws-s3";
    +import {
    +  BaseStack,
    +  Configurator,
    +  DataPipeline,
    +  S3EventStage,
    +  SqsToLambdaStage,
    +} from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +const app = new cdk.App();
    +
    +class ExampleStack extends BaseStack {
    +  constructor(scope: Construct, environment: string) {
    +    super(scope, `${environment}Resources`, {});
    +    const s3Stage = new S3EventStage(this, `MyEventBucket${environment}`, {
    +      bucket: new s3.Bucket(this, `MyBucket${environment}`),
    +      eventNames: ["Object Created"],
    +    });
    +    const sqsToLambdaStage = new SqsToLambdaStage(this, `${environment}Stage`, {
    +      lambdaFunctionProps: {
    +        code: lambda.Code.fromInline(
    +          "def lambda_handler(event, context): pass;"
    +        ),
    +        handler: "lambda_function.lambda_handler",
    +        runtime: lambda.Runtime.PYTHON_3_8,
    +      },
    +    });
    +    new DataPipeline(this, `${environment}DataPipeline`, {})
    +      .addStage({ stage: s3Stage })
    +      .addStage({ stage: sqsToLambdaStage });
    +    new Configurator(this, "./ddk.json", environment);
    +  }
    +}
    +
    +// Dev Stack
    +new ExampleStack(app, "dev");
    +
    +// Prod Stack
    +new ExampleStack(app, "prod");
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Now let’s synthesize our templates to examine Configurator in action.

+ +
cdk synth devResources
+cdk synth prodResources
+
+ +

If we take a look at the SQS Queue in devResources

+ +
devStageQueue44060536:
+    Type: AWS::SQS::Queue
+    Properties:
+      Tags:
+        - Key: CostCenter
+          Value: "2014"
+        - Key: Global:Tag:foo
+          Value: bar
+      VisibilityTimeout: 180
+    UpdateReplacePolicy: Delete
+    DeletionPolicy: Delete
+    Metadata:
+      aws:cdk:path: devResources/devStage/Queue/Resource
+
+ +

We can see that VisibilityTimeout has been updated as well as both the global tag and environment tag have been added to the resource. The same should follow for the other resources called out by the configuration.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in Configurator within the resources object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2}
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

All resources of a given type e.g. AWS::Lambda::Function can be configured as well, but this will override properties for any resource matching that type within a following scope Configurator has been applied to. For example:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "AWS::Lambda::Function": {
+                    "MemorySize": 512
+                }
+            },
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.2.0/how-to/index.html b/release/1.2.0/how-to/index.html new file mode 100644 index 00000000..bf56e1aa --- /dev/null +++ b/release/1.2.0/how-to/index.html @@ -0,0 +1,1853 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.2.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.2.0/how-to/multi-account-deployment.html b/release/1.2.0/how-to/multi-account-deployment.html new file mode 100644 index 00000000..598a4b29 --- /dev/null +++ b/release/1.2.0/how-to/multi-account-deployment.html @@ -0,0 +1,279 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

cdk bootstrap allows us to setup cross-account access for your AWS accounts.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: cdk bootstrap -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: cdk bootstrap -p ${DEV_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
  • [test]: cdk bootstrap -e test -p ${TEST_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
+ +

The dev & test environments are bootstrapped with --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess to setup the required cross account access for the cicd account to manage resources within them.

+ +

[Optional] Configuration

+

A preferred solution is to store environment configuration in a file e.g. ddk.json.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ + +
    + +
  • +

    You can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import * as cdk from 'aws-cdk-lib';
    +import * as ddk from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +export class ApplicationStage extends cdk.Stage {
    +  constructor(
    +    scope: Construct,
    +    id: string,
    +    props?: cdk.StageProps
    +  ) {
    +    super(scope, id, props ?? {});
    +    new cdk.Stack(this, "DataPipeline");
    +  }
    +}
    +
    +const app = new cdk.App();
    +
    +new ddk.CICDPipelineStack(app, "DDKCodePipeline", {
    +  environmentId: "cicd",
    +  pipelineName: "ddk-application-pipeline",
    +  env: ddk.Configurator.getEnvironment({
    +    configPath: "./ddk.json",
    +    environmentId: "cicd",
    +  }),
    +})
    +  .addSourceAction({ repositoryName: "ddk-repository" })
    +  .addSynthAction()
    +  .buildPipeline()
    +  .addStage({
    +    stageId: "dev",
    +    stage: new ApplicationStage(app, "DevStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "dev",
    +      }),
    +    }),
    +  })
    +  .addStage({
    +    stageId: "test",
    +    stage: new ApplicationStage(app, "TestStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "test",
    +      }),
    +    }),
    +  })
    +  .synth();
    +
    +app.synth();
    +
    +
  • + +
  • +

    app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import aws_cdk as cdk
    +import aws_ddk_core as ddk
    +
    +
    +class ApplicationStage(cdk.Stage):
    +    def __init__(
    +        self,
    +        scope,
    +        id: str,
    +        **kwargs,
    +    ) -> None:
    +        super().__init__(scope, id, **kwargs)
    +        cdk.Stack(self, "DataPipeline")
    +
    +
    +app = cdk.App()
    +
    +(
    +    ddk.CICDPipelineStack(
    +        app,
    +        id="DDKCodePipeline",
    +        environment_id="cicd",
    +        pipeline_name="ddk-application-pipeline",
    +        env=ddk.Configurator.get_environment(
    +            config_path="./ddk.json", environment_id="cicd"
    +        ),
    +    )
    +    .add_source_action(repository_name="ddk-repository")
    +    .add_synth_action()
    +    .build_pipeline()
    +    .add_stage(
    +        stage_id="dev",
    +        stage=ApplicationStage(
    +            app,
    +            "DevStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="dev"
    +            ),
    +        ),
    +    )
    +    .add_stage(
    +        stage_id="test",
    +        stage=ApplicationStage(
    +            app,
    +            "TestStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="test"
    +            ),
    +        ),
    +    )
    +    .synth()
    +)
    +
    +app.synth()
    +
    + +
  • + +
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
aws codecommit create-repository --repository-name ddk-repository
+git init
+git remote add origin https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running cdk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment.

+ +

Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.2.0/how-to/private-artifactory.html b/release/1.2.0/how-to/private-artifactory.html new file mode 100644 index 00000000..d94b0012 --- /dev/null +++ b/release/1.2.0/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for personally identifiable information). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.2.0/how-to/spend-first-hour.html b/release/1.2.0/how-to/spend-first-hour.html new file mode 100644 index 00000000..f844c22d --- /dev/null +++ b/release/1.2.0/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.2.0/how-to/understand-concepts.html b/release/1.2.0/how-to/understand-concepts.html new file mode 100644 index 00000000..f28b2a98 --- /dev/null +++ b/release/1.2.0/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK in CDK Applications?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.2.0/how-to/upgrade-guide.html b/release/1.2.0/how-to/upgrade-guide.html new file mode 100644 index 00000000..6151a0bc --- /dev/null +++ b/release/1.2.0/how-to/upgrade-guide.html @@ -0,0 +1,221 @@ + + + + + + +1.0.0 Upgrade guide | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

1.0.0 Major Version Release

+

Version 1.0.0 of the AWS DDK includes the following high-level changes and updates.

+
    +
  • Source code is now written in Typescript and uses JSII to package both python and typescript versions of the library. In the near future we will add support for all AWS CDK supported programming languages.
  • +
  • A new optional config construct Configurator() has been implemented to replace the required Config() construct from earlier verisons.
  • +
  • The DDK CLI has been deprectated. Projects that were bootstrapped using ddk bootstrap will still be supported.
  • +
  • New stages have been added + +
  • +
+ +

Config

+

Configurator is the new optional construct used to manage config across multiple environments. While this can handle a variety of use cases we encourage users to build their own config mechanisms when it Configurator is not the best option. See this how-to guidefor more on using Configurator.

+ +

Bootstrapping

+

Customers that have already bootstrapped accounts and regions using ddk bootstrap can easily use the same roles by following the Using Legacy DDK Bootstrap Roles section of this guide.

+ +

Stage Properties

+

Because we have shifted to using typescript interfaces provided by the AWS CDK some properties may look slightly different in the new version. We will outline some common changes below, but always refer to the API documentation if you are unsure.

+ +
    +
  • Data Pipeline: Now requires positional arguments in the add_stage() method.
  • +
+ +
    + +
  • +
    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: myFirstStage}).addStage({stage: mySecondStage})
    +
    +
  • + +
  • +
    (
    +  DataPipeline(scope=self, id="DDK Pipeline")
    +  .add_stage(stage=my_first_stage)
    +  .add_stage(stage=my_second_stage)
    +)
    +
    +
  • + +
+
    +
  • Changes to SqsToLambdaStage Properties: Function and queue properties now have their own dedicated positional argument.
  • +
+ +
    + +
  • +
    new SqsToLambdaStage(
    +  this, 
    +  "Lambda Stage", 
    +  {
    +    lambdaFunctionProps: {
    +      functionName: "dummy-function",
    +      code: lambda.Code.fromAsset(path.join(__dirname, "/../src/")),
    +      handler: "commons.handlers.lambda_handler",
    +      runtime: lambda.Runtime.PYTHON_3_8,
    +    },
    +    sqsQueueProps: {
    +      queueName: "dummy-queue.fifo",
    +      visibilityTimeout: cdk.Duration.minutes(5),
    +    },
    +  }
    +)
    +
    +
  • + +
  • +
    SqsToLambdaStage(
    +    self,
    +    id="lambda-stage",
    +    lambda_function_props={
    +        "code": Code.from_asset("./ddk_app/lambda_handlers"),
    +        "handler": "handler.lambda_handler",
    +        "layers": [
    +            LayerVersion.from_layer_version_arn(
    +                self,
    +                id="layer",
    +                layer_version_arn=f"arn:aws:lambda:{self.region}:336392948345:layer:AWSDataWrangler-Python39:1",
    +            )
    +        ],
    +        "runtime": Runtime.PYTHON_3_9,
    +    },
    +)
    +
    +
  • + +
+
    +
  • BaseStack: No longer requires an environment id. See BaseStackProps() for more details.
  • +
+ +
    + +
  • +
    new BaseStack(app, "my-stack", {});
    +
    +
  • + +
  • +
    BaseStack(app, "my-stack")
    +
    +
  • + +
+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.2.0/index.html b/release/1.2.0/index.html new file mode 100644 index 00000000..38b838ef --- /dev/null +++ b/release/1.2.0/index.html @@ -0,0 +1,1859 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.2.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.0/how-to/custom-bootstrap.html b/release/1.3.0/how-to/custom-bootstrap.html new file mode 100644 index 00000000..8aa6d510 --- /dev/null +++ b/release/1.3.0/how-to/custom-bootstrap.html @@ -0,0 +1,192 @@ + + + + + + +Different methods to bootstrap DDK apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Bootstrapping

+ +

The AWS CDK requires some resources to be provisioned before deploying stacks into an account (i.e. IAM Roles, S3 Bucket for Assets). This is referred to as bootstrapping.

+ +

DDK Bootstrap Cases

+

The following are possible ways of bootstrapping an AWS account for DDK apps.

+ +

Default

+

If no configuration is provided the DDK stacks will leverage the default resources provisioned by cdk bootstrap.

+ +

Use Configurator()

+

See Configurator for more details on the construct.

+ +

Schema

+

Configurator supports the following schema, at both the global and environment level, for defining bootstrap resources for your CDK app.

+ +

All fields are optional

+
    +
  • bootstrap +
      +
    • prefix: (The prefix of role names created to be used in a stack’s synthesizer)
    • +
    • qualifier: (The qualifier used to bootstrap this stack)
    • +
    • file_assets_bucket_name: (File assets bucket name)
    • +
    • stack_version_ssm_parameter: (Default bootstrap stack version SSM parameter)
    • +
    • deploy_role: (Default deploy role ARN)
    • +
    • file_publish_role: (Default asset publishing role ARN for file (S3) assets)
    • +
    • cfn_execution_role: (Default CloudFormation role ARN)
    • +
    • lookup_role: (Default lookup role ARN for missing values)
    • +
    +
  • +
+ +

Configurator uses the DefaultStackSynthesizer construct under the hood

+ +
Example
+
"environments": {
+  "dev": {
+    "account": "000000000000",
+    "region": "us-west-2",
+    "bootstrap": {
+      "qualifier": "abcdefgh",
+      "bucket_name": "ddk-abcdefgh-assets-000000000000-us-west-2",
+      "deploy_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh--deploy-role-000000000000-us-west-2",
+      "cfn_execution_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-cfn-exec-role-000000000000-us-west-2",
+      "file_publish_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-file-publishing-role-000000000000-us-west-2",
+      "lookup_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh-lookup-role-000000000000-us-west-2",
+    }
+  }
+}
+
+ +

The stack synthesizer will be created for your app using all values specified in Configurator() and resort to default cdk bootstrap values when not explicitly set.

+ +

Note: The values for account and region will be default to CDK_DEFAULT_ACCOUNT and CDK_DEFAULT_REGION if not explicitly set in the environment config.

+ +

Using Legacy DDK Bootstrap Roles

+

If you are familiar with the <1.0.0 versions of the DDK there was a separate package including a CLI with a ddk bootstrap -e ${ENVIRONMENT_ID} command. This builds a bootstrap stack with slightly modified resources as compared to CDK’s native bootstrap method. Let’s look at an example of using existing DDK bootstrap roles with newer versions of the DDK core library.

+ +
    +
  1. Assume we have deployed a DDK bootstrap stack for a dev environment in our account. +Stack
  2. +
  3. Configure ddk.json with the prefix: ddk to indicate any stacks created within this environment should use ddk bootstrap roles. +
    {
    +  "environments": {
    + "dev": {
    +   "bootstrap": {
    +     "prefix": "ddk"
    +   }
    + }
    +  }
    +}
    +
    +
  4. +
  5. Use BaseStack with the dev environment passed as a property.
  6. +
+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack } from "aws-ddk-core";
    +
    +const app = new cdk.App();
    +const stack = new BaseStack(app, 'ExampleStack', {environmentId: "dev"})
    +console.log(stack.synthesizer)
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +from aws_ddk_core import BaseStack
    +
    +app = cdk.App()
    +stack = BaseStack(app, "ExampleStack", environment_id: "dev")
    +print(stack.synthesizer)
    +app.synth()
    +
    +
  • + +
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.0/how-to/custom-stage.html b/release/1.3.0/how-to/custom-stage.html new file mode 100644 index 00000000..50f2b4de --- /dev/null +++ b/release/1.3.0/how-to/custom-stage.html @@ -0,0 +1,287 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ + +
    + +
  • +

    I’ll write a file to my application stack package called sns.ts.

    + +
    import * as events from "aws-cdk-lib/aws-events";
    +import * as eventsTargets from "aws-cdk-lib/aws-events-targets";
    +import * as sns from "aws-cdk-lib/aws-sns";
    +import { DataStage } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +
    +
    +export class SNSStage extends DataStage {
    +  readonly topic: sns.ITopic;
    +  readonly targets?: events.IRuleTarget[];
    +  readonly eventPattern?: events.EventPattern;
    +  
    +  constructor(scope: Construct, id: string) {
    +    super(scope, id, {});
    +    this.topic = new sns.Topic(this, "SNS Topic")
    +    this.eventPattern = {
    +      detailType: [`${id}-event-type`],
    +    }
    +    this.targets = [new eventsTargets.SnsTopic(this.topic)]
    +  }
    +
    +}
    +
    +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack, BaseStackProps, DataPipeline, S3EventStage, S3Factory } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +import { SNSStage } from "../lib/sns";
    +
    +
    +export class DDKApplicationStack extends BaseStack {
    +  
    +  constructor(scope: Construct, id: string, props?: BaseStackProps) {
    +    super(scope, id, props ?? {});
    +    const ddkBucket = S3Factory.bucket(this, "Bucket", {})
    +    const s3EventStage = new S3EventStage(
    +      this,
    +      "S3 Event Stage",
    +      {
    +        eventNames: ["Object Created"],
    +        bucket: ddkBucket,
    +        keyPrefix: "raw",
    +      }
    +    )
    +    const snsStage = new SNSStage(
    +      this, "SNS Stage"
    +    )
    +    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: s3EventStage}).addStage({stage: snsStage})
    +  }
    +
    +}
    +
    +const app = new cdk.App();
    +new DDKApplicationStack(app, "CustomStageStack");
    +
    +app.synth();
    +
    +
    + +
  • + +
  • +

    I’ll write a file to my application stack package called sns.py.

    +
    from typing import Any, List, Optional
    +
    +from aws_cdk.aws_events import EventPattern, IRuleTarget
    +from aws_cdk.aws_events_targets import SnsTopic
    +from aws_cdk.aws_sns import ITopic, Topic
    +from aws_ddk_core import DataStage  # importing DataStage class for ddk core
    +from constructs import Construct
    +
    +
    +class SNSStage(DataStage):
    +    """
    +    Class that represents a SNS DDK Stage.
    +    """
    +
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        id: str,
    +        **kwargs: Any,
    +    ) -> None:
    +        """
    +        DDK SNS stage.
    +        """
    +        super().__init__(scope, id, **kwargs)
    +
    +        self._event_detail_type: str = f"{id}-event-type"
    +
    +        # create topic
    +        self._topic = Topic(self, f"SNS Topic")
    +
    +    @property
    +    def topic(self) -> ITopic:
    +        """
    +        Return: Topic
    +            The SNS Topic
    +        """
    +        return self._topic
    +
    +    # method to retrieve Event Pattern
    +    @property
    +    def event_pattern(self) -> Optional[EventPattern]:
    +        return EventPattern(
    +            detail_type=[self._event_detail_type],
    +        )
    +
    +    # methord to retrieve Event Rule Target
    +    @property
    +    def targets(self) -> Optional[List[IRuleTarget]]:
    +        return [SnsTopic(self._topic)]
    +
    +
    +
    + +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    from typing import Any
    +
    +import aws_cdk as cdk
    +from aws_ddk_core import BaseStack, DataPipeline, S3EventStage, S3Factory
    +from constructs import Construct
    +
    +from ddk_app.sns import SNSStage  # import my class I built above
    +
    +
    +class DDKApplicationStack(BaseStack):
    +    def __init__(self, scope: Construct, id: str, **kwargs: Any) -> None:
    +        super().__init__(scope, id, **kwargs)
    +
    +        # create my bucket
    +        ddk_bucket = S3Factory.bucket(
    +            self,
    +            "Bucket",
    +        )
    +
    +        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
    +        s3_event_stage = S3EventStage(
    +            scope=self,
    +            id="S3 Event Stage",
    +            event_names=["Object Created"],
    +            bucket=ddk_bucket,
    +            key_prefix="raw",
    +        )
    +
    +        # instantiate my sns stage class
    +        sns_stage = SNSStage(
    +            scope=self,
    +            id="SNS Stage",
    +        )
    +
    +        # construct my DataPipeline
    +        (
    +            DataPipeline(scope=self, id="DDK Pipeline")
    +            .add_stage(stage=s3_event_stage)
    +            .add_stage(stage=sns_stage)
    +        )
    +
    +
    +app = cdk.App()
    +
    +DDKApplicationStack(app, "CustomStageStack")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Build

+

Use cdk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.0/how-to/ddk-configuration.html b/release/1.3.0/how-to/ddk-configuration.html new file mode 100644 index 00000000..c1189078 --- /dev/null +++ b/release/1.3.0/how-to/ddk-configuration.html @@ -0,0 +1,307 @@ + + + + + + +DDK Configurator | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core offers a construct: Configurator which can be used to manage configuration across several DDK environments. Note: This is a completely optional construct and users should feel free to build their own configuration mechanisms when necessary.

+ +

Example

+

In this example we will begin by creating a configuration file.

+
touch ddk.json
+
+

And updating it to include the following JSON data.

+ +
{
+  "tags": {
+    "Global:Tag:foo": "bar"
+  },
+  "account": "111111111111",
+  "region": "us-east-1",
+  "environments": {
+    "dev": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 128,
+          "Runtime": "python3.9"
+        },
+        "devStage/Queue": {
+          "VisibilityTimeout": 180
+        },
+        "AWS::S3::Bucket": {
+          "RemovalPolicy": "DESTROY"
+        }
+      },
+      "tags": {"CostCenter": "2014"},
+      "props": {
+        "special_prop": "foobar"
+      }
+    },
+    "prod": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 1024,
+          "Runtime": "python3.9"
+        }
+      },
+      "tags": {"CostCenter": "2015"}
+    }
+  }
+}
+
+ +

Let’s breakdown what’s included in this configuration file.

+ +
    +
  • A tag "Global:Tag:foo": "bar" is defined globally which will be applied to any scope Configurator is used on regardless of environment.
  • +
  • account & region are defined globally which can be accessed from Configurator.getEnvironment() to be used where a cdk.Environment is applicable.
  • +
  • environments is an object that includes configuration for any environments we would like to use. In this case there is one for dev and one for prod.
  • +
  • We include account & region in the environment which can be accessed to be used where a cdk.Environment is applicable.
  • +
  • The resources block contains any property overrides you would like to set. In this case we are overriding MemorySize & Runtime in our Lambda Functions, setting VisibilityTimeout for our SQS queue in dev and setting DESTROY removal policy for our S3 Bucket in dev. This will be explained in more detail below.
  • +
+ +

Next let’s create a CDK file using Configurator to control resources in our stacks.

+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import * as lambda from "aws-cdk-lib/aws-lambda";
    +import * as s3 from "aws-cdk-lib/aws-s3";
    +import {
    +  BaseStack,
    +  Configurator,
    +  DataPipeline,
    +  S3EventStage,
    +  SqsToLambdaStage,
    +} from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +const app = new cdk.App();
    +
    +class ExampleStack extends BaseStack {
    +  constructor(scope: Construct, environment: string) {
    +    super(scope, `${environment}Resources`, {});
    +    const s3Stage = new S3EventStage(this, `MyEventBucket${environment}`, {
    +      bucket: new s3.Bucket(this, `MyBucket${environment}`),
    +      eventNames: ["Object Created"],
    +    });
    +    const sqsToLambdaStage = new SqsToLambdaStage(this, `${environment}Stage`, {
    +      lambdaFunctionProps: {
    +        code: lambda.Code.fromInline(
    +          "def lambda_handler(event, context): pass;"
    +        ),
    +        handler: "lambda_function.lambda_handler",
    +        runtime: lambda.Runtime.PYTHON_3_8,
    +      },
    +    });
    +    new DataPipeline(this, `${environment}DataPipeline`, {})
    +      .addStage({ stage: s3Stage })
    +      .addStage({ stage: sqsToLambdaStage });
    +    new Configurator(this, "./ddk.json", environment);
    +  }
    +}
    +
    +// Dev Stack
    +new ExampleStack(app, "dev");
    +
    +// Prod Stack
    +new ExampleStack(app, "prod");
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Now let’s synthesize our templates to examine Configurator in action.

+ +
cdk synth devResources
+cdk synth prodResources
+
+ +

If we take a look at the SQS Queue in devResources

+ +
devStageQueue44060536:
+    Type: AWS::SQS::Queue
+    Properties:
+      Tags:
+        - Key: CostCenter
+          Value: "2014"
+        - Key: Global:Tag:foo
+          Value: bar
+      VisibilityTimeout: 180
+    UpdateReplacePolicy: Delete
+    DeletionPolicy: Delete
+    Metadata:
+      aws:cdk:path: devResources/devStage/Queue/Resource
+
+ +

We can see that VisibilityTimeout has been updated as well as both the global tag and environment tag have been added to the resource. The same should follow for the other resources called out by the configuration.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in Configurator within the resources object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2}
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

All resources of a given type e.g. AWS::Lambda::Function can be configured as well, but this will override properties for any resource matching that type within a following scope Configurator has been applied to. For example:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "AWS::Lambda::Function": {
+                    "MemorySize": 512
+                }
+            },
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.0/how-to/index.html b/release/1.3.0/how-to/index.html new file mode 100644 index 00000000..9a69cc17 --- /dev/null +++ b/release/1.3.0/how-to/index.html @@ -0,0 +1,1853 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.3.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.0/how-to/multi-account-deployment.html b/release/1.3.0/how-to/multi-account-deployment.html new file mode 100644 index 00000000..a6d30b8f --- /dev/null +++ b/release/1.3.0/how-to/multi-account-deployment.html @@ -0,0 +1,279 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

cdk bootstrap allows us to setup cross-account access for your AWS accounts.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: cdk bootstrap -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: cdk bootstrap -p ${DEV_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
  • [test]: cdk bootstrap -e test -p ${TEST_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
+ +

The dev & test environments are bootstrapped with --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess to setup the required cross account access for the cicd account to manage resources within them.

+ +

[Optional] Configuration

+

A preferred solution is to store environment configuration in a file e.g. ddk.json.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ + +
    + +
  • +

    You can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import * as cdk from 'aws-cdk-lib';
    +import * as ddk from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +export class ApplicationStage extends cdk.Stage {
    +  constructor(
    +    scope: Construct,
    +    id: string,
    +    props?: cdk.StageProps
    +  ) {
    +    super(scope, id, props ?? {});
    +    new cdk.Stack(this, "DataPipeline");
    +  }
    +}
    +
    +const app = new cdk.App();
    +
    +new ddk.CICDPipelineStack(app, "DDKCodePipeline", {
    +  environmentId: "cicd",
    +  pipelineName: "ddk-application-pipeline",
    +  env: ddk.Configurator.getEnvironment({
    +    configPath: "./ddk.json",
    +    environmentId: "cicd",
    +  }),
    +})
    +  .addSourceAction({ repositoryName: "ddk-repository" })
    +  .addSynthAction()
    +  .buildPipeline()
    +  .addStage({
    +    stageId: "dev",
    +    stage: new ApplicationStage(app, "DevStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "dev",
    +      }),
    +    }),
    +  })
    +  .addStage({
    +    stageId: "test",
    +    stage: new ApplicationStage(app, "TestStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "test",
    +      }),
    +    }),
    +  })
    +  .synth();
    +
    +app.synth();
    +
    +
  • + +
  • +

    app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import aws_cdk as cdk
    +import aws_ddk_core as ddk
    +
    +
    +class ApplicationStage(cdk.Stage):
    +    def __init__(
    +        self,
    +        scope,
    +        id: str,
    +        **kwargs,
    +    ) -> None:
    +        super().__init__(scope, id, **kwargs)
    +        cdk.Stack(self, "DataPipeline")
    +
    +
    +app = cdk.App()
    +
    +(
    +    ddk.CICDPipelineStack(
    +        app,
    +        id="DDKCodePipeline",
    +        environment_id="cicd",
    +        pipeline_name="ddk-application-pipeline",
    +        env=ddk.Configurator.get_environment(
    +            config_path="./ddk.json", environment_id="cicd"
    +        ),
    +    )
    +    .add_source_action(repository_name="ddk-repository")
    +    .add_synth_action()
    +    .build_pipeline()
    +    .add_stage(
    +        stage_id="dev",
    +        stage=ApplicationStage(
    +            app,
    +            "DevStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="dev"
    +            ),
    +        ),
    +    )
    +    .add_stage(
    +        stage_id="test",
    +        stage=ApplicationStage(
    +            app,
    +            "TestStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="test"
    +            ),
    +        ),
    +    )
    +    .synth()
    +)
    +
    +app.synth()
    +
    + +
  • + +
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
aws codecommit create-repository --repository-name ddk-repository
+git init
+git remote add origin https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running cdk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment.

+ +

Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.0/how-to/private-artifactory.html b/release/1.3.0/how-to/private-artifactory.html new file mode 100644 index 00000000..80fc3bef --- /dev/null +++ b/release/1.3.0/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for personally identifiable information). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.0/how-to/spend-first-hour.html b/release/1.3.0/how-to/spend-first-hour.html new file mode 100644 index 00000000..e56c39ff --- /dev/null +++ b/release/1.3.0/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.0/how-to/understand-concepts.html b/release/1.3.0/how-to/understand-concepts.html new file mode 100644 index 00000000..ba5c0fb7 --- /dev/null +++ b/release/1.3.0/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK in CDK Applications?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.0/how-to/upgrade-guide.html b/release/1.3.0/how-to/upgrade-guide.html new file mode 100644 index 00000000..d4a7220a --- /dev/null +++ b/release/1.3.0/how-to/upgrade-guide.html @@ -0,0 +1,221 @@ + + + + + + +1.0.0 Upgrade guide | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

1.0.0 Major Version Release

+

Version 1.0.0 of the AWS DDK includes the following high-level changes and updates.

+
    +
  • Source code is now written in Typescript and uses JSII to package both python and typescript versions of the library. In the near future we will add support for all AWS CDK supported programming languages.
  • +
  • A new optional config construct Configurator() has been implemented to replace the required Config() construct from earlier verisons.
  • +
  • The DDK CLI has been deprectated. Projects that were bootstrapped using ddk bootstrap will still be supported.
  • +
  • New stages have been added + +
  • +
+ +

Config

+

Configurator is the new optional construct used to manage config across multiple environments. While this can handle a variety of use cases we encourage users to build their own config mechanisms when it Configurator is not the best option. See this how-to guidefor more on using Configurator.

+ +

Bootstrapping

+

Customers that have already bootstrapped accounts and regions using ddk bootstrap can easily use the same roles by following the Using Legacy DDK Bootstrap Roles section of this guide.

+ +

Stage Properties

+

Because we have shifted to using typescript interfaces provided by the AWS CDK some properties may look slightly different in the new version. We will outline some common changes below, but always refer to the API documentation if you are unsure.

+ +
    +
  • Data Pipeline: Now requires positional arguments in the add_stage() method.
  • +
+ +
    + +
  • +
    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: myFirstStage}).addStage({stage: mySecondStage})
    +
    +
  • + +
  • +
    (
    +  DataPipeline(scope=self, id="DDK Pipeline")
    +  .add_stage(stage=my_first_stage)
    +  .add_stage(stage=my_second_stage)
    +)
    +
    +
  • + +
+
    +
  • Changes to SqsToLambdaStage Properties: Function and queue properties now have their own dedicated positional argument.
  • +
+ +
    + +
  • +
    new SqsToLambdaStage(
    +  this, 
    +  "Lambda Stage", 
    +  {
    +    lambdaFunctionProps: {
    +      functionName: "dummy-function",
    +      code: lambda.Code.fromAsset(path.join(__dirname, "/../src/")),
    +      handler: "commons.handlers.lambda_handler",
    +      runtime: lambda.Runtime.PYTHON_3_8,
    +    },
    +    sqsQueueProps: {
    +      queueName: "dummy-queue.fifo",
    +      visibilityTimeout: cdk.Duration.minutes(5),
    +    },
    +  }
    +)
    +
    +
  • + +
  • +
    SqsToLambdaStage(
    +    self,
    +    id="lambda-stage",
    +    lambda_function_props={
    +        "code": Code.from_asset("./ddk_app/lambda_handlers"),
    +        "handler": "handler.lambda_handler",
    +        "layers": [
    +            LayerVersion.from_layer_version_arn(
    +                self,
    +                id="layer",
    +                layer_version_arn=f"arn:aws:lambda:{self.region}:336392948345:layer:AWSDataWrangler-Python39:1",
    +            )
    +        ],
    +        "runtime": Runtime.PYTHON_3_9,
    +    },
    +)
    +
    +
  • + +
+
    +
  • BaseStack: No longer requires an environment id. See BaseStackProps() for more details.
  • +
+ +
    + +
  • +
    new BaseStack(app, "my-stack", {});
    +
    +
  • + +
  • +
    BaseStack(app, "my-stack")
    +
    +
  • + +
+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.0/index.html b/release/1.3.0/index.html new file mode 100644 index 00000000..2f8bc1f0 --- /dev/null +++ b/release/1.3.0/index.html @@ -0,0 +1,1859 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.3.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.1/how-to/custom-bootstrap.html b/release/1.3.1/how-to/custom-bootstrap.html new file mode 100644 index 00000000..0284be8a --- /dev/null +++ b/release/1.3.1/how-to/custom-bootstrap.html @@ -0,0 +1,192 @@ + + + + + + +Different methods to bootstrap DDK apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Bootstrapping

+ +

The AWS CDK requires some resources to be provisioned before deploying stacks into an account (i.e. IAM Roles, S3 Bucket for Assets). This is referred to as bootstrapping.

+ +

DDK Bootstrap Cases

+

The following are possible ways of bootstrapping an AWS account for DDK apps.

+ +

Default

+

If no configuration is provided the DDK stacks will leverage the default resources provisioned by cdk bootstrap.

+ +

Use Configurator()

+

See Configurator for more details on the construct.

+ +

Schema

+

Configurator supports the following schema, at both the global and environment level, for defining bootstrap resources for your CDK app.

+ +

All fields are optional

+
    +
  • bootstrap +
      +
    • prefix: (The prefix of role names created to be used in a stack’s synthesizer)
    • +
    • qualifier: (The qualifier used to bootstrap this stack)
    • +
    • file_assets_bucket_name: (File assets bucket name)
    • +
    • stack_version_ssm_parameter: (Default bootstrap stack version SSM parameter)
    • +
    • deploy_role: (Default deploy role ARN)
    • +
    • file_publish_role: (Default asset publishing role ARN for file (S3) assets)
    • +
    • cfn_execution_role: (Default CloudFormation role ARN)
    • +
    • lookup_role: (Default lookup role ARN for missing values)
    • +
    +
  • +
+ +

Configurator uses the DefaultStackSynthesizer construct under the hood

+ +
Example
+
"environments": {
+  "dev": {
+    "account": "000000000000",
+    "region": "us-west-2",
+    "bootstrap": {
+      "qualifier": "abcdefgh",
+      "bucket_name": "ddk-abcdefgh-assets-000000000000-us-west-2",
+      "deploy_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh--deploy-role-000000000000-us-west-2",
+      "cfn_execution_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-cfn-exec-role-000000000000-us-west-2",
+      "file_publish_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-file-publishing-role-000000000000-us-west-2",
+      "lookup_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh-lookup-role-000000000000-us-west-2",
+    }
+  }
+}
+
+ +

The stack synthesizer will be created for your app using all values specified in Configurator() and resort to default cdk bootstrap values when not explicitly set.

+ +

Note: The values for account and region will be default to CDK_DEFAULT_ACCOUNT and CDK_DEFAULT_REGION if not explicitly set in the environment config.

+ +

Using Legacy DDK Bootstrap Roles

+

If you are familiar with the <1.0.0 versions of the DDK there was a separate package including a CLI with a ddk bootstrap -e ${ENVIRONMENT_ID} command. This builds a bootstrap stack with slightly modified resources as compared to CDK’s native bootstrap method. Let’s look at an example of using existing DDK bootstrap roles with newer versions of the DDK core library.

+ +
    +
  1. Assume we have deployed a DDK bootstrap stack for a dev environment in our account. +Stack
  2. +
  3. Configure ddk.json with the prefix: ddk to indicate any stacks created within this environment should use ddk bootstrap roles. +
    {
    +  "environments": {
    + "dev": {
    +   "bootstrap": {
    +     "prefix": "ddk"
    +   }
    + }
    +  }
    +}
    +
    +
  4. +
  5. Use BaseStack with the dev environment passed as a property.
  6. +
+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack } from "aws-ddk-core";
    +
    +const app = new cdk.App();
    +const stack = new BaseStack(app, 'ExampleStack', {environmentId: "dev"})
    +console.log(stack.synthesizer)
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +from aws_ddk_core import BaseStack
    +
    +app = cdk.App()
    +stack = BaseStack(app, "ExampleStack", environment_id: "dev")
    +print(stack.synthesizer)
    +app.synth()
    +
    +
  • + +
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.1/how-to/custom-stage.html b/release/1.3.1/how-to/custom-stage.html new file mode 100644 index 00000000..27ef344f --- /dev/null +++ b/release/1.3.1/how-to/custom-stage.html @@ -0,0 +1,287 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ + +
    + +
  • +

    I’ll write a file to my application stack package called sns.ts.

    + +
    import * as events from "aws-cdk-lib/aws-events";
    +import * as eventsTargets from "aws-cdk-lib/aws-events-targets";
    +import * as sns from "aws-cdk-lib/aws-sns";
    +import { DataStage } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +
    +
    +export class SNSStage extends DataStage {
    +  readonly topic: sns.ITopic;
    +  readonly targets?: events.IRuleTarget[];
    +  readonly eventPattern?: events.EventPattern;
    +  
    +  constructor(scope: Construct, id: string) {
    +    super(scope, id, {});
    +    this.topic = new sns.Topic(this, "SNS Topic")
    +    this.eventPattern = {
    +      detailType: [`${id}-event-type`],
    +    }
    +    this.targets = [new eventsTargets.SnsTopic(this.topic)]
    +  }
    +
    +}
    +
    +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack, BaseStackProps, DataPipeline, S3EventStage, S3Factory } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +import { SNSStage } from "../lib/sns";
    +
    +
    +export class DDKApplicationStack extends BaseStack {
    +  
    +  constructor(scope: Construct, id: string, props?: BaseStackProps) {
    +    super(scope, id, props ?? {});
    +    const ddkBucket = S3Factory.bucket(this, "Bucket", {})
    +    const s3EventStage = new S3EventStage(
    +      this,
    +      "S3 Event Stage",
    +      {
    +        eventNames: ["Object Created"],
    +        bucket: ddkBucket,
    +        keyPrefix: "raw",
    +      }
    +    )
    +    const snsStage = new SNSStage(
    +      this, "SNS Stage"
    +    )
    +    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: s3EventStage}).addStage({stage: snsStage})
    +  }
    +
    +}
    +
    +const app = new cdk.App();
    +new DDKApplicationStack(app, "CustomStageStack");
    +
    +app.synth();
    +
    +
    + +
  • + +
  • +

    I’ll write a file to my application stack package called sns.py.

    +
    from typing import Any, List, Optional
    +
    +from aws_cdk.aws_events import EventPattern, IRuleTarget
    +from aws_cdk.aws_events_targets import SnsTopic
    +from aws_cdk.aws_sns import ITopic, Topic
    +from aws_ddk_core import DataStage  # importing DataStage class for ddk core
    +from constructs import Construct
    +
    +
    +class SNSStage(DataStage):
    +    """
    +    Class that represents a SNS DDK Stage.
    +    """
    +
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        id: str,
    +        **kwargs: Any,
    +    ) -> None:
    +        """
    +        DDK SNS stage.
    +        """
    +        super().__init__(scope, id, **kwargs)
    +
    +        self._event_detail_type: str = f"{id}-event-type"
    +
    +        # create topic
    +        self._topic = Topic(self, f"SNS Topic")
    +
    +    @property
    +    def topic(self) -> ITopic:
    +        """
    +        Return: Topic
    +            The SNS Topic
    +        """
    +        return self._topic
    +
    +    # method to retrieve Event Pattern
    +    @property
    +    def event_pattern(self) -> Optional[EventPattern]:
    +        return EventPattern(
    +            detail_type=[self._event_detail_type],
    +        )
    +
    +    # methord to retrieve Event Rule Target
    +    @property
    +    def targets(self) -> Optional[List[IRuleTarget]]:
    +        return [SnsTopic(self._topic)]
    +
    +
    +
    + +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    from typing import Any
    +
    +import aws_cdk as cdk
    +from aws_ddk_core import BaseStack, DataPipeline, S3EventStage, S3Factory
    +from constructs import Construct
    +
    +from ddk_app.sns import SNSStage  # import my class I built above
    +
    +
    +class DDKApplicationStack(BaseStack):
    +    def __init__(self, scope: Construct, id: str, **kwargs: Any) -> None:
    +        super().__init__(scope, id, **kwargs)
    +
    +        # create my bucket
    +        ddk_bucket = S3Factory.bucket(
    +            self,
    +            "Bucket",
    +        )
    +
    +        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
    +        s3_event_stage = S3EventStage(
    +            scope=self,
    +            id="S3 Event Stage",
    +            event_names=["Object Created"],
    +            bucket=ddk_bucket,
    +            key_prefix="raw",
    +        )
    +
    +        # instantiate my sns stage class
    +        sns_stage = SNSStage(
    +            scope=self,
    +            id="SNS Stage",
    +        )
    +
    +        # construct my DataPipeline
    +        (
    +            DataPipeline(scope=self, id="DDK Pipeline")
    +            .add_stage(stage=s3_event_stage)
    +            .add_stage(stage=sns_stage)
    +        )
    +
    +
    +app = cdk.App()
    +
    +DDKApplicationStack(app, "CustomStageStack")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Build

+

Use cdk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.1/how-to/ddk-configuration.html b/release/1.3.1/how-to/ddk-configuration.html new file mode 100644 index 00000000..22392a21 --- /dev/null +++ b/release/1.3.1/how-to/ddk-configuration.html @@ -0,0 +1,307 @@ + + + + + + +DDK Configurator | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core offers a construct: Configurator which can be used to manage configuration across several DDK environments. Note: This is a completely optional construct and users should feel free to build their own configuration mechanisms when necessary.

+ +

Example

+

In this example we will begin by creating a configuration file.

+
touch ddk.json
+
+

And updating it to include the following JSON data.

+ +
{
+  "tags": {
+    "Global:Tag:foo": "bar"
+  },
+  "account": "111111111111",
+  "region": "us-east-1",
+  "environments": {
+    "dev": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 128,
+          "Runtime": "python3.9"
+        },
+        "devStage/Queue": {
+          "VisibilityTimeout": 180
+        },
+        "AWS::S3::Bucket": {
+          "RemovalPolicy": "DESTROY"
+        }
+      },
+      "tags": {"CostCenter": "2014"},
+      "props": {
+        "special_prop": "foobar"
+      }
+    },
+    "prod": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 1024,
+          "Runtime": "python3.9"
+        }
+      },
+      "tags": {"CostCenter": "2015"}
+    }
+  }
+}
+
+ +

Let’s breakdown what’s included in this configuration file.

+ +
    +
  • A tag "Global:Tag:foo": "bar" is defined globally which will be applied to any scope Configurator is used on regardless of environment.
  • +
  • account & region are defined globally which can be accessed from Configurator.getEnvironment() to be used where a cdk.Environment is applicable.
  • +
  • environments is an object that includes configuration for any environments we would like to use. In this case there is one for dev and one for prod.
  • +
  • We include account & region in the environment which can be accessed to be used where a cdk.Environment is applicable.
  • +
  • The resources block contains any property overrides you would like to set. In this case we are overriding MemorySize & Runtime in our Lambda Functions, setting VisibilityTimeout for our SQS queue in dev and setting DESTROY removal policy for our S3 Bucket in dev. This will be explained in more detail below.
  • +
+ +

Next let’s create a CDK file using Configurator to control resources in our stacks.

+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import * as lambda from "aws-cdk-lib/aws-lambda";
    +import * as s3 from "aws-cdk-lib/aws-s3";
    +import {
    +  BaseStack,
    +  Configurator,
    +  DataPipeline,
    +  S3EventStage,
    +  SqsToLambdaStage,
    +} from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +const app = new cdk.App();
    +
    +class ExampleStack extends BaseStack {
    +  constructor(scope: Construct, environment: string) {
    +    super(scope, `${environment}Resources`, {});
    +    const s3Stage = new S3EventStage(this, `MyEventBucket${environment}`, {
    +      bucket: new s3.Bucket(this, `MyBucket${environment}`),
    +      eventNames: ["Object Created"],
    +    });
    +    const sqsToLambdaStage = new SqsToLambdaStage(this, `${environment}Stage`, {
    +      lambdaFunctionProps: {
    +        code: lambda.Code.fromInline(
    +          "def lambda_handler(event, context): pass;"
    +        ),
    +        handler: "lambda_function.lambda_handler",
    +        runtime: lambda.Runtime.PYTHON_3_8,
    +      },
    +    });
    +    new DataPipeline(this, `${environment}DataPipeline`, {})
    +      .addStage({ stage: s3Stage })
    +      .addStage({ stage: sqsToLambdaStage });
    +    new Configurator(this, "./ddk.json", environment);
    +  }
    +}
    +
    +// Dev Stack
    +new ExampleStack(app, "dev");
    +
    +// Prod Stack
    +new ExampleStack(app, "prod");
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Now let’s synthesize our templates to examine Configurator in action.

+ +
cdk synth devResources
+cdk synth prodResources
+
+ +

If we take a look at the SQS Queue in devResources

+ +
devStageQueue44060536:
+    Type: AWS::SQS::Queue
+    Properties:
+      Tags:
+        - Key: CostCenter
+          Value: "2014"
+        - Key: Global:Tag:foo
+          Value: bar
+      VisibilityTimeout: 180
+    UpdateReplacePolicy: Delete
+    DeletionPolicy: Delete
+    Metadata:
+      aws:cdk:path: devResources/devStage/Queue/Resource
+
+ +

We can see that VisibilityTimeout has been updated as well as both the global tag and environment tag have been added to the resource. The same should follow for the other resources called out by the configuration.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in Configurator within the resources object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2}
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

All resources of a given type e.g. AWS::Lambda::Function can be configured as well, but this will override properties for any resource matching that type within a following scope Configurator has been applied to. For example:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "AWS::Lambda::Function": {
+                    "MemorySize": 512
+                }
+            },
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.1/how-to/index.html b/release/1.3.1/how-to/index.html new file mode 100644 index 00000000..f29d3f48 --- /dev/null +++ b/release/1.3.1/how-to/index.html @@ -0,0 +1,1853 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.3.1 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.1/how-to/multi-account-deployment.html b/release/1.3.1/how-to/multi-account-deployment.html new file mode 100644 index 00000000..af2740fd --- /dev/null +++ b/release/1.3.1/how-to/multi-account-deployment.html @@ -0,0 +1,279 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

cdk bootstrap allows us to setup cross-account access for your AWS accounts.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: cdk bootstrap -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: cdk bootstrap -p ${DEV_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
  • [test]: cdk bootstrap -e test -p ${TEST_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
+ +

The dev & test environments are bootstrapped with --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess to setup the required cross account access for the cicd account to manage resources within them.

+ +

[Optional] Configuration

+

A preferred solution is to store environment configuration in a file e.g. ddk.json.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ + +
    + +
  • +

    You can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import * as cdk from 'aws-cdk-lib';
    +import * as ddk from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +export class ApplicationStage extends cdk.Stage {
    +  constructor(
    +    scope: Construct,
    +    id: string,
    +    props?: cdk.StageProps
    +  ) {
    +    super(scope, id, props ?? {});
    +    new cdk.Stack(this, "DataPipeline");
    +  }
    +}
    +
    +const app = new cdk.App();
    +
    +new ddk.CICDPipelineStack(app, "DDKCodePipeline", {
    +  environmentId: "cicd",
    +  pipelineName: "ddk-application-pipeline",
    +  env: ddk.Configurator.getEnvironment({
    +    configPath: "./ddk.json",
    +    environmentId: "cicd",
    +  }),
    +})
    +  .addSourceAction({ repositoryName: "ddk-repository" })
    +  .addSynthAction()
    +  .buildPipeline()
    +  .addStage({
    +    stageId: "dev",
    +    stage: new ApplicationStage(app, "DevStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "dev",
    +      }),
    +    }),
    +  })
    +  .addStage({
    +    stageId: "test",
    +    stage: new ApplicationStage(app, "TestStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "test",
    +      }),
    +    }),
    +  })
    +  .synth();
    +
    +app.synth();
    +
    +
  • + +
  • +

    app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import aws_cdk as cdk
    +import aws_ddk_core as ddk
    +
    +
    +class ApplicationStage(cdk.Stage):
    +    def __init__(
    +        self,
    +        scope,
    +        id: str,
    +        **kwargs,
    +    ) -> None:
    +        super().__init__(scope, id, **kwargs)
    +        cdk.Stack(self, "DataPipeline")
    +
    +
    +app = cdk.App()
    +
    +(
    +    ddk.CICDPipelineStack(
    +        app,
    +        id="DDKCodePipeline",
    +        environment_id="cicd",
    +        pipeline_name="ddk-application-pipeline",
    +        env=ddk.Configurator.get_environment(
    +            config_path="./ddk.json", environment_id="cicd"
    +        ),
    +    )
    +    .add_source_action(repository_name="ddk-repository")
    +    .add_synth_action()
    +    .build_pipeline()
    +    .add_stage(
    +        stage_id="dev",
    +        stage=ApplicationStage(
    +            app,
    +            "DevStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="dev"
    +            ),
    +        ),
    +    )
    +    .add_stage(
    +        stage_id="test",
    +        stage=ApplicationStage(
    +            app,
    +            "TestStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="test"
    +            ),
    +        ),
    +    )
    +    .synth()
    +)
    +
    +app.synth()
    +
    + +
  • + +
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
aws codecommit create-repository --repository-name ddk-repository
+git init
+git remote add origin https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running cdk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment.

+ +

Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.1/how-to/private-artifactory.html b/release/1.3.1/how-to/private-artifactory.html new file mode 100644 index 00000000..4e20bc99 --- /dev/null +++ b/release/1.3.1/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for personally identifiable information). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.1/how-to/spend-first-hour.html b/release/1.3.1/how-to/spend-first-hour.html new file mode 100644 index 00000000..77d85dd1 --- /dev/null +++ b/release/1.3.1/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.1/how-to/understand-concepts.html b/release/1.3.1/how-to/understand-concepts.html new file mode 100644 index 00000000..247119cc --- /dev/null +++ b/release/1.3.1/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK in CDK Applications?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.1/how-to/upgrade-guide.html b/release/1.3.1/how-to/upgrade-guide.html new file mode 100644 index 00000000..bce07b92 --- /dev/null +++ b/release/1.3.1/how-to/upgrade-guide.html @@ -0,0 +1,221 @@ + + + + + + +1.0.0 Upgrade guide | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

1.0.0 Major Version Release

+

Version 1.0.0 of the AWS DDK includes the following high-level changes and updates.

+
    +
  • Source code is now written in Typescript and uses JSII to package both python and typescript versions of the library. In the near future we will add support for all AWS CDK supported programming languages.
  • +
  • A new optional config construct Configurator() has been implemented to replace the required Config() construct from earlier verisons.
  • +
  • The DDK CLI has been deprectated. Projects that were bootstrapped using ddk bootstrap will still be supported.
  • +
  • New stages have been added + +
  • +
+ +

Config

+

Configurator is the new optional construct used to manage config across multiple environments. While this can handle a variety of use cases we encourage users to build their own config mechanisms when it Configurator is not the best option. See this how-to guidefor more on using Configurator.

+ +

Bootstrapping

+

Customers that have already bootstrapped accounts and regions using ddk bootstrap can easily use the same roles by following the Using Legacy DDK Bootstrap Roles section of this guide.

+ +

Stage Properties

+

Because we have shifted to using typescript interfaces provided by the AWS CDK some properties may look slightly different in the new version. We will outline some common changes below, but always refer to the API documentation if you are unsure.

+ +
    +
  • Data Pipeline: Now requires positional arguments in the add_stage() method.
  • +
+ +
    + +
  • +
    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: myFirstStage}).addStage({stage: mySecondStage})
    +
    +
  • + +
  • +
    (
    +  DataPipeline(scope=self, id="DDK Pipeline")
    +  .add_stage(stage=my_first_stage)
    +  .add_stage(stage=my_second_stage)
    +)
    +
    +
  • + +
+
    +
  • Changes to SqsToLambdaStage Properties: Function and queue properties now have their own dedicated positional argument.
  • +
+ +
    + +
  • +
    new SqsToLambdaStage(
    +  this, 
    +  "Lambda Stage", 
    +  {
    +    lambdaFunctionProps: {
    +      functionName: "dummy-function",
    +      code: lambda.Code.fromAsset(path.join(__dirname, "/../src/")),
    +      handler: "commons.handlers.lambda_handler",
    +      runtime: lambda.Runtime.PYTHON_3_8,
    +    },
    +    sqsQueueProps: {
    +      queueName: "dummy-queue.fifo",
    +      visibilityTimeout: cdk.Duration.minutes(5),
    +    },
    +  }
    +)
    +
    +
  • + +
  • +
    SqsToLambdaStage(
    +    self,
    +    id="lambda-stage",
    +    lambda_function_props={
    +        "code": Code.from_asset("./ddk_app/lambda_handlers"),
    +        "handler": "handler.lambda_handler",
    +        "layers": [
    +            LayerVersion.from_layer_version_arn(
    +                self,
    +                id="layer",
    +                layer_version_arn=f"arn:aws:lambda:{self.region}:336392948345:layer:AWSDataWrangler-Python39:1",
    +            )
    +        ],
    +        "runtime": Runtime.PYTHON_3_9,
    +    },
    +)
    +
    +
  • + +
+
    +
  • BaseStack: No longer requires an environment id. See BaseStackProps() for more details.
  • +
+ +
    + +
  • +
    new BaseStack(app, "my-stack", {});
    +
    +
  • + +
  • +
    BaseStack(app, "my-stack")
    +
    +
  • + +
+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.3.1/index.html b/release/1.3.1/index.html new file mode 100644 index 00000000..83215058 --- /dev/null +++ b/release/1.3.1/index.html @@ -0,0 +1,1859 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.3.1 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.4.0/how-to/custom-bootstrap.html b/release/1.4.0/how-to/custom-bootstrap.html new file mode 100644 index 00000000..9fdac8f8 --- /dev/null +++ b/release/1.4.0/how-to/custom-bootstrap.html @@ -0,0 +1,192 @@ + + + + + + +Different methods to bootstrap DDK apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Bootstrapping

+ +

The AWS CDK requires some resources to be provisioned before deploying stacks into an account (i.e. IAM Roles, S3 Bucket for Assets). This is referred to as bootstrapping.

+ +

DDK Bootstrap Cases

+

The following are possible ways of bootstrapping an AWS account for DDK apps.

+ +

Default

+

If no configuration is provided the DDK stacks will leverage the default resources provisioned by cdk bootstrap.

+ +

Use Configurator()

+

See Configurator for more details on the construct.

+ +

Schema

+

Configurator supports the following schema, at both the global and environment level, for defining bootstrap resources for your CDK app.

+ +

All fields are optional

+
    +
  • bootstrap +
      +
    • prefix: (The prefix of role names created to be used in a stack’s synthesizer)
    • +
    • qualifier: (The qualifier used to bootstrap this stack)
    • +
    • file_assets_bucket_name: (File assets bucket name)
    • +
    • stack_version_ssm_parameter: (Default bootstrap stack version SSM parameter)
    • +
    • deploy_role: (Default deploy role ARN)
    • +
    • file_publish_role: (Default asset publishing role ARN for file (S3) assets)
    • +
    • cfn_execution_role: (Default CloudFormation role ARN)
    • +
    • lookup_role: (Default lookup role ARN for missing values)
    • +
    +
  • +
+ +

Configurator uses the DefaultStackSynthesizer construct under the hood

+ +
Example
+
"environments": {
+  "dev": {
+    "account": "000000000000",
+    "region": "us-west-2",
+    "bootstrap": {
+      "qualifier": "abcdefgh",
+      "bucket_name": "ddk-abcdefgh-assets-000000000000-us-west-2",
+      "deploy_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh--deploy-role-000000000000-us-west-2",
+      "cfn_execution_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-cfn-exec-role-000000000000-us-west-2",
+      "file_publish_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-file-publishing-role-000000000000-us-west-2",
+      "lookup_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh-lookup-role-000000000000-us-west-2",
+    }
+  }
+}
+
+ +

The stack synthesizer will be created for your app using all values specified in Configurator() and resort to default cdk bootstrap values when not explicitly set.

+ +

Note: The values for account and region will be default to CDK_DEFAULT_ACCOUNT and CDK_DEFAULT_REGION if not explicitly set in the environment config.

+ +

Using Legacy DDK Bootstrap Roles

+

If you are familiar with the <1.0.0 versions of the DDK there was a separate package including a CLI with a ddk bootstrap -e ${ENVIRONMENT_ID} command. This builds a bootstrap stack with slightly modified resources as compared to CDK’s native bootstrap method. Let’s look at an example of using existing DDK bootstrap roles with newer versions of the DDK core library.

+ +
    +
  1. Assume we have deployed a DDK bootstrap stack for a dev environment in our account. +Stack
  2. +
  3. Configure ddk.json with the prefix: ddk to indicate any stacks created within this environment should use ddk bootstrap roles. +
    {
    +  "environments": {
    + "dev": {
    +   "bootstrap": {
    +     "prefix": "ddk"
    +   }
    + }
    +  }
    +}
    +
    +
  4. +
  5. Use BaseStack with the dev environment passed as a property.
  6. +
+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack } from "aws-ddk-core";
    +
    +const app = new cdk.App();
    +const stack = new BaseStack(app, 'ExampleStack', {environmentId: "dev"})
    +console.log(stack.synthesizer)
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +from aws_ddk_core import BaseStack
    +
    +app = cdk.App()
    +stack = BaseStack(app, "ExampleStack", environment_id: "dev")
    +print(stack.synthesizer)
    +app.synth()
    +
    +
  • + +
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.4.0/how-to/custom-stage.html b/release/1.4.0/how-to/custom-stage.html new file mode 100644 index 00000000..5b5e6f47 --- /dev/null +++ b/release/1.4.0/how-to/custom-stage.html @@ -0,0 +1,287 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ + +
    + +
  • +

    I’ll write a file to my application stack package called sns.ts.

    + +
    import * as events from "aws-cdk-lib/aws-events";
    +import * as eventsTargets from "aws-cdk-lib/aws-events-targets";
    +import * as sns from "aws-cdk-lib/aws-sns";
    +import { DataStage } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +
    +
    +export class SNSStage extends DataStage {
    +  readonly topic: sns.ITopic;
    +  readonly targets?: events.IRuleTarget[];
    +  readonly eventPattern?: events.EventPattern;
    +  
    +  constructor(scope: Construct, id: string) {
    +    super(scope, id, {});
    +    this.topic = new sns.Topic(this, "SNS Topic")
    +    this.eventPattern = {
    +      detailType: [`${id}-event-type`],
    +    }
    +    this.targets = [new eventsTargets.SnsTopic(this.topic)]
    +  }
    +
    +}
    +
    +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack, BaseStackProps, DataPipeline, S3EventStage, S3Factory } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +import { SNSStage } from "../lib/sns";
    +
    +
    +export class DDKApplicationStack extends BaseStack {
    +  
    +  constructor(scope: Construct, id: string, props?: BaseStackProps) {
    +    super(scope, id, props ?? {});
    +    const ddkBucket = S3Factory.bucket(this, "Bucket", {})
    +    const s3EventStage = new S3EventStage(
    +      this,
    +      "S3 Event Stage",
    +      {
    +        eventNames: ["Object Created"],
    +        bucket: ddkBucket,
    +        keyPrefix: "raw",
    +      }
    +    )
    +    const snsStage = new SNSStage(
    +      this, "SNS Stage"
    +    )
    +    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: s3EventStage}).addStage({stage: snsStage})
    +  }
    +
    +}
    +
    +const app = new cdk.App();
    +new DDKApplicationStack(app, "CustomStageStack");
    +
    +app.synth();
    +
    +
    + +
  • + +
  • +

    I’ll write a file to my application stack package called sns.py.

    +
    from typing import Any, List, Optional
    +
    +from aws_cdk.aws_events import EventPattern, IRuleTarget
    +from aws_cdk.aws_events_targets import SnsTopic
    +from aws_cdk.aws_sns import ITopic, Topic
    +from aws_ddk_core import DataStage  # importing DataStage class for ddk core
    +from constructs import Construct
    +
    +
    +class SNSStage(DataStage):
    +    """
    +    Class that represents a SNS DDK Stage.
    +    """
    +
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        id: str,
    +        **kwargs: Any,
    +    ) -> None:
    +        """
    +        DDK SNS stage.
    +        """
    +        super().__init__(scope, id, **kwargs)
    +
    +        self._event_detail_type: str = f"{id}-event-type"
    +
    +        # create topic
    +        self._topic = Topic(self, f"SNS Topic")
    +
    +    @property
    +    def topic(self) -> ITopic:
    +        """
    +        Return: Topic
    +            The SNS Topic
    +        """
    +        return self._topic
    +
    +    # method to retrieve Event Pattern
    +    @property
    +    def event_pattern(self) -> Optional[EventPattern]:
    +        return EventPattern(
    +            detail_type=[self._event_detail_type],
    +        )
    +
    +    # methord to retrieve Event Rule Target
    +    @property
    +    def targets(self) -> Optional[List[IRuleTarget]]:
    +        return [SnsTopic(self._topic)]
    +
    +
    +
    + +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    from typing import Any
    +
    +import aws_cdk as cdk
    +from aws_ddk_core import BaseStack, DataPipeline, S3EventStage, S3Factory
    +from constructs import Construct
    +
    +from ddk_app.sns import SNSStage  # import my class I built above
    +
    +
    +class DDKApplicationStack(BaseStack):
    +    def __init__(self, scope: Construct, id: str, **kwargs: Any) -> None:
    +        super().__init__(scope, id, **kwargs)
    +
    +        # create my bucket
    +        ddk_bucket = S3Factory.bucket(
    +            self,
    +            "Bucket",
    +        )
    +
    +        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
    +        s3_event_stage = S3EventStage(
    +            scope=self,
    +            id="S3 Event Stage",
    +            event_names=["Object Created"],
    +            bucket=ddk_bucket,
    +            key_prefix="raw",
    +        )
    +
    +        # instantiate my sns stage class
    +        sns_stage = SNSStage(
    +            scope=self,
    +            id="SNS Stage",
    +        )
    +
    +        # construct my DataPipeline
    +        (
    +            DataPipeline(scope=self, id="DDK Pipeline")
    +            .add_stage(stage=s3_event_stage)
    +            .add_stage(stage=sns_stage)
    +        )
    +
    +
    +app = cdk.App()
    +
    +DDKApplicationStack(app, "CustomStageStack")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Build

+

Use cdk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.4.0/how-to/ddk-configuration.html b/release/1.4.0/how-to/ddk-configuration.html new file mode 100644 index 00000000..5454bfaa --- /dev/null +++ b/release/1.4.0/how-to/ddk-configuration.html @@ -0,0 +1,307 @@ + + + + + + +DDK Configurator | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core offers a construct: Configurator which can be used to manage configuration across several DDK environments. Note: This is a completely optional construct and users should feel free to build their own configuration mechanisms when necessary.

+ +

Example

+

In this example we will begin by creating a configuration file.

+
touch ddk.json
+
+

And updating it to include the following JSON data.

+ +
{
+  "tags": {
+    "Global:Tag:foo": "bar"
+  },
+  "account": "111111111111",
+  "region": "us-east-1",
+  "environments": {
+    "dev": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 128,
+          "Runtime": "python3.9"
+        },
+        "devStage/Queue": {
+          "VisibilityTimeout": 180
+        },
+        "AWS::S3::Bucket": {
+          "RemovalPolicy": "DESTROY"
+        }
+      },
+      "tags": {"CostCenter": "2014"},
+      "props": {
+        "special_prop": "foobar"
+      }
+    },
+    "prod": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 1024,
+          "Runtime": "python3.9"
+        }
+      },
+      "tags": {"CostCenter": "2015"}
+    }
+  }
+}
+
+ +

Let’s breakdown what’s included in this configuration file.

+ +
    +
  • A tag "Global:Tag:foo": "bar" is defined globally which will be applied to any scope Configurator is used on regardless of environment.
  • +
  • account & region are defined globally which can be accessed from Configurator.getEnvironment() to be used where a cdk.Environment is applicable.
  • +
  • environments is an object that includes configuration for any environments we would like to use. In this case there is one for dev and one for prod.
  • +
  • We include account & region in the environment which can be accessed to be used where a cdk.Environment is applicable.
  • +
  • The resources block contains any property overrides you would like to set. In this case we are overriding MemorySize & Runtime in our Lambda Functions, setting VisibilityTimeout for our SQS queue in dev and setting DESTROY removal policy for our S3 Bucket in dev. This will be explained in more detail below.
  • +
+ +

Next let’s create a CDK file using Configurator to control resources in our stacks.

+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import * as lambda from "aws-cdk-lib/aws-lambda";
    +import * as s3 from "aws-cdk-lib/aws-s3";
    +import {
    +  BaseStack,
    +  Configurator,
    +  DataPipeline,
    +  S3EventStage,
    +  SqsToLambdaStage,
    +} from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +const app = new cdk.App();
    +
    +class ExampleStack extends BaseStack {
    +  constructor(scope: Construct, environment: string) {
    +    super(scope, `${environment}Resources`, {});
    +    const s3Stage = new S3EventStage(this, `MyEventBucket${environment}`, {
    +      bucket: new s3.Bucket(this, `MyBucket${environment}`),
    +      eventNames: ["Object Created"],
    +    });
    +    const sqsToLambdaStage = new SqsToLambdaStage(this, `${environment}Stage`, {
    +      lambdaFunctionProps: {
    +        code: lambda.Code.fromInline(
    +          "def lambda_handler(event, context): pass;"
    +        ),
    +        handler: "lambda_function.lambda_handler",
    +        runtime: lambda.Runtime.PYTHON_3_8,
    +      },
    +    });
    +    new DataPipeline(this, `${environment}DataPipeline`, {})
    +      .addStage({ stage: s3Stage })
    +      .addStage({ stage: sqsToLambdaStage });
    +    new Configurator(this, "./ddk.json", environment);
    +  }
    +}
    +
    +// Dev Stack
    +new ExampleStack(app, "dev");
    +
    +// Prod Stack
    +new ExampleStack(app, "prod");
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Now let’s synthesize our templates to examine Configurator in action.

+ +
cdk synth devResources
+cdk synth prodResources
+
+ +

If we take a look at the SQS Queue in devResources

+ +
devStageQueue44060536:
+    Type: AWS::SQS::Queue
+    Properties:
+      Tags:
+        - Key: CostCenter
+          Value: "2014"
+        - Key: Global:Tag:foo
+          Value: bar
+      VisibilityTimeout: 180
+    UpdateReplacePolicy: Delete
+    DeletionPolicy: Delete
+    Metadata:
+      aws:cdk:path: devResources/devStage/Queue/Resource
+
+ +

We can see that VisibilityTimeout has been updated as well as both the global tag and environment tag have been added to the resource. The same should follow for the other resources called out by the configuration.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in Configurator within the resources object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2}
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

All resources of a given type e.g. AWS::Lambda::Function can be configured as well, but this will override properties for any resource matching that type within a following scope Configurator has been applied to. For example:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "AWS::Lambda::Function": {
+                    "MemorySize": 512
+                }
+            },
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.4.0/how-to/index.html b/release/1.4.0/how-to/index.html new file mode 100644 index 00000000..10a02a21 --- /dev/null +++ b/release/1.4.0/how-to/index.html @@ -0,0 +1,1853 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.4.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.4.0/how-to/multi-account-deployment.html b/release/1.4.0/how-to/multi-account-deployment.html new file mode 100644 index 00000000..dc148f75 --- /dev/null +++ b/release/1.4.0/how-to/multi-account-deployment.html @@ -0,0 +1,279 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

cdk bootstrap allows us to setup cross-account access for your AWS accounts.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: cdk bootstrap -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: cdk bootstrap -p ${DEV_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
  • [test]: cdk bootstrap -e test -p ${TEST_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
+ +

The dev & test environments are bootstrapped with --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess to setup the required cross account access for the cicd account to manage resources within them.

+ +

[Optional] Configuration

+

A preferred solution is to store environment configuration in a file e.g. ddk.json.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ + +
    + +
  • +

    You can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import * as cdk from 'aws-cdk-lib';
    +import * as ddk from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +export class ApplicationStage extends cdk.Stage {
    +  constructor(
    +    scope: Construct,
    +    id: string,
    +    props?: cdk.StageProps
    +  ) {
    +    super(scope, id, props ?? {});
    +    new cdk.Stack(this, "DataPipeline");
    +  }
    +}
    +
    +const app = new cdk.App();
    +
    +new ddk.CICDPipelineStack(app, "DDKCodePipeline", {
    +  environmentId: "cicd",
    +  pipelineName: "ddk-application-pipeline",
    +  env: ddk.Configurator.getEnvironment({
    +    configPath: "./ddk.json",
    +    environmentId: "cicd",
    +  }),
    +})
    +  .addSourceAction({ repositoryName: "ddk-repository" })
    +  .addSynthAction()
    +  .buildPipeline()
    +  .addStage({
    +    stageId: "dev",
    +    stage: new ApplicationStage(app, "DevStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "dev",
    +      }),
    +    }),
    +  })
    +  .addStage({
    +    stageId: "test",
    +    stage: new ApplicationStage(app, "TestStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "test",
    +      }),
    +    }),
    +  })
    +  .synth();
    +
    +app.synth();
    +
    +
  • + +
  • +

    app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import aws_cdk as cdk
    +import aws_ddk_core as ddk
    +
    +
    +class ApplicationStage(cdk.Stage):
    +    def __init__(
    +        self,
    +        scope,
    +        id: str,
    +        **kwargs,
    +    ) -> None:
    +        super().__init__(scope, id, **kwargs)
    +        cdk.Stack(self, "DataPipeline")
    +
    +
    +app = cdk.App()
    +
    +(
    +    ddk.CICDPipelineStack(
    +        app,
    +        id="DDKCodePipeline",
    +        environment_id="cicd",
    +        pipeline_name="ddk-application-pipeline",
    +        env=ddk.Configurator.get_environment(
    +            config_path="./ddk.json", environment_id="cicd"
    +        ),
    +    )
    +    .add_source_action(repository_name="ddk-repository")
    +    .add_synth_action()
    +    .build_pipeline()
    +    .add_stage(
    +        stage_id="dev",
    +        stage=ApplicationStage(
    +            app,
    +            "DevStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="dev"
    +            ),
    +        ),
    +    )
    +    .add_stage(
    +        stage_id="test",
    +        stage=ApplicationStage(
    +            app,
    +            "TestStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="test"
    +            ),
    +        ),
    +    )
    +    .synth()
    +)
    +
    +app.synth()
    +
    + +
  • + +
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
aws codecommit create-repository --repository-name ddk-repository
+git init
+git remote add origin https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running cdk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment.

+ +

Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.4.0/how-to/private-artifactory.html b/release/1.4.0/how-to/private-artifactory.html new file mode 100644 index 00000000..eaf11812 --- /dev/null +++ b/release/1.4.0/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for personally identifiable information). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.4.0/how-to/spend-first-hour.html b/release/1.4.0/how-to/spend-first-hour.html new file mode 100644 index 00000000..4b4679b1 --- /dev/null +++ b/release/1.4.0/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.4.0/how-to/understand-concepts.html b/release/1.4.0/how-to/understand-concepts.html new file mode 100644 index 00000000..f1e2d96a --- /dev/null +++ b/release/1.4.0/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK in CDK Applications?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.4.0/how-to/upgrade-guide.html b/release/1.4.0/how-to/upgrade-guide.html new file mode 100644 index 00000000..507f907e --- /dev/null +++ b/release/1.4.0/how-to/upgrade-guide.html @@ -0,0 +1,221 @@ + + + + + + +1.0.0 Upgrade guide | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

1.0.0 Major Version Release

+

Version 1.0.0 of the AWS DDK includes the following high-level changes and updates.

+
    +
  • Source code is now written in Typescript and uses JSII to package both python and typescript versions of the library. In the near future we will add support for all AWS CDK supported programming languages.
  • +
  • A new optional config construct Configurator() has been implemented to replace the required Config() construct from earlier verisons.
  • +
  • The DDK CLI has been deprectated. Projects that were bootstrapped using ddk bootstrap will still be supported.
  • +
  • New stages have been added + +
  • +
+ +

Config

+

Configurator is the new optional construct used to manage config across multiple environments. While this can handle a variety of use cases we encourage users to build their own config mechanisms when it Configurator is not the best option. See this how-to guide for more on using Configurator.

+ +

Bootstrapping

+

Customers that have already bootstrapped accounts and regions using ddk bootstrap can easily use the same roles by following the Using Legacy DDK Bootstrap Roles section of this guide.

+ +

Stage Properties

+

Because we have shifted to using typescript interfaces provided by the AWS CDK some properties may look slightly different in the new version. We will outline some common changes below, but always refer to the API documentation if you are unsure.

+ +
    +
  • Data Pipeline: Now requires positional arguments in the add_stage() method.
  • +
+ +
    + +
  • +
    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: myFirstStage}).addStage({stage: mySecondStage})
    +
    +
  • + +
  • +
    (
    +  DataPipeline(scope=self, id="DDK Pipeline")
    +  .add_stage(stage=my_first_stage)
    +  .add_stage(stage=my_second_stage)
    +)
    +
    +
  • + +
+
    +
  • Changes to SqsToLambdaStage Properties: Function and queue properties now have their own dedicated positional argument.
  • +
+ +
    + +
  • +
    new SqsToLambdaStage(
    +  this, 
    +  "Lambda Stage", 
    +  {
    +    lambdaFunctionProps: {
    +      functionName: "dummy-function",
    +      code: lambda.Code.fromAsset(path.join(__dirname, "/../src/")),
    +      handler: "commons.handlers.lambda_handler",
    +      runtime: lambda.Runtime.PYTHON_3_8,
    +    },
    +    sqsQueueProps: {
    +      queueName: "dummy-queue.fifo",
    +      visibilityTimeout: cdk.Duration.minutes(5),
    +    },
    +  }
    +)
    +
    +
  • + +
  • +
    SqsToLambdaStage(
    +    self,
    +    id="lambda-stage",
    +    lambda_function_props={
    +        "code": Code.from_asset("./ddk_app/lambda_handlers"),
    +        "handler": "handler.lambda_handler",
    +        "layers": [
    +            LayerVersion.from_layer_version_arn(
    +                self,
    +                id="layer",
    +                layer_version_arn=f"arn:aws:lambda:{self.region}:336392948345:layer:AWSDataWrangler-Python39:1",
    +            )
    +        ],
    +        "runtime": Runtime.PYTHON_3_9,
    +    },
    +)
    +
    +
  • + +
+
    +
  • BaseStack: No longer requires an environment id. See BaseStackProps() for more details.
  • +
+ +
    + +
  • +
    new BaseStack(app, "my-stack", {});
    +
    +
  • + +
  • +
    BaseStack(app, "my-stack")
    +
    +
  • + +
+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/1.4.0/index.html b/release/1.4.0/index.html new file mode 100644 index 00000000..e26c3d89 --- /dev/null +++ b/release/1.4.0/index.html @@ -0,0 +1,1859 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

1.4.0 Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/beta/api/_static/basic.css b/release/beta/api/_static/basic.css new file mode 100644 index 00000000..bf18350b --- /dev/null +++ b/release/beta/api/_static/basic.css @@ -0,0 +1,906 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 450px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a.brackets:before, +span.brackets > a:before{ + content: "["; +} + +a.brackets:after, +span.brackets > a:after { + content: "]"; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +dl.footnote > dt, +dl.citation > dt { + float: left; + margin-right: 0.5em; +} + +dl.footnote > dd, +dl.citation > dd { + margin-bottom: 0em; +} + +dl.footnote > dd:after, +dl.citation > dd:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dt:after { + content: ":"; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/release/beta/api/_static/doctools.js b/release/beta/api/_static/doctools.js new file mode 100644 index 00000000..e509e483 --- /dev/null +++ b/release/beta/api/_static/doctools.js @@ -0,0 +1,326 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated === 'undefined') + return string; + return (typeof translated === 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated === 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) === 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this === '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keydown(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box, textarea, dropdown or button + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT' + && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey + && !event.shiftKey) { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + break; + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + break; + } + } + }); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/release/beta/api/_static/documentation_options.js b/release/beta/api/_static/documentation_options.js new file mode 100644 index 00000000..ada26f7c --- /dev/null +++ b/release/beta/api/_static/documentation_options.js @@ -0,0 +1,12 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: 'beta', + LANGUAGE: 'None', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false +}; \ No newline at end of file diff --git a/release/beta/api/_static/file.png b/release/beta/api/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/release/beta/api/_static/jquery-3.5.1.js b/release/beta/api/_static/jquery-3.5.1.js new file mode 100644 index 00000000..50937333 --- /dev/null +++ b/release/beta/api/_static/jquery-3.5.1.js @@ -0,0 +1,10872 @@ +/*! + * jQuery JavaScript Library v3.5.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2020-05-04T22:49Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.5.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px"; + tr.style.height = "1px"; + trChild.style.height = "9px"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( + dataPriv.get( cur, "events" ) || Object.create( null ) + )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script + if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk.commands package

+
+

Submodules

+
+
+

aws_ddk.commands.bootstrap module

+
+
+

aws_ddk.commands.create module

+
+
+

aws_ddk.commands.deploy module

+
+
+

aws_ddk.commands.init module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/cli/aws_ddk.html b/release/beta/api/cli/aws_ddk.html new file mode 100644 index 00000000..37a90d8c --- /dev/null +++ b/release/beta/api/cli/aws_ddk.html @@ -0,0 +1,319 @@ + + + + + + + + aws_ddk package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/cli/aws_ddk.services.html b/release/beta/api/cli/aws_ddk.services.html new file mode 100644 index 00000000..3d6346e2 --- /dev/null +++ b/release/beta/api/cli/aws_ddk.services.html @@ -0,0 +1,281 @@ + + + + + + + + aws_ddk.services package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk.services package

+
+

Submodules

+
+
+

aws_ddk.services.cfn module

+
+
+

aws_ddk.services.codecommit module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/cli/modules.html b/release/beta/api/cli/modules.html new file mode 100644 index 00000000..feebf3ee --- /dev/null +++ b/release/beta/api/cli/modules.html @@ -0,0 +1,279 @@ + + + + + + + + cli - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ + +
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/cli/tests.html b/release/beta/api/cli/tests.html new file mode 100644 index 00000000..be48afa9 --- /dev/null +++ b/release/beta/api/cli/tests.html @@ -0,0 +1,271 @@ + + + + + + + + tests package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/cli/tests.unit.html b/release/beta/api/cli/tests.unit.html new file mode 100644 index 00000000..67f77d64 --- /dev/null +++ b/release/beta/api/cli/tests.unit.html @@ -0,0 +1,265 @@ + + + + + + + + tests.unit package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

tests.unit package

+
+

Submodules

+
+
+

tests.unit.test_cli module

+
+
+

Module contents

+
+
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/core/aws_ddk_core.base.html b/release/beta/api/core/aws_ddk_core.base.html new file mode 100644 index 00000000..910e9eaf --- /dev/null +++ b/release/beta/api/core/aws_ddk_core.base.html @@ -0,0 +1,287 @@ + + + + + + + + aws_ddk_core.base package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.base package

+
+

Submodules

+
+
+

aws_ddk_core.base.stack module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/core/aws_ddk_core.cicd.html b/release/beta/api/core/aws_ddk_core.cicd.html new file mode 100644 index 00000000..9622363d --- /dev/null +++ b/release/beta/api/core/aws_ddk_core.cicd.html @@ -0,0 +1,291 @@ + + + + + + + + aws_ddk_core.cicd package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.cicd package

+
+

Submodules

+
+
+

aws_ddk_core.cicd.actions module

+
+
+

aws_ddk_core.cicd.pipeline module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/core/aws_ddk_core.config.html b/release/beta/api/core/aws_ddk_core.config.html new file mode 100644 index 00000000..a09aa73c --- /dev/null +++ b/release/beta/api/core/aws_ddk_core.config.html @@ -0,0 +1,287 @@ + + + + + + + + aws_ddk_core.config package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.config package

+
+

Submodules

+
+
+

aws_ddk_core.config.config module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/core/aws_ddk_core.html b/release/beta/api/core/aws_ddk_core.html new file mode 100644 index 00000000..a522beef --- /dev/null +++ b/release/beta/api/core/aws_ddk_core.html @@ -0,0 +1,325 @@ + + + + + + + + aws_ddk_core package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ + +
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/core/aws_ddk_core.pipelines.html b/release/beta/api/core/aws_ddk_core.pipelines.html new file mode 100644 index 00000000..89cc6f7e --- /dev/null +++ b/release/beta/api/core/aws_ddk_core.pipelines.html @@ -0,0 +1,291 @@ + + + + + + + + aws_ddk_core.pipelines package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.pipelines package

+
+

Submodules

+
+
+

aws_ddk_core.pipelines.pipeline module

+
+
+

aws_ddk_core.pipelines.stage module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/core/aws_ddk_core.resources.html b/release/beta/api/core/aws_ddk_core.resources.html new file mode 100644 index 00000000..4af48127 --- /dev/null +++ b/release/beta/api/core/aws_ddk_core.resources.html @@ -0,0 +1,287 @@ + + + + + + + + aws_ddk_core.resources package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.resources package

+
+

Submodules

+
+
+

aws_ddk_core.resources.commons module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/core/aws_ddk_core.stages.html b/release/beta/api/core/aws_ddk_core.stages.html new file mode 100644 index 00000000..dece7a58 --- /dev/null +++ b/release/beta/api/core/aws_ddk_core.stages.html @@ -0,0 +1,287 @@ + + + + + + + + aws_ddk_core.stages package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

aws_ddk_core.stages package

+
+

Submodules

+
+
+

aws_ddk_core.stages.sqs_lambda module

+
+
+

Module contents

+
+
+ +
+
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/core/modules.html b/release/beta/api/core/modules.html new file mode 100644 index 00000000..629178d9 --- /dev/null +++ b/release/beta/api/core/modules.html @@ -0,0 +1,305 @@ + + + + + + + + core - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ + +
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/core/tests.html b/release/beta/api/core/tests.html new file mode 100644 index 00000000..1ceafd77 --- /dev/null +++ b/release/beta/api/core/tests.html @@ -0,0 +1,279 @@ + + + + + + + + tests package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/core/tests.unit.html b/release/beta/api/core/tests.unit.html new file mode 100644 index 00000000..74e60426 --- /dev/null +++ b/release/beta/api/core/tests.unit.html @@ -0,0 +1,297 @@ + + + + + + + + tests.unit package - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+

tests.unit package

+
+

Submodules

+
+
+

tests.unit.conftest module

+
+
+

tests.unit.test_base_stack module

+
+
+

tests.unit.test_cicd_pipeline_stack module

+
+
+

tests.unit.test_config module

+
+
+

tests.unit.test_kms module

+
+
+

tests.unit.test_lambda module

+
+
+

tests.unit.test_s3 module

+
+
+

tests.unit.test_sqs module

+
+
+

tests.unit.test_sqs_lambda_stage module

+
+
+

Module contents

+
+
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/genindex.html b/release/beta/api/genindex.html new file mode 100644 index 00000000..2745cdf6 --- /dev/null +++ b/release/beta/api/genindex.html @@ -0,0 +1,236 @@ + + + + + + + Index - Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ +
+

Index

+
+
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/index.html b/release/beta/api/index.html new file mode 100644 index 00000000..9d8901ba --- /dev/null +++ b/release/beta/api/index.html @@ -0,0 +1,289 @@ + + + + + + + + Contents + + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + \ No newline at end of file diff --git a/release/beta/api/objects.inv b/release/beta/api/objects.inv new file mode 100644 index 0000000000000000000000000000000000000000..0181e01e61f3a16cd2a61f85624871845f76031a GIT binary patch literal 450 zcmV;z0X_aBAX9K?X>NERX>N99Zgg*Qc_4OWa&u{KZXhxWBOp+6Z)#;@bUGkGS5qKF zL`w=IAXa5^b7^mGIv@%oAXI2&AaZ4GVQFq;WpW^IW*~HEX>%ZEX>4U6X>%ZBZ*6dL zWpi_7WFU2OX>MmAdTeQ8E(&RNTHQOYBtW$k)5KWSd(TM0F&UdhH0}(IuUZ<$8<19$xXgyou~`R z1)v7zpLDTb62`NcycOa_(BX>p2F)hcNGO)MgcJIjYZDo+E56_=`NNwHvdiSyP%hJZ z-ZR1F)4!k`%WMQhd1hc*jRV=5Sz?))fGE#sGwB-}kjV_p<%FI)kw~9!WKtl$zLG`F zo=I?5camDgLur`glCnS775K`8ZF?1JC;M?1V)I0lIDVf|RehpkeL|HYW5=YyhAX+7 s9-86zkG(el@a2Awc`0%?YW2gkN~Uei@IczM2pV+G;Mex`|M8g(Nd4N=c>n+a literal 0 HcmV?d00001 diff --git a/release/beta/api/search.html b/release/beta/api/search.html new file mode 100644 index 00000000..c6031f4c --- /dev/null +++ b/release/beta/api/search.html @@ -0,0 +1,244 @@ + + + + + + + Search - Contents + + + + + + + + + + + + + Contents + + + + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
Contents
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+ + + +
+ +
+
+
+ + + + +
+
+ +
+
+ + + + + + + + + \ No newline at end of file diff --git a/release/beta/api/searchindex.js b/release/beta/api/searchindex.js new file mode 100644 index 00000000..86304cf1 --- /dev/null +++ b/release/beta/api/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({docnames:["cli/aws_ddk","cli/aws_ddk.commands","cli/aws_ddk.services","cli/modules","cli/tests","cli/tests.unit","core/aws_ddk_core","core/aws_ddk_core.base","core/aws_ddk_core.cicd","core/aws_ddk_core.config","core/aws_ddk_core.pipelines","core/aws_ddk_core.resources","core/aws_ddk_core.stages","core/modules","core/tests","core/tests.unit","index"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["cli/aws_ddk.rst","cli/aws_ddk.commands.rst","cli/aws_ddk.services.rst","cli/modules.rst","cli/tests.rst","cli/tests.unit.rst","core/aws_ddk_core.rst","core/aws_ddk_core.base.rst","core/aws_ddk_core.cicd.rst","core/aws_ddk_core.config.rst","core/aws_ddk_core.pipelines.rst","core/aws_ddk_core.resources.rst","core/aws_ddk_core.stages.rst","core/modules.rst","core/tests.rst","core/tests.unit.rst","index.rst"],objects:{},objnames:{},objtypes:{},terms:{action:[6,13],aws_ddk:[3,16],aws_ddk_cor:[13,16],base:[6,13],bootstrap:[0,3],cfn:[0,3],cicd:[6,13],codecommit:[0,3],command:[0,3],common:[6,13],config:[6,13],conftest:[13,14],content:[3,13],creat:[0,3],deploi:[0,3],except:[3,16],index:16,init:[0,3],modul:[3,13,16],packag:[3,13,16],page:16,pipelin:[6,13],resourc:[6,13],search:16,servic:[0,3],sh:[3,16],sqs_lambda:[6,13],stack:[6,13],stage:[6,13],submodul:[3,4,6,13,14,16],subpackag:[3,13,16],test:[3,13],test_base_stack:[13,14],test_cicd_pipeline_stack:[13,14],test_cli:[3,4],test_config:[13,14],test_km:[13,14],test_lambda:[13,14],test_s3:[13,14],test_sq:[13,14],test_sqs_lambda_stag:[13,14],unit:[3,4,13,14],util:[3,16]},titles:["aws_ddk package","aws_ddk.commands package","aws_ddk.services package","cli","tests package","tests.unit package","aws_ddk_core package","aws_ddk_core.base package","aws_ddk_core.cicd package","aws_ddk_core.config package","aws_ddk_core.pipelines package","aws_ddk_core.resources package","aws_ddk_core.stages package","core","tests package","tests.unit package","AWS DDK API Documentation"],titleterms:{action:8,api:16,aw:16,aws_ddk:[0,1,2],aws_ddk_cor:[6,7,8,9,10,11,12],base:7,bootstrap:1,cfn:2,cicd:8,cli:3,codecommit:2,command:1,common:11,config:9,conftest:15,content:[0,1,2,4,5,6,7,8,9,10,11,12,14,15,16],core:13,creat:1,ddk:16,deploi:1,document:16,except:0,indic:16,init:1,modul:[0,1,2,4,5,6,7,8,9,10,11,12,14,15],packag:[0,1,2,4,5,6,7,8,9,10,11,12,14,15],pipelin:[8,10],resourc:11,servic:2,sh:0,sqs_lambda:12,stack:7,stage:[10,12],submodul:[0,1,2,5,7,8,9,10,11,12,15],subpackag:[0,4,6,14],tabl:16,test:[4,5,14,15],test_base_stack:15,test_cicd_pipeline_stack:15,test_cli:5,test_config:15,test_km:15,test_lambda:15,test_s3:15,test_sq:15,test_sqs_lambda_stag:15,unit:[5,15],util:0}}) \ No newline at end of file diff --git a/release/beta/how-to/index.html b/release/beta/how-to/index.html new file mode 100644 index 00000000..71d492da --- /dev/null +++ b/release/beta/how-to/index.html @@ -0,0 +1,1814 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

Beta Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/beta/how-to/spend-first-hour.html b/release/beta/how-to/spend-first-hour.html new file mode 100644 index 00000000..0e39b211 --- /dev/null +++ b/release/beta/how-to/spend-first-hour.html @@ -0,0 +1,75 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+

Its going to be cool

+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/beta/how-to/understand-concepts.html b/release/beta/how-to/understand-concepts.html new file mode 100644 index 00000000..f89e8a90 --- /dev/null +++ b/release/beta/how-to/understand-concepts.html @@ -0,0 +1,92 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK over the AWS CDK?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/beta/index.html b/release/beta/index.html new file mode 100644 index 00000000..4db00d2c --- /dev/null +++ b/release/beta/index.html @@ -0,0 +1,1820 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

Beta Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/index.html b/release/index.html new file mode 100644 index 00000000..a90ac936 --- /dev/null +++ b/release/index.html @@ -0,0 +1,1811 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/latest/how-to/custom-bootstrap.html b/release/latest/how-to/custom-bootstrap.html new file mode 100644 index 00000000..21579a85 --- /dev/null +++ b/release/latest/how-to/custom-bootstrap.html @@ -0,0 +1,192 @@ + + + + + + +Different methods to bootstrap DDK apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Bootstrapping

+ +

The AWS CDK requires some resources to be provisioned before deploying stacks into an account (i.e. IAM Roles, S3 Bucket for Assets). This is referred to as bootstrapping.

+ +

DDK Bootstrap Cases

+

The following are possible ways of bootstrapping an AWS account for DDK apps.

+ +

Default

+

If no configuration is provided the DDK stacks will leverage the default resources provisioned by cdk bootstrap.

+ +

Use Configurator()

+

See Configurator for more details on the construct.

+ +

Schema

+

Configurator supports the following schema, at both the global and environment level, for defining bootstrap resources for your CDK app.

+ +

All fields are optional

+
    +
  • bootstrap +
      +
    • prefix: (The prefix of role names created to be used in a stack’s synthesizer)
    • +
    • qualifier: (The qualifier used to bootstrap this stack)
    • +
    • file_assets_bucket_name: (File assets bucket name)
    • +
    • stack_version_ssm_parameter: (Default bootstrap stack version SSM parameter)
    • +
    • deploy_role: (Default deploy role ARN)
    • +
    • file_publish_role: (Default asset publishing role ARN for file (S3) assets)
    • +
    • cfn_execution_role: (Default CloudFormation role ARN)
    • +
    • lookup_role: (Default lookup role ARN for missing values)
    • +
    +
  • +
+ +

Configurator uses the DefaultStackSynthesizer construct under the hood

+ +
Example
+
"environments": {
+  "dev": {
+    "account": "000000000000",
+    "region": "us-west-2",
+    "bootstrap": {
+      "qualifier": "abcdefgh",
+      "bucket_name": "ddk-abcdefgh-assets-000000000000-us-west-2",
+      "deploy_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh--deploy-role-000000000000-us-west-2",
+      "cfn_execution_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-cfn-exec-role-000000000000-us-west-2",
+      "file_publish_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-file-publishing-role-000000000000-us-west-2",
+      "lookup_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh-lookup-role-000000000000-us-west-2",
+    }
+  }
+}
+
+ +

The stack synthesizer will be created for your app using all values specified in Configurator() and resort to default cdk bootstrap values when not explicitly set.

+ +

Note: The values for account and region will be default to CDK_DEFAULT_ACCOUNT and CDK_DEFAULT_REGION if not explicitly set in the environment config.

+ +

Using Legacy DDK Bootstrap Roles

+

If you are familiar with the <1.0.0 versions of the DDK there was a separate package including a CLI with a ddk bootstrap -e ${ENVIRONMENT_ID} command. This builds a bootstrap stack with slightly modified resources as compared to CDK’s native bootstrap method. Let’s look at an example of using existing DDK bootstrap roles with newer versions of the DDK core library.

+ +
    +
  1. Assume we have deployed a DDK bootstrap stack for a dev environment in our account. +Stack
  2. +
  3. Configure ddk.json with the prefix: ddk to indicate any stacks created within this environment should use ddk bootstrap roles. +
    {
    +  "environments": {
    + "dev": {
    +   "bootstrap": {
    +     "prefix": "ddk"
    +   }
    + }
    +  }
    +}
    +
    +
  4. +
  5. Use BaseStack with the dev environment passed as a property.
  6. +
+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack } from "aws-ddk-core";
    +
    +const app = new cdk.App();
    +const stack = new BaseStack(app, 'ExampleStack', {environmentId: "dev"})
    +console.log(stack.synthesizer)
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +from aws_ddk_core import BaseStack
    +
    +app = cdk.App()
    +stack = BaseStack(app, "ExampleStack", environment_id: "dev")
    +print(stack.synthesizer)
    +app.synth()
    +
    +
  • + +
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/latest/how-to/custom-stage.html b/release/latest/how-to/custom-stage.html new file mode 100644 index 00000000..c94801ba --- /dev/null +++ b/release/latest/how-to/custom-stage.html @@ -0,0 +1,287 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ + +
    + +
  • +

    I’ll write a file to my application stack package called sns.ts.

    + +
    import * as events from "aws-cdk-lib/aws-events";
    +import * as eventsTargets from "aws-cdk-lib/aws-events-targets";
    +import * as sns from "aws-cdk-lib/aws-sns";
    +import { DataStage } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +
    +
    +export class SNSStage extends DataStage {
    +  readonly topic: sns.ITopic;
    +  readonly targets?: events.IRuleTarget[];
    +  readonly eventPattern?: events.EventPattern;
    +  
    +  constructor(scope: Construct, id: string) {
    +    super(scope, id, {});
    +    this.topic = new sns.Topic(this, "SNS Topic")
    +    this.eventPattern = {
    +      detailType: [`${id}-event-type`],
    +    }
    +    this.targets = [new eventsTargets.SnsTopic(this.topic)]
    +  }
    +
    +}
    +
    +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack, BaseStackProps, DataPipeline, S3EventStage, S3Factory } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +import { SNSStage } from "../lib/sns";
    +
    +
    +export class DDKApplicationStack extends BaseStack {
    +  
    +  constructor(scope: Construct, id: string, props?: BaseStackProps) {
    +    super(scope, id, props ?? {});
    +    const ddkBucket = S3Factory.bucket(this, "Bucket", {})
    +    const s3EventStage = new S3EventStage(
    +      this,
    +      "S3 Event Stage",
    +      {
    +        eventNames: ["Object Created"],
    +        bucket: ddkBucket,
    +        keyPrefix: "raw",
    +      }
    +    )
    +    const snsStage = new SNSStage(
    +      this, "SNS Stage"
    +    )
    +    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: s3EventStage}).addStage({stage: snsStage})
    +  }
    +
    +}
    +
    +const app = new cdk.App();
    +new DDKApplicationStack(app, "CustomStageStack");
    +
    +app.synth();
    +
    +
    + +
  • + +
  • +

    I’ll write a file to my application stack package called sns.py.

    +
    from typing import Any, List, Optional
    +
    +from aws_cdk.aws_events import EventPattern, IRuleTarget
    +from aws_cdk.aws_events_targets import SnsTopic
    +from aws_cdk.aws_sns import ITopic, Topic
    +from aws_ddk_core import DataStage  # importing DataStage class for ddk core
    +from constructs import Construct
    +
    +
    +class SNSStage(DataStage):
    +    """
    +    Class that represents a SNS DDK Stage.
    +    """
    +
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        id: str,
    +        **kwargs: Any,
    +    ) -> None:
    +        """
    +        DDK SNS stage.
    +        """
    +        super().__init__(scope, id, **kwargs)
    +
    +        self._event_detail_type: str = f"{id}-event-type"
    +
    +        # create topic
    +        self._topic = Topic(self, f"SNS Topic")
    +
    +    @property
    +    def topic(self) -> ITopic:
    +        """
    +        Return: Topic
    +            The SNS Topic
    +        """
    +        return self._topic
    +
    +    # method to retrieve Event Pattern
    +    @property
    +    def event_pattern(self) -> Optional[EventPattern]:
    +        return EventPattern(
    +            detail_type=[self._event_detail_type],
    +        )
    +
    +    # methord to retrieve Event Rule Target
    +    @property
    +    def targets(self) -> Optional[List[IRuleTarget]]:
    +        return [SnsTopic(self._topic)]
    +
    +
    +
    + +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    from typing import Any
    +
    +import aws_cdk as cdk
    +from aws_ddk_core import BaseStack, DataPipeline, S3EventStage, S3Factory
    +from constructs import Construct
    +
    +from ddk_app.sns import SNSStage  # import my class I built above
    +
    +
    +class DDKApplicationStack(BaseStack):
    +    def __init__(self, scope: Construct, id: str, **kwargs: Any) -> None:
    +        super().__init__(scope, id, **kwargs)
    +
    +        # create my bucket
    +        ddk_bucket = S3Factory.bucket(
    +            self,
    +            "Bucket",
    +        )
    +
    +        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
    +        s3_event_stage = S3EventStage(
    +            scope=self,
    +            id="S3 Event Stage",
    +            event_names=["Object Created"],
    +            bucket=ddk_bucket,
    +            key_prefix="raw",
    +        )
    +
    +        # instantiate my sns stage class
    +        sns_stage = SNSStage(
    +            scope=self,
    +            id="SNS Stage",
    +        )
    +
    +        # construct my DataPipeline
    +        (
    +            DataPipeline(scope=self, id="DDK Pipeline")
    +            .add_stage(stage=s3_event_stage)
    +            .add_stage(stage=sns_stage)
    +        )
    +
    +
    +app = cdk.App()
    +
    +DDKApplicationStack(app, "CustomStageStack")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Build

+

Use cdk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/latest/how-to/ddk-configuration.html b/release/latest/how-to/ddk-configuration.html new file mode 100644 index 00000000..18212d12 --- /dev/null +++ b/release/latest/how-to/ddk-configuration.html @@ -0,0 +1,307 @@ + + + + + + +DDK Configurator | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core offers a construct: Configurator which can be used to manage configuration across several DDK environments. Note: This is a completely optional construct and users should feel free to build their own configuration mechanisms when necessary.

+ +

Example

+

In this example we will begin by creating a configuration file.

+
touch ddk.json
+
+

And updating it to include the following JSON data.

+ +
{
+  "tags": {
+    "Global:Tag:foo": "bar"
+  },
+  "account": "111111111111",
+  "region": "us-east-1",
+  "environments": {
+    "dev": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 128,
+          "Runtime": "python3.9"
+        },
+        "devStage/Queue": {
+          "VisibilityTimeout": 180
+        },
+        "AWS::S3::Bucket": {
+          "RemovalPolicy": "DESTROY"
+        }
+      },
+      "tags": {"CostCenter": "2014"},
+      "props": {
+        "special_prop": "foobar"
+      }
+    },
+    "prod": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 1024,
+          "Runtime": "python3.9"
+        }
+      },
+      "tags": {"CostCenter": "2015"}
+    }
+  }
+}
+
+ +

Let’s breakdown what’s included in this configuration file.

+ +
    +
  • A tag "Global:Tag:foo": "bar" is defined globally which will be applied to any scope Configurator is used on regardless of environment.
  • +
  • account & region are defined globally which can be accessed from Configurator.getEnvironment() to be used where a cdk.Environment is applicable.
  • +
  • environments is an object that includes configuration for any environments we would like to use. In this case there is one for dev and one for prod.
  • +
  • We include account & region in the environment which can be accessed to be used where a cdk.Environment is applicable.
  • +
  • The resources block contains any property overrides you would like to set. In this case we are overriding MemorySize & Runtime in our Lambda Functions, setting VisibilityTimeout for our SQS queue in dev and setting DESTROY removal policy for our S3 Bucket in dev. This will be explained in more detail below.
  • +
+ +

Next let’s create a CDK file using Configurator to control resources in our stacks.

+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import * as lambda from "aws-cdk-lib/aws-lambda";
    +import * as s3 from "aws-cdk-lib/aws-s3";
    +import {
    +  BaseStack,
    +  Configurator,
    +  DataPipeline,
    +  S3EventStage,
    +  SqsToLambdaStage,
    +} from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +const app = new cdk.App();
    +
    +class ExampleStack extends BaseStack {
    +  constructor(scope: Construct, environment: string) {
    +    super(scope, `${environment}Resources`, {});
    +    const s3Stage = new S3EventStage(this, `MyEventBucket${environment}`, {
    +      bucket: new s3.Bucket(this, `MyBucket${environment}`),
    +      eventNames: ["Object Created"],
    +    });
    +    const sqsToLambdaStage = new SqsToLambdaStage(this, `${environment}Stage`, {
    +      lambdaFunctionProps: {
    +        code: lambda.Code.fromInline(
    +          "def lambda_handler(event, context): pass;"
    +        ),
    +        handler: "lambda_function.lambda_handler",
    +        runtime: lambda.Runtime.PYTHON_3_8,
    +      },
    +    });
    +    new DataPipeline(this, `${environment}DataPipeline`, {})
    +      .addStage({ stage: s3Stage })
    +      .addStage({ stage: sqsToLambdaStage });
    +    new Configurator(this, "./ddk.json", environment);
    +  }
    +}
    +
    +// Dev Stack
    +new ExampleStack(app, "dev");
    +
    +// Prod Stack
    +new ExampleStack(app, "prod");
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Now let’s synthesize our templates to examine Configurator in action.

+ +
cdk synth devResources
+cdk synth prodResources
+
+ +

If we take a look at the SQS Queue in devResources

+ +
devStageQueue44060536:
+    Type: AWS::SQS::Queue
+    Properties:
+      Tags:
+        - Key: CostCenter
+          Value: "2014"
+        - Key: Global:Tag:foo
+          Value: bar
+      VisibilityTimeout: 180
+    UpdateReplacePolicy: Delete
+    DeletionPolicy: Delete
+    Metadata:
+      aws:cdk:path: devResources/devStage/Queue/Resource
+
+ +

We can see that VisibilityTimeout has been updated as well as both the global tag and environment tag have been added to the resource. The same should follow for the other resources called out by the configuration.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in Configurator within the resources object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2}
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

All resources of a given type e.g. AWS::Lambda::Function can be configured as well, but this will override properties for any resource matching that type within a following scope Configurator has been applied to. For example:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "AWS::Lambda::Function": {
+                    "MemorySize": 512
+                }
+            },
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/latest/how-to/index.html b/release/latest/how-to/index.html new file mode 100644 index 00000000..3354749b --- /dev/null +++ b/release/latest/how-to/index.html @@ -0,0 +1,1853 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

Latest Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/latest/how-to/multi-account-deployment.html b/release/latest/how-to/multi-account-deployment.html new file mode 100644 index 00000000..4d18ccb1 --- /dev/null +++ b/release/latest/how-to/multi-account-deployment.html @@ -0,0 +1,279 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

cdk bootstrap allows us to setup cross-account access for your AWS accounts.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: cdk bootstrap -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: cdk bootstrap -p ${DEV_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
  • [test]: cdk bootstrap -e test -p ${TEST_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
+ +

The dev & test environments are bootstrapped with --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess to setup the required cross account access for the cicd account to manage resources within them.

+ +

[Optional] Configuration

+

A preferred solution is to store environment configuration in a file e.g. ddk.json.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ + +
    + +
  • +

    You can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import * as cdk from 'aws-cdk-lib';
    +import * as ddk from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +export class ApplicationStage extends cdk.Stage {
    +  constructor(
    +    scope: Construct,
    +    id: string,
    +    props?: cdk.StageProps
    +  ) {
    +    super(scope, id, props ?? {});
    +    new cdk.Stack(this, "DataPipeline");
    +  }
    +}
    +
    +const app = new cdk.App();
    +
    +new ddk.CICDPipelineStack(app, "DDKCodePipeline", {
    +  environmentId: "cicd",
    +  pipelineName: "ddk-application-pipeline",
    +  env: ddk.Configurator.getEnvironment({
    +    configPath: "./ddk.json",
    +    environmentId: "cicd",
    +  }),
    +})
    +  .addSourceAction({ repositoryName: "ddk-repository" })
    +  .addSynthAction()
    +  .buildPipeline()
    +  .addStage({
    +    stageId: "dev",
    +    stage: new ApplicationStage(app, "DevStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "dev",
    +      }),
    +    }),
    +  })
    +  .addStage({
    +    stageId: "test",
    +    stage: new ApplicationStage(app, "TestStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "test",
    +      }),
    +    }),
    +  })
    +  .synth();
    +
    +app.synth();
    +
    +
  • + +
  • +

    app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import aws_cdk as cdk
    +import aws_ddk_core as ddk
    +
    +
    +class ApplicationStage(cdk.Stage):
    +    def __init__(
    +        self,
    +        scope,
    +        id: str,
    +        **kwargs,
    +    ) -> None:
    +        super().__init__(scope, id, **kwargs)
    +        cdk.Stack(self, "DataPipeline")
    +
    +
    +app = cdk.App()
    +
    +(
    +    ddk.CICDPipelineStack(
    +        app,
    +        id="DDKCodePipeline",
    +        environment_id="cicd",
    +        pipeline_name="ddk-application-pipeline",
    +        env=ddk.Configurator.get_environment(
    +            config_path="./ddk.json", environment_id="cicd"
    +        ),
    +    )
    +    .add_source_action(repository_name="ddk-repository")
    +    .add_synth_action()
    +    .build_pipeline()
    +    .add_stage(
    +        stage_id="dev",
    +        stage=ApplicationStage(
    +            app,
    +            "DevStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="dev"
    +            ),
    +        ),
    +    )
    +    .add_stage(
    +        stage_id="test",
    +        stage=ApplicationStage(
    +            app,
    +            "TestStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="test"
    +            ),
    +        ),
    +    )
    +    .synth()
    +)
    +
    +app.synth()
    +
    + +
  • + +
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
aws codecommit create-repository --repository-name ddk-repository
+git init
+git remote add origin https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running cdk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment.

+ +

Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/latest/how-to/private-artifactory.html b/release/latest/how-to/private-artifactory.html new file mode 100644 index 00000000..0d709d94 --- /dev/null +++ b/release/latest/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for personally identifiable information). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/latest/how-to/spend-first-hour.html b/release/latest/how-to/spend-first-hour.html new file mode 100644 index 00000000..86e09542 --- /dev/null +++ b/release/latest/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/latest/how-to/understand-concepts.html b/release/latest/how-to/understand-concepts.html new file mode 100644 index 00000000..a8cdbf01 --- /dev/null +++ b/release/latest/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK in CDK Applications?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/latest/how-to/upgrade-guide.html b/release/latest/how-to/upgrade-guide.html new file mode 100644 index 00000000..b9ca133a --- /dev/null +++ b/release/latest/how-to/upgrade-guide.html @@ -0,0 +1,221 @@ + + + + + + +1.0.0 Upgrade guide | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

1.0.0 Major Version Release

+

Version 1.0.0 of the AWS DDK includes the following high-level changes and updates.

+
    +
  • Source code is now written in Typescript and uses JSII to package both python and typescript versions of the library. In the near future we will add support for all AWS CDK supported programming languages.
  • +
  • A new optional config construct Configurator() has been implemented to replace the required Config() construct from earlier verisons.
  • +
  • The DDK CLI has been deprectated. Projects that were bootstrapped using ddk bootstrap will still be supported.
  • +
  • New stages have been added + +
  • +
+ +

Config

+

Configurator is the new optional construct used to manage config across multiple environments. While this can handle a variety of use cases we encourage users to build their own config mechanisms when it Configurator is not the best option. See this how-to guide for more on using Configurator.

+ +

Bootstrapping

+

Customers that have already bootstrapped accounts and regions using ddk bootstrap can easily use the same roles by following the Using Legacy DDK Bootstrap Roles section of this guide.

+ +

Stage Properties

+

Because we have shifted to using typescript interfaces provided by the AWS CDK some properties may look slightly different in the new version. We will outline some common changes below, but always refer to the API documentation if you are unsure.

+ +
    +
  • Data Pipeline: Now requires positional arguments in the add_stage() method.
  • +
+ +
    + +
  • +
    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: myFirstStage}).addStage({stage: mySecondStage})
    +
    +
  • + +
  • +
    (
    +  DataPipeline(scope=self, id="DDK Pipeline")
    +  .add_stage(stage=my_first_stage)
    +  .add_stage(stage=my_second_stage)
    +)
    +
    +
  • + +
+
    +
  • Changes to SqsToLambdaStage Properties: Function and queue properties now have their own dedicated positional argument.
  • +
+ +
    + +
  • +
    new SqsToLambdaStage(
    +  this, 
    +  "Lambda Stage", 
    +  {
    +    lambdaFunctionProps: {
    +      functionName: "dummy-function",
    +      code: lambda.Code.fromAsset(path.join(__dirname, "/../src/")),
    +      handler: "commons.handlers.lambda_handler",
    +      runtime: lambda.Runtime.PYTHON_3_8,
    +    },
    +    sqsQueueProps: {
    +      queueName: "dummy-queue.fifo",
    +      visibilityTimeout: cdk.Duration.minutes(5),
    +    },
    +  }
    +)
    +
    +
  • + +
  • +
    SqsToLambdaStage(
    +    self,
    +    id="lambda-stage",
    +    lambda_function_props={
    +        "code": Code.from_asset("./ddk_app/lambda_handlers"),
    +        "handler": "handler.lambda_handler",
    +        "layers": [
    +            LayerVersion.from_layer_version_arn(
    +                self,
    +                id="layer",
    +                layer_version_arn=f"arn:aws:lambda:{self.region}:336392948345:layer:AWSDataWrangler-Python39:1",
    +            )
    +        ],
    +        "runtime": Runtime.PYTHON_3_9,
    +    },
    +)
    +
    +
  • + +
+
    +
  • BaseStack: No longer requires an environment id. See BaseStackProps() for more details.
  • +
+ +
    + +
  • +
    new BaseStack(app, "my-stack", {});
    +
    +
  • + +
  • +
    BaseStack(app, "my-stack")
    +
    +
  • + +
+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/latest/index.html b/release/latest/index.html new file mode 100644 index 00000000..f51b2995 --- /dev/null +++ b/release/latest/index.html @@ -0,0 +1,1859 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

Latest Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/stable/how-to/custom-bootstrap.html b/release/stable/how-to/custom-bootstrap.html new file mode 100644 index 00000000..3786420b --- /dev/null +++ b/release/stable/how-to/custom-bootstrap.html @@ -0,0 +1,192 @@ + + + + + + +Different methods to bootstrap DDK apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Bootstrapping

+ +

The AWS CDK requires some resources to be provisioned before deploying stacks into an account (i.e. IAM Roles, S3 Bucket for Assets). This is referred to as bootstrapping.

+ +

DDK Bootstrap Cases

+

The following are possible ways of bootstrapping an AWS account for DDK apps.

+ +

Default

+

If no configuration is provided the DDK stacks will leverage the default resources provisioned by cdk bootstrap.

+ +

Use Configurator()

+

See Configurator for more details on the construct.

+ +

Schema

+

Configurator supports the following schema, at both the global and environment level, for defining bootstrap resources for your CDK app.

+ +

All fields are optional

+
    +
  • bootstrap +
      +
    • prefix: (The prefix of role names created to be used in a stack’s synthesizer)
    • +
    • qualifier: (The qualifier used to bootstrap this stack)
    • +
    • file_assets_bucket_name: (File assets bucket name)
    • +
    • stack_version_ssm_parameter: (Default bootstrap stack version SSM parameter)
    • +
    • deploy_role: (Default deploy role ARN)
    • +
    • file_publish_role: (Default asset publishing role ARN for file (S3) assets)
    • +
    • cfn_execution_role: (Default CloudFormation role ARN)
    • +
    • lookup_role: (Default lookup role ARN for missing values)
    • +
    +
  • +
+ +

Configurator uses the DefaultStackSynthesizer construct under the hood

+ +
Example
+
"environments": {
+  "dev": {
+    "account": "000000000000",
+    "region": "us-west-2",
+    "bootstrap": {
+      "qualifier": "abcdefgh",
+      "bucket_name": "ddk-abcdefgh-assets-000000000000-us-west-2",
+      "deploy_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh--deploy-role-000000000000-us-west-2",
+      "cfn_execution_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-cfn-exec-role-000000000000-us-west-2",
+      "file_publish_role":
+        "arn:aws:iam::000000000000:role/ddk-abcdefgh-file-publishing-role-000000000000-us-west-2",
+      "lookup_role": "arn:aws:iam::000000000000:role/ddk-abcdefgh-lookup-role-000000000000-us-west-2",
+    }
+  }
+}
+
+ +

The stack synthesizer will be created for your app using all values specified in Configurator() and resort to default cdk bootstrap values when not explicitly set.

+ +

Note: The values for account and region will be default to CDK_DEFAULT_ACCOUNT and CDK_DEFAULT_REGION if not explicitly set in the environment config.

+ +

Using Legacy DDK Bootstrap Roles

+

If you are familiar with the <1.0.0 versions of the DDK there was a separate package including a CLI with a ddk bootstrap -e ${ENVIRONMENT_ID} command. This builds a bootstrap stack with slightly modified resources as compared to CDK’s native bootstrap method. Let’s look at an example of using existing DDK bootstrap roles with newer versions of the DDK core library.

+ +
    +
  1. Assume we have deployed a DDK bootstrap stack for a dev environment in our account. +Stack
  2. +
  3. Configure ddk.json with the prefix: ddk to indicate any stacks created within this environment should use ddk bootstrap roles. +
    {
    +  "environments": {
    + "dev": {
    +   "bootstrap": {
    +     "prefix": "ddk"
    +   }
    + }
    +  }
    +}
    +
    +
  4. +
  5. Use BaseStack with the dev environment passed as a property.
  6. +
+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack } from "aws-ddk-core";
    +
    +const app = new cdk.App();
    +const stack = new BaseStack(app, 'ExampleStack', {environmentId: "dev"})
    +console.log(stack.synthesizer)
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +from aws_ddk_core import BaseStack
    +
    +app = cdk.App()
    +stack = BaseStack(app, "ExampleStack", environment_id: "dev")
    +print(stack.synthesizer)
    +app.synth()
    +
    +
  • + +
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/stable/how-to/custom-stage.html b/release/stable/how-to/custom-stage.html new file mode 100644 index 00000000..08f0aa4d --- /dev/null +++ b/release/stable/how-to/custom-stage.html @@ -0,0 +1,287 @@ + + + + + + +Create Your Own Data Pipeline Stage | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

The DataStage Class

+ +

The AWS DDK provides a construct: DataStage() that can be inherited to build your own custom stages.

+ +

Building Your Own Data Stage

+

Let’s say we need to create a stage that publishes S3 events to an SNS Topic.

+ +

We’ll first need to create a Stage for the topic.

+ + +
    + +
  • +

    I’ll write a file to my application stack package called sns.ts.

    + +
    import * as events from "aws-cdk-lib/aws-events";
    +import * as eventsTargets from "aws-cdk-lib/aws-events-targets";
    +import * as sns from "aws-cdk-lib/aws-sns";
    +import { DataStage } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +
    +
    +export class SNSStage extends DataStage {
    +  readonly topic: sns.ITopic;
    +  readonly targets?: events.IRuleTarget[];
    +  readonly eventPattern?: events.EventPattern;
    +  
    +  constructor(scope: Construct, id: string) {
    +    super(scope, id, {});
    +    this.topic = new sns.Topic(this, "SNS Topic")
    +    this.eventPattern = {
    +      detailType: [`${id}-event-type`],
    +    }
    +    this.targets = [new eventsTargets.SnsTopic(this.topic)]
    +  }
    +
    +}
    +
    +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    import * as cdk from "aws-cdk-lib";
    +import { BaseStack, BaseStackProps, DataPipeline, S3EventStage, S3Factory } from "aws-ddk-core";
    +import { Construct } from "constructs"; 
    +import { SNSStage } from "../lib/sns";
    +
    +
    +export class DDKApplicationStack extends BaseStack {
    +  
    +  constructor(scope: Construct, id: string, props?: BaseStackProps) {
    +    super(scope, id, props ?? {});
    +    const ddkBucket = S3Factory.bucket(this, "Bucket", {})
    +    const s3EventStage = new S3EventStage(
    +      this,
    +      "S3 Event Stage",
    +      {
    +        eventNames: ["Object Created"],
    +        bucket: ddkBucket,
    +        keyPrefix: "raw",
    +      }
    +    )
    +    const snsStage = new SNSStage(
    +      this, "SNS Stage"
    +    )
    +    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: s3EventStage}).addStage({stage: snsStage})
    +  }
    +
    +}
    +
    +const app = new cdk.App();
    +new DDKApplicationStack(app, "CustomStageStack");
    +
    +app.synth();
    +
    +
    + +
  • + +
  • +

    I’ll write a file to my application stack package called sns.py.

    +
    from typing import Any, List, Optional
    +
    +from aws_cdk.aws_events import EventPattern, IRuleTarget
    +from aws_cdk.aws_events_targets import SnsTopic
    +from aws_cdk.aws_sns import ITopic, Topic
    +from aws_ddk_core import DataStage  # importing DataStage class for ddk core
    +from constructs import Construct
    +
    +
    +class SNSStage(DataStage):
    +    """
    +    Class that represents a SNS DDK Stage.
    +    """
    +
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        id: str,
    +        **kwargs: Any,
    +    ) -> None:
    +        """
    +        DDK SNS stage.
    +        """
    +        super().__init__(scope, id, **kwargs)
    +
    +        self._event_detail_type: str = f"{id}-event-type"
    +
    +        # create topic
    +        self._topic = Topic(self, f"SNS Topic")
    +
    +    @property
    +    def topic(self) -> ITopic:
    +        """
    +        Return: Topic
    +            The SNS Topic
    +        """
    +        return self._topic
    +
    +    # method to retrieve Event Pattern
    +    @property
    +    def event_pattern(self) -> Optional[EventPattern]:
    +        return EventPattern(
    +            detail_type=[self._event_detail_type],
    +        )
    +
    +    # methord to retrieve Event Rule Target
    +    @property
    +    def targets(self) -> Optional[List[IRuleTarget]]:
    +        return [SnsTopic(self._topic)]
    +
    +
    +
    + +

    Now that I have a new class defining my SNS stage, I can instantiate it and add to my Data Pipeline.

    + +
    from typing import Any
    +
    +import aws_cdk as cdk
    +from aws_ddk_core import BaseStack, DataPipeline, S3EventStage, S3Factory
    +from constructs import Construct
    +
    +from ddk_app.sns import SNSStage  # import my class I built above
    +
    +
    +class DDKApplicationStack(BaseStack):
    +    def __init__(self, scope: Construct, id: str, **kwargs: Any) -> None:
    +        super().__init__(scope, id, **kwargs)
    +
    +        # create my bucket
    +        ddk_bucket = S3Factory.bucket(
    +            self,
    +            "Bucket",
    +        )
    +
    +        # create an S3 Event Stage based off the class available from `aws_ddk_core.stages`
    +        s3_event_stage = S3EventStage(
    +            scope=self,
    +            id="S3 Event Stage",
    +            event_names=["Object Created"],
    +            bucket=ddk_bucket,
    +            key_prefix="raw",
    +        )
    +
    +        # instantiate my sns stage class
    +        sns_stage = SNSStage(
    +            scope=self,
    +            id="SNS Stage",
    +        )
    +
    +        # construct my DataPipeline
    +        (
    +            DataPipeline(scope=self, id="DDK Pipeline")
    +            .add_stage(stage=s3_event_stage)
    +            .add_stage(stage=sns_stage)
    +        )
    +
    +
    +app = cdk.App()
    +
    +DDKApplicationStack(app, "CustomStageStack")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Build

+

Use cdk deploy to build your infrastructure.

+ +

Conclusion

+

You should now have a Bucket that routes events to a Topic.

+ +

Result

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/stable/how-to/ddk-configuration.html b/release/stable/how-to/ddk-configuration.html new file mode 100644 index 00000000..3bccca8e --- /dev/null +++ b/release/stable/how-to/ddk-configuration.html @@ -0,0 +1,307 @@ + + + + + + +DDK Configurator | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

DDK promotes a trunk based development approach where small changes are frequently applied to the main branch. +As a result, this core branch is the one source of truth and the same infrastructure as code is used across multiple environments. However, there is often a need to apply distinct configuration +to different environments (i.e. dev, qa, prd…). This How-To guide describes how this can be achieved in the DDK.

+ +

Configuration

+

DDK Core offers a construct: Configurator which can be used to manage configuration across several DDK environments. Note: This is a completely optional construct and users should feel free to build their own configuration mechanisms when necessary.

+ +

Example

+

In this example we will begin by creating a configuration file.

+
touch ddk.json
+
+

And updating it to include the following JSON data.

+ +
{
+  "tags": {
+    "Global:Tag:foo": "bar"
+  },
+  "account": "111111111111",
+  "region": "us-east-1",
+  "environments": {
+    "dev": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 128,
+          "Runtime": "python3.9"
+        },
+        "devStage/Queue": {
+          "VisibilityTimeout": 180
+        },
+        "AWS::S3::Bucket": {
+          "RemovalPolicy": "DESTROY"
+        }
+      },
+      "tags": {"CostCenter": "2014"},
+      "props": {
+        "special_prop": "foobar"
+      }
+    },
+    "prod": {
+      "account": "222222222222",
+      "region": "us-east-1",
+      "resources": {
+        "AWS::Lambda::Function": {
+          "MemorySize": 1024,
+          "Runtime": "python3.9"
+        }
+      },
+      "tags": {"CostCenter": "2015"}
+    }
+  }
+}
+
+ +

Let’s breakdown what’s included in this configuration file.

+ +
    +
  • A tag "Global:Tag:foo": "bar" is defined globally which will be applied to any scope Configurator is used on regardless of environment.
  • +
  • account & region are defined globally which can be accessed from Configurator.getEnvironment() to be used where a cdk.Environment is applicable.
  • +
  • environments is an object that includes configuration for any environments we would like to use. In this case there is one for dev and one for prod.
  • +
  • We include account & region in the environment which can be accessed to be used where a cdk.Environment is applicable.
  • +
  • The resources block contains any property overrides you would like to set. In this case we are overriding MemorySize & Runtime in our Lambda Functions, setting VisibilityTimeout for our SQS queue in dev and setting DESTROY removal policy for our S3 Bucket in dev. This will be explained in more detail below.
  • +
+ +

Next let’s create a CDK file using Configurator to control resources in our stacks.

+ +
    + +
  • +
    import * as cdk from "aws-cdk-lib";
    +import * as lambda from "aws-cdk-lib/aws-lambda";
    +import * as s3 from "aws-cdk-lib/aws-s3";
    +import {
    +  BaseStack,
    +  Configurator,
    +  DataPipeline,
    +  S3EventStage,
    +  SqsToLambdaStage,
    +} from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +const app = new cdk.App();
    +
    +class ExampleStack extends BaseStack {
    +  constructor(scope: Construct, environment: string) {
    +    super(scope, `${environment}Resources`, {});
    +    const s3Stage = new S3EventStage(this, `MyEventBucket${environment}`, {
    +      bucket: new s3.Bucket(this, `MyBucket${environment}`),
    +      eventNames: ["Object Created"],
    +    });
    +    const sqsToLambdaStage = new SqsToLambdaStage(this, `${environment}Stage`, {
    +      lambdaFunctionProps: {
    +        code: lambda.Code.fromInline(
    +          "def lambda_handler(event, context): pass;"
    +        ),
    +        handler: "lambda_function.lambda_handler",
    +        runtime: lambda.Runtime.PYTHON_3_8,
    +      },
    +    });
    +    new DataPipeline(this, `${environment}DataPipeline`, {})
    +      .addStage({ stage: s3Stage })
    +      .addStage({ stage: sqsToLambdaStage });
    +    new Configurator(this, "./ddk.json", environment);
    +  }
    +}
    +
    +// Dev Stack
    +new ExampleStack(app, "dev");
    +
    +// Prod Stack
    +new ExampleStack(app, "prod");
    +
    +
  • + +
  • +
    import aws_cdk as cdk
    +import aws_cdk.aws_lambda as lmbda
    +import aws_cdk.aws_s3 as s3
    +from aws_ddk_core import BaseStack, Configurator, DataPipeline,S3EventStage,SqsToLambdaStage
    +from constructs import Construct
    +
    +
    +app = cdk.App()
    +
    +class ExampleStack(BaseStack):
    +    def __init__(
    +        self,
    +        scope: Construct,
    +        environment: str,
    +    ) -> None:
    +        super().__init__(scope, f"{environment}Resources")
    +        s3_stage = S3EventStage(self, f"MyEventBucket{environment}", bucket=s3.Bucket(self, f"MyBucket{environment}"), event_names=["Object Created"])
    +        sqs_to_lambda_stage = SqsToLambdaStage(
    +          self, 
    +          id=f"{environment}Stage", 
    +          lambda_function_props={
    +            "code": lmbda.Code.from_inline(
    +              "def lambda_handler(event, context): pass;"
    +            ),
    +            "handler": "lambda_function.lambda_handler",
    +            "runtime": lmbda.Runtime.PYTHON_3_8,
    +          },
    +        )
    +        DataPipeline(self, id=f"{environment}DataPipeline").add_stage(stage=s3_stage).add_stage(stage=sqs_to_lambda_stage)
    +        Configurator(scope=self, config="./ddk.json", environment_id=environment)
    +
    +# Dev Stack
    +ExampleStack(app, "dev")
    +
    +# Prod Stack
    +ExampleStack(app, "prod")
    +
    +app.synth()
    +
    +
    +
  • + +
+ +

Now let’s synthesize our templates to examine Configurator in action.

+ +
cdk synth devResources
+cdk synth prodResources
+
+ +

If we take a look at the SQS Queue in devResources

+ +
devStageQueue44060536:
+    Type: AWS::SQS::Queue
+    Properties:
+      Tags:
+        - Key: CostCenter
+          Value: "2014"
+        - Key: Global:Tag:foo
+          Value: bar
+      VisibilityTimeout: 180
+    UpdateReplacePolicy: Delete
+    DeletionPolicy: Delete
+    Metadata:
+      aws:cdk:path: devResources/devStage/Queue/Resource
+
+ +

We can see that VisibilityTimeout has been updated as well as both the global tag and environment tag have been added to the resource. The same should follow for the other resources called out by the configuration.

+ +

Resource Specific Configuration

+

Resource specific configuration can be set in Configurator within the resources object of any given environment. For example given a configuration:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "ddk-glue-transform-job": {"timeout": 300, "worker_count": 2}
+            }
+        }
+    }
+}
+
+

Any underlying CDK resource matching the id: “ddk-glue-transform-job” would be passed the properties “timeout” and “worker_count” in the test environment.

+ +

All resources of a given type e.g. AWS::Lambda::Function can be configured as well, but this will override properties for any resource matching that type within a following scope Configurator has been applied to. For example:

+
{
+    "environments": {
+        "test": {
+            "account": "444444444444",
+            "region": "us-east-1",
+            "resources": {
+                "AWS::Lambda::Function": {
+                    "MemorySize": 512
+                }
+            },
+        }
+    }
+}
+
+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/stable/how-to/index.html b/release/stable/how-to/index.html new file mode 100644 index 00000000..e69859d3 --- /dev/null +++ b/release/stable/how-to/index.html @@ -0,0 +1,1853 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

Stable Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/stable/how-to/multi-account-deployment.html b/release/stable/how-to/multi-account-deployment.html new file mode 100644 index 00000000..706ae5d4 --- /dev/null +++ b/release/stable/how-to/multi-account-deployment.html @@ -0,0 +1,279 @@ + + + + + + +Deploy Multi-Account DDK Apps | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Purpose

+

In some cases, resources must be created across multiple accounts to support environment or logical separation. The following guide demonstrates how a DDK application is deployed to multiple environments in their own AWS accounts.

+ +

Enabling Accounts for Cross-Account Access

+

cdk bootstrap allows us to setup cross-account access for your AWS accounts.

+ +

Let’s say we have three AWS accounts.

+
    +
  • 111111111111: A centralized account for CI/CD pipelines.
  • +
  • 222222222222: An account to host dev environment resources.
  • +
  • 333333333333: An account to host test environment resources.
  • +
+ +

Bootstrap Accounts

+

We’ll need to bootstrap each environment.

+ +
    +
  • [cicd]: cdk bootstrap -p ${CICD_AWS_PROFILE}
  • +
  • [dev]: cdk bootstrap -p ${DEV_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
  • [test]: cdk bootstrap -e test -p ${TEST_AWS_PROFILE} --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
  • +
+ +

The dev & test environments are bootstrapped with --trust 111111111111 --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess to setup the required cross account access for the cicd account to manage resources within them.

+ +

[Optional] Configuration

+

A preferred solution is to store environment configuration in a file e.g. ddk.json.

+ +
{
+    "environments": {
+        "cicd": {
+            "account": "111111111111",
+            "region": "us-west-2"
+        },
+        "dev": {
+            "account": "222222222222",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": false, "removal_policy": "destroy"}
+            }
+        },
+        "test": {
+            "account": "333333333333",
+            "region": "us-west-2",
+            "resources": {
+                "ddk-bucket": {"versioned": true, "removal_policy": "retain"}
+            }
+        }
+    }
+}
+
+ + +
    + +
  • +

    You can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import * as cdk from 'aws-cdk-lib';
    +import * as ddk from "aws-ddk-core";
    +import { Construct } from "constructs";
    +
    +export class ApplicationStage extends cdk.Stage {
    +  constructor(
    +    scope: Construct,
    +    id: string,
    +    props?: cdk.StageProps
    +  ) {
    +    super(scope, id, props ?? {});
    +    new cdk.Stack(this, "DataPipeline");
    +  }
    +}
    +
    +const app = new cdk.App();
    +
    +new ddk.CICDPipelineStack(app, "DDKCodePipeline", {
    +  environmentId: "cicd",
    +  pipelineName: "ddk-application-pipeline",
    +  env: ddk.Configurator.getEnvironment({
    +    configPath: "./ddk.json",
    +    environmentId: "cicd",
    +  }),
    +})
    +  .addSourceAction({ repositoryName: "ddk-repository" })
    +  .addSynthAction()
    +  .buildPipeline()
    +  .addStage({
    +    stageId: "dev",
    +    stage: new ApplicationStage(app, "DevStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "dev",
    +      }),
    +    }),
    +  })
    +  .addStage({
    +    stageId: "test",
    +    stage: new ApplicationStage(app, "TestStage", {
    +      env: ddk.Configurator.getEnvironment({
    +        configPath: "./ddk.json",
    +        environmentId: "test",
    +      }),
    +    }),
    +  })
    +  .synth();
    +
    +app.synth();
    +
    +
  • + +
  • +

    app.py for example can now build a CI/CD pipeline to instantiate your application in both environments.

    + +
    import aws_cdk as cdk
    +import aws_ddk_core as ddk
    +
    +
    +class ApplicationStage(cdk.Stage):
    +    def __init__(
    +        self,
    +        scope,
    +        id: str,
    +        **kwargs,
    +    ) -> None:
    +        super().__init__(scope, id, **kwargs)
    +        cdk.Stack(self, "DataPipeline")
    +
    +
    +app = cdk.App()
    +
    +(
    +    ddk.CICDPipelineStack(
    +        app,
    +        id="DDKCodePipeline",
    +        environment_id="cicd",
    +        pipeline_name="ddk-application-pipeline",
    +        env=ddk.Configurator.get_environment(
    +            config_path="./ddk.json", environment_id="cicd"
    +        ),
    +    )
    +    .add_source_action(repository_name="ddk-repository")
    +    .add_synth_action()
    +    .build_pipeline()
    +    .add_stage(
    +        stage_id="dev",
    +        stage=ApplicationStage(
    +            app,
    +            "DevStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="dev"
    +            ),
    +        ),
    +    )
    +    .add_stage(
    +        stage_id="test",
    +        stage=ApplicationStage(
    +            app,
    +            "TestStage",
    +            env=ddk.Configurator.get_environment(
    +                config_path="./ddk.json", environment_id="test"
    +            ),
    +        ),
    +    )
    +    .synth()
    +)
    +
    +app.synth()
    +
    + +
  • + +
+ +

We then push this infrastructure as code into a newly created CodeCommit repository named ddk-repository:

+
aws codecommit create-repository --repository-name ddk-repository
+git init
+git remote add origin https://git-codecommit.${AWS_REGION}.amazonaws.com/v1/repos/ddk-repository
+git add .
+git commit -m "Initial commit"
+git push --set-upstream origin main
+
+ +

Deployment

+

Running cdk deploy provisions the pipeline in your AWS account. The aforementioned CI/CD pipeline is self-mutating, meaning we only need to run cdk deploy one time to get the pipeline started. After that, the pipeline automatically updates itself if code is committed to the source code repository.

+ +

You should now have two deployment stages in your CodePipeline for each environment.

+ +

Pipeline +Pipeline Stages

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/stable/how-to/private-artifactory.html b/release/stable/how-to/private-artifactory.html new file mode 100644 index 00000000..03bb7227 --- /dev/null +++ b/release/stable/how-to/private-artifactory.html @@ -0,0 +1,89 @@ + + + + + + +Create Your Own Library of Constructs | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

Private Library of DDK constructs

+ +

While the DDK holds a rich library of constructs, including numerous data stages, they do not satisfy every use case. As a result, customers might need to develop their own.

+ +

For instance, an organisation might have specific requirements in terms of security and compliance for their S3 buckets (e.g. a default lifecycle policy or encryption type). Likewise, they might wish to create reusable data stages that are not available in DDK today (e.g. a data stage that checks for personally identifiable information). Furthermore, once they define these custom constructs, they would like to share them with others in their organisation in order to standardise best practice patterns, enforce compliance and security, or define default configuration. This follows the define once, reuse always governance rule.

+ +

In DDK, this can be achieved through a private code artifactory. The idea is to define your custom DDK constructs in a Python library hosted in an AWS CodeArtifact repository. Once available in the private code artifactory, it can be reused by other users in the organisation in their own applications.

+ +

To implement this pattern, follow this example.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/stable/how-to/spend-first-hour.html b/release/stable/how-to/spend-first-hour.html new file mode 100644 index 00000000..7c2dd2bb --- /dev/null +++ b/release/stable/how-to/spend-first-hour.html @@ -0,0 +1,82 @@ + + + + + + +How to spend your first hour with the AWS DDK | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

How to spend your first hour with the AWS DDK

+

The best way to learn about the AWS DDK is to follow our workshop. It will take about an hour, and introduce you to the AWS DDK CLI, AWS DDK Core and how you can use these components to build your first pipeline.

+ +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/stable/how-to/understand-concepts.html b/release/stable/how-to/understand-concepts.html new file mode 100644 index 00000000..2fc74e82 --- /dev/null +++ b/release/stable/how-to/understand-concepts.html @@ -0,0 +1,98 @@ + + + + + + +Understanding the AWS DataOps Development Kit (AWS DDK) | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

What is the AWS DataOps Development Kit?

+ +

The AWS DataOps Development Kit (AWS DDK) is an open source development framework to help you build data workflows and modern data architecture on AWS.

+ +

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It’s easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.

+ +

Why did you build the AWS DDK?

+ +

To make DataOps on AWS easy! We want customers to focus on writing code that adds business value, whether that is a data transformation, cleaning data to train a model, or creating a report. We believe that orchestrating pipelines, creating infrastructure, and creating the DevOps behind that infrastructure is undifferentiated heavy lifting and should be done as easily as possible using a robust framework.

+ +

What are the Advantages of using the AWS DDK in CDK Applications?

+ +

When building DataOps projects on AWS, there are three main advantages of using the AWS DDK. First, it allows you to think at a higher level than infrastructure. For example, you may need to build a pipeline to process a JSON file by removing some attributes and joining to another file. With CDK , you’d need to think about creating an S3 bucket to land the input file, creating an AWS Lambda function for the simple transformation, creating an AWS Glue job to join the files, and creating the wiring to orchestrate the process. With AWS DDK you can simply create a pipeline, dropping in the stages you need to process your data. You can focus creating the transformation and join logic, rather than the infrastructure.

+ +

Second, you can capture DataOps best practice. By default, the library uses our opinion of good practice on AWS. For example, when you create an S3 bucket, it will always block public access and enforce encryption. If you want to add our recommended, AWS-native DevOps to your pipeline, it’s as easy as adding a single line of code. However, we appreciate that our best practice might not be yours and the tools you use may be different. To help you, we’ve made it easy to swap out our implementations for your own. If you think the way you do DataOps is something that other organisations could use, we encourage you to raise a pull request to share it with our community.

+ +

Third, we’ve made it easy for you to share your version of DataOps with the rest of your organisation. These days, almost every technical team needs to handle data, but won’t necessarily have a deep understanding of DataOps or AWS Infrastructure. The AWS DDK allows you to give these teams the tools they need to manage their data with the knowledge that when they deploy AWS infrastructure, it will follow your best practice.

+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/stable/how-to/upgrade-guide.html b/release/stable/how-to/upgrade-guide.html new file mode 100644 index 00000000..18eb0c65 --- /dev/null +++ b/release/stable/how-to/upgrade-guide.html @@ -0,0 +1,221 @@ + + + + + + +1.0.0 Upgrade guide | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ ← Index +
+

1.0.0 Major Version Release

+

Version 1.0.0 of the AWS DDK includes the following high-level changes and updates.

+
    +
  • Source code is now written in Typescript and uses JSII to package both python and typescript versions of the library. In the near future we will add support for all AWS CDK supported programming languages.
  • +
  • A new optional config construct Configurator() has been implemented to replace the required Config() construct from earlier verisons.
  • +
  • The DDK CLI has been deprectated. Projects that were bootstrapped using ddk bootstrap will still be supported.
  • +
  • New stages have been added + +
  • +
+ +

Config

+

Configurator is the new optional construct used to manage config across multiple environments. While this can handle a variety of use cases we encourage users to build their own config mechanisms when it Configurator is not the best option. See this how-to guide for more on using Configurator.

+ +

Bootstrapping

+

Customers that have already bootstrapped accounts and regions using ddk bootstrap can easily use the same roles by following the Using Legacy DDK Bootstrap Roles section of this guide.

+ +

Stage Properties

+

Because we have shifted to using typescript interfaces provided by the AWS CDK some properties may look slightly different in the new version. We will outline some common changes below, but always refer to the API documentation if you are unsure.

+ +
    +
  • Data Pipeline: Now requires positional arguments in the add_stage() method.
  • +
+ +
    + +
  • +
    new DataPipeline(
    +      this, "DDK Pipeline", {}
    +    ).addStage({stage: myFirstStage}).addStage({stage: mySecondStage})
    +
    +
  • + +
  • +
    (
    +  DataPipeline(scope=self, id="DDK Pipeline")
    +  .add_stage(stage=my_first_stage)
    +  .add_stage(stage=my_second_stage)
    +)
    +
    +
  • + +
+
    +
  • Changes to SqsToLambdaStage Properties: Function and queue properties now have their own dedicated positional argument.
  • +
+ +
    + +
  • +
    new SqsToLambdaStage(
    +  this, 
    +  "Lambda Stage", 
    +  {
    +    lambdaFunctionProps: {
    +      functionName: "dummy-function",
    +      code: lambda.Code.fromAsset(path.join(__dirname, "/../src/")),
    +      handler: "commons.handlers.lambda_handler",
    +      runtime: lambda.Runtime.PYTHON_3_8,
    +    },
    +    sqsQueueProps: {
    +      queueName: "dummy-queue.fifo",
    +      visibilityTimeout: cdk.Duration.minutes(5),
    +    },
    +  }
    +)
    +
    +
  • + +
  • +
    SqsToLambdaStage(
    +    self,
    +    id="lambda-stage",
    +    lambda_function_props={
    +        "code": Code.from_asset("./ddk_app/lambda_handlers"),
    +        "handler": "handler.lambda_handler",
    +        "layers": [
    +            LayerVersion.from_layer_version_arn(
    +                self,
    +                id="layer",
    +                layer_version_arn=f"arn:aws:lambda:{self.region}:336392948345:layer:AWSDataWrangler-Python39:1",
    +            )
    +        ],
    +        "runtime": Runtime.PYTHON_3_9,
    +    },
    +)
    +
    +
  • + +
+
    +
  • BaseStack: No longer requires an environment id. See BaseStackProps() for more details.
  • +
+ +
    + +
  • +
    new BaseStack(app, "my-stack", {});
    +
    +
  • + +
  • +
    BaseStack(app, "my-stack")
    +
    +
  • + +
+ + +
+ +
+
+ + +
+
+
+ +
+ + + + + diff --git a/release/stable/index.html b/release/stable/index.html new file mode 100644 index 00000000..e4c09935 --- /dev/null +++ b/release/stable/index.html @@ -0,0 +1,1859 @@ + + + + + + +AWS DataOps Development Kit | An open source development framework to help you build data workflows and modern data architecture on AWS. + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ +

Stable Release Documentation

+ +

How-To Guides

+ +

These guides range from simple, task-based guides to more complex instructions

+
    + +
  • Introduction +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Understanding the AWS DataOps Development Kit (AWS DDK) + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + How to spend your first hour with the AWS DDK + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + 1.0.0 Upgrade guide + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Intermediate Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + DDK Configurator + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
  • Advanced Topics +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Data Pipeline Stage + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Deploy Multi-Account DDK Apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Create Your Own Library of Constructs + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    • + + Different methods to bootstrap DDK apps + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • + +
+ +

API Documentation

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/releases.html b/releases.html new file mode 100644 index 00000000..eefd6d46 --- /dev/null +++ b/releases.html @@ -0,0 +1,201 @@ + + + + + + +Releases | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+

Releases

+

Find the documentation for all releases of AWS DDK

+ + + +
+
+ + +
+
+
+ +
+ + + + + diff --git a/workshops.html b/workshops.html new file mode 100644 index 00000000..cc56cb35 --- /dev/null +++ b/workshops.html @@ -0,0 +1,97 @@ + + + + + + +Workshops | AWS DataOps Development Kit + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+
+
+ +
+ + + + +