hexsha
string | size
int64 | ext
string | lang
string | max_stars_repo_path
string | max_stars_repo_name
string | max_stars_repo_head_hexsha
string | max_stars_repo_licenses
list | max_stars_count
int64 | max_stars_repo_stars_event_min_datetime
string | max_stars_repo_stars_event_max_datetime
string | max_issues_repo_path
string | max_issues_repo_name
string | max_issues_repo_head_hexsha
string | max_issues_repo_licenses
list | max_issues_count
int64 | max_issues_repo_issues_event_min_datetime
string | max_issues_repo_issues_event_max_datetime
string | max_forks_repo_path
string | max_forks_repo_name
string | max_forks_repo_head_hexsha
string | max_forks_repo_licenses
list | max_forks_count
int64 | max_forks_repo_forks_event_min_datetime
string | max_forks_repo_forks_event_max_datetime
string | content
string | avg_line_length
float64 | max_line_length
int64 | alphanum_fraction
float64 | qsc_code_num_words_quality_signal
int64 | qsc_code_num_chars_quality_signal
float64 | qsc_code_mean_word_length_quality_signal
float64 | qsc_code_frac_words_unique_quality_signal
float64 | qsc_code_frac_chars_top_2grams_quality_signal
float64 | qsc_code_frac_chars_top_3grams_quality_signal
float64 | qsc_code_frac_chars_top_4grams_quality_signal
float64 | qsc_code_frac_chars_dupe_5grams_quality_signal
float64 | qsc_code_frac_chars_dupe_6grams_quality_signal
float64 | qsc_code_frac_chars_dupe_7grams_quality_signal
float64 | qsc_code_frac_chars_dupe_8grams_quality_signal
float64 | qsc_code_frac_chars_dupe_9grams_quality_signal
float64 | qsc_code_frac_chars_dupe_10grams_quality_signal
float64 | qsc_code_frac_chars_replacement_symbols_quality_signal
float64 | qsc_code_frac_chars_digital_quality_signal
float64 | qsc_code_frac_chars_whitespace_quality_signal
float64 | qsc_code_size_file_byte_quality_signal
float64 | qsc_code_num_lines_quality_signal
float64 | qsc_code_num_chars_line_max_quality_signal
float64 | qsc_code_num_chars_line_mean_quality_signal
float64 | qsc_code_frac_chars_alphabet_quality_signal
float64 | qsc_code_frac_chars_comments_quality_signal
float64 | qsc_code_cate_xml_start_quality_signal
float64 | qsc_code_frac_lines_dupe_lines_quality_signal
float64 | qsc_code_cate_autogen_quality_signal
float64 | qsc_code_frac_lines_long_string_quality_signal
float64 | qsc_code_frac_chars_string_length_quality_signal
float64 | qsc_code_frac_chars_long_word_length_quality_signal
float64 | qsc_code_frac_lines_string_concat_quality_signal
float64 | qsc_code_cate_encoded_data_quality_signal
float64 | qsc_code_frac_chars_hex_words_quality_signal
float64 | qsc_code_frac_lines_prompt_comments_quality_signal
float64 | qsc_code_frac_lines_assert_quality_signal
float64 | qsc_codepython_cate_ast_quality_signal
float64 | qsc_codepython_frac_lines_func_ratio_quality_signal
float64 | qsc_codepython_cate_var_zero_quality_signal
bool | qsc_codepython_frac_lines_pass_quality_signal
float64 | qsc_codepython_frac_lines_import_quality_signal
float64 | qsc_codepython_frac_lines_simplefunc_quality_signal
float64 | qsc_codepython_score_lines_no_logic_quality_signal
float64 | qsc_codepython_frac_lines_print_quality_signal
float64 | qsc_code_num_words
int64 | qsc_code_num_chars
int64 | qsc_code_mean_word_length
int64 | qsc_code_frac_words_unique
null | qsc_code_frac_chars_top_2grams
int64 | qsc_code_frac_chars_top_3grams
int64 | qsc_code_frac_chars_top_4grams
int64 | qsc_code_frac_chars_dupe_5grams
int64 | qsc_code_frac_chars_dupe_6grams
int64 | qsc_code_frac_chars_dupe_7grams
int64 | qsc_code_frac_chars_dupe_8grams
int64 | qsc_code_frac_chars_dupe_9grams
int64 | qsc_code_frac_chars_dupe_10grams
int64 | qsc_code_frac_chars_replacement_symbols
int64 | qsc_code_frac_chars_digital
int64 | qsc_code_frac_chars_whitespace
int64 | qsc_code_size_file_byte
int64 | qsc_code_num_lines
int64 | qsc_code_num_chars_line_max
int64 | qsc_code_num_chars_line_mean
int64 | qsc_code_frac_chars_alphabet
int64 | qsc_code_frac_chars_comments
int64 | qsc_code_cate_xml_start
int64 | qsc_code_frac_lines_dupe_lines
int64 | qsc_code_cate_autogen
int64 | qsc_code_frac_lines_long_string
int64 | qsc_code_frac_chars_string_length
int64 | qsc_code_frac_chars_long_word_length
int64 | qsc_code_frac_lines_string_concat
null | qsc_code_cate_encoded_data
int64 | qsc_code_frac_chars_hex_words
int64 | qsc_code_frac_lines_prompt_comments
int64 | qsc_code_frac_lines_assert
int64 | qsc_codepython_cate_ast
int64 | qsc_codepython_frac_lines_func_ratio
int64 | qsc_codepython_cate_var_zero
int64 | qsc_codepython_frac_lines_pass
int64 | qsc_codepython_frac_lines_import
int64 | qsc_codepython_frac_lines_simplefunc
int64 | qsc_codepython_score_lines_no_logic
int64 | qsc_codepython_frac_lines_print
int64 | effective
string | hits
int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3bd4f6400c55a03bb1011bc05876364d1a357064
| 31
|
py
|
Python
|
asgi_webdav/cli.py
|
hansnow/asgi-webdav
|
5a353a25182ea75372d1f2d004d52707729bb3c2
|
[
"MIT"
] | 1
|
2021-05-16T04:58:08.000Z
|
2021-05-16T04:58:08.000Z
|
asgi_webdav/cli.py
|
liuwentao/asgi-webdav
|
5a353a25182ea75372d1f2d004d52707729bb3c2
|
[
"MIT"
] | null | null | null |
asgi_webdav/cli.py
|
liuwentao/asgi-webdav
|
5a353a25182ea75372d1f2d004d52707729bb3c2
|
[
"MIT"
] | null | null | null |
import uvicorn
uvicorn.run()
| 6.2
| 14
| 0.741935
| 4
| 31
| 5.75
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16129
| 31
| 4
| 15
| 7.75
| 0.884615
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
ce25ab3b0aed3e59261e31d9275e9a4ae7ad20c8
| 103
|
py
|
Python
|
game/__init__.py
|
karno-bh/python-trash
|
fc81ad11e794f3e26d4f40c2156d6c02a13913b5
|
[
"MIT"
] | null | null | null |
game/__init__.py
|
karno-bh/python-trash
|
fc81ad11e794f3e26d4f40c2156d6c02a13913b5
|
[
"MIT"
] | null | null | null |
game/__init__.py
|
karno-bh/python-trash
|
fc81ad11e794f3e26d4f40c2156d6c02a13913b5
|
[
"MIT"
] | null | null | null |
# import flat_matrix
# import game
#
# FlatMatrix = flat_matrix.FlatMatrix
#
# __all__ = ['FlatMatrix']
| 17.166667
| 37
| 0.728155
| 11
| 103
| 6.272727
| 0.545455
| 0.289855
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.145631
| 103
| 6
| 38
| 17.166667
| 0.784091
| 0.883495
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
ce35a74be31e0c994a17ff739469e2d7c277568c
| 44
|
py
|
Python
|
codingbat.com/List-1/reverse3.py
|
ahmedelq/PythonicAlgorithms
|
ce10dbb6e1fd0ea5c922a932b0f920236aa411bf
|
[
"MIT"
] | null | null | null |
codingbat.com/List-1/reverse3.py
|
ahmedelq/PythonicAlgorithms
|
ce10dbb6e1fd0ea5c922a932b0f920236aa411bf
|
[
"MIT"
] | null | null | null |
codingbat.com/List-1/reverse3.py
|
ahmedelq/PythonicAlgorithms
|
ce10dbb6e1fd0ea5c922a932b0f920236aa411bf
|
[
"MIT"
] | null | null | null |
def reverse3(nums):
return nums[::-1]
| 14.666667
| 23
| 0.590909
| 6
| 44
| 4.333333
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.058824
| 0.227273
| 44
| 2
| 24
| 22
| 0.705882
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| false
| 0
| 0
| 0.5
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 5
|
020498931842458263deffacb260449a0db2e9d8
| 233
|
py
|
Python
|
halotools/utils/tests/test_python_string_comparisons.py
|
pllim/halotools
|
6499cff09e7e0f169e4f425ee265403f6be816e8
|
[
"BSD-3-Clause"
] | 83
|
2015-01-15T14:54:16.000Z
|
2021-12-09T11:28:02.000Z
|
halotools/utils/tests/test_python_string_comparisons.py
|
pllim/halotools
|
6499cff09e7e0f169e4f425ee265403f6be816e8
|
[
"BSD-3-Clause"
] | 579
|
2015-01-14T15:57:37.000Z
|
2022-01-13T18:58:44.000Z
|
halotools/utils/tests/test_python_string_comparisons.py
|
pllim/halotools
|
6499cff09e7e0f169e4f425ee265403f6be816e8
|
[
"BSD-3-Clause"
] | 70
|
2015-01-14T15:15:58.000Z
|
2021-12-22T18:18:31.000Z
|
"""
"""
from ..python_string_comparisons import _passively_decode_string
__all__ = ('test_passively_decode_string', )
def test_passively_decode_string():
__ = _passively_decode_string('a')
__ = _passively_decode_string(1)
| 21.181818
| 64
| 0.76824
| 26
| 233
| 5.923077
| 0.461538
| 0.487013
| 0.681818
| 0.324675
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.004902
| 0.124464
| 233
| 10
| 65
| 23.3
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0.128319
| 0.123894
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 1
| 0.2
| 0
| 0.4
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
02466e856db1807f7627108366bd1ee87fa95a8c
| 99
|
py
|
Python
|
basecone/lib/__init__.py
|
wido/basecone-api
|
6db9e4559c71d7a1a20d417b43ecdf0f93e8d95b
|
[
"MIT"
] | 2
|
2019-02-17T21:35:23.000Z
|
2020-11-26T13:42:14.000Z
|
basecone/lib/__init__.py
|
wido/basecone-api
|
6db9e4559c71d7a1a20d417b43ecdf0f93e8d95b
|
[
"MIT"
] | null | null | null |
basecone/lib/__init__.py
|
wido/basecone-api
|
6db9e4559c71d7a1a20d417b43ecdf0f93e8d95b
|
[
"MIT"
] | null | null | null |
from .artifact import Artifact
from .document import Document
from .transaction import Transaction
| 24.75
| 36
| 0.848485
| 12
| 99
| 7
| 0.416667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.121212
| 99
| 3
| 37
| 33
| 0.965517
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
024781957f3c947df832dc4112daee43dfc8737e
| 169
|
py
|
Python
|
Native_Service/admin.py
|
codemangasior/native_service_API
|
980c10fb48baddaaf0ac2ef9fd5121babae8e6a4
|
[
"MIT"
] | null | null | null |
Native_Service/admin.py
|
codemangasior/native_service_API
|
980c10fb48baddaaf0ac2ef9fd5121babae8e6a4
|
[
"MIT"
] | 15
|
2019-06-10T14:21:27.000Z
|
2022-02-10T09:21:00.000Z
|
Native_Service/admin.py
|
codemangasior/native_service_API
|
980c10fb48baddaaf0ac2ef9fd5121babae8e6a4
|
[
"MIT"
] | 1
|
2019-06-23T07:10:46.000Z
|
2019-06-23T07:10:46.000Z
|
from django.contrib import admin
from .models import NativePost, NativeProduct
admin.register(admin)
admin.site.register(NativePost)
admin.site.register(NativeProduct)
| 24.142857
| 45
| 0.840237
| 21
| 169
| 6.761905
| 0.47619
| 0.126761
| 0.239437
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.076923
| 169
| 6
| 46
| 28.166667
| 0.910256
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.4
| 0
| 0.4
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
024e07f80543714a51af77e7a104d56fa7b0d9d4
| 271
|
py
|
Python
|
rc-cts/rc_cts/__init__.py
|
carlosotgz/resilient-python-api
|
647a629c296602e8541b72155eab26d7fdc6b67f
|
[
"MIT"
] | 28
|
2017-12-22T00:26:59.000Z
|
2022-01-22T14:51:33.000Z
|
rc-cts/rc_cts/__init__.py
|
carlosotgz/resilient-python-api
|
647a629c296602e8541b72155eab26d7fdc6b67f
|
[
"MIT"
] | 18
|
2018-03-06T19:04:20.000Z
|
2022-03-21T15:06:30.000Z
|
rc-cts/rc_cts/__init__.py
|
carlosotgz/resilient-python-api
|
647a629c296602e8541b72155eab26d7fdc6b67f
|
[
"MIT"
] | 28
|
2018-05-01T17:53:22.000Z
|
2022-03-28T09:56:59.000Z
|
#!/usr/bin/env python
__import__('pkg_resources').declare_namespace(__name__)
from rc_cts.lib.threat_models import *
from rc_cts.components.threat_webservice import ThreatServiceLookupEvent
from rc_cts.components.threat_webservice import ThreatLookupIncompleteException
| 38.714286
| 79
| 0.870849
| 33
| 271
| 6.666667
| 0.606061
| 0.081818
| 0.122727
| 0.172727
| 0.372727
| 0.372727
| 0.372727
| 0
| 0
| 0
| 0
| 0
| 0.059041
| 271
| 6
| 80
| 45.166667
| 0.862745
| 0.073801
| 0
| 0
| 0
| 0
| 0.052
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
0264bfa8782eb74d9ea9963d8a8c99c219795ae8
| 32
|
py
|
Python
|
crslab/model/recommendation/sasrec/__init__.py
|
hcmus-nlp-chatbot/CRSLab
|
b3ab262a4ad93cbae98fe66541eb735377768a35
|
[
"MIT"
] | 315
|
2021-01-05T06:31:57.000Z
|
2022-03-16T21:12:23.000Z
|
crslab/model/recommendation/sasrec/__init__.py
|
hcmus-nlp-chatbot/CRSLab
|
b3ab262a4ad93cbae98fe66541eb735377768a35
|
[
"MIT"
] | 23
|
2021-01-09T05:43:26.000Z
|
2022-03-28T21:05:49.000Z
|
crslab/model/recommendation/sasrec/__init__.py
|
hcmus-nlp-chatbot/CRSLab
|
b3ab262a4ad93cbae98fe66541eb735377768a35
|
[
"MIT"
] | 71
|
2021-01-05T06:31:59.000Z
|
2022-03-06T06:30:35.000Z
|
from .sasrec import SASRECModel
| 16
| 31
| 0.84375
| 4
| 32
| 6.75
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.125
| 32
| 1
| 32
| 32
| 0.964286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
027b4b7fb62d627bc102fc6dad9c3c478a791e6e
| 139
|
py
|
Python
|
hudjango/storage/__init__.py
|
mdornseif/huDjango
|
ce6f256b2e3e9fec4af749aebcae81a973e8874b
|
[
"BSD-2-Clause"
] | null | null | null |
hudjango/storage/__init__.py
|
mdornseif/huDjango
|
ce6f256b2e3e9fec4af749aebcae81a973e8874b
|
[
"BSD-2-Clause"
] | 1
|
2017-02-16T16:07:03.000Z
|
2017-02-17T09:49:20.000Z
|
hudjango/storage/__init__.py
|
hudora/huDjango
|
c99ce38517d706973df8e97df48274ab9392f52e
|
[
"BSD-2-Clause"
] | null | null | null |
from hudjango.storage.CouchDBStorage import CouchDBStorage, CouchDBFile
from hudjango.storage.ImageServerStorage import ImageServerStorage
| 46.333333
| 71
| 0.899281
| 13
| 139
| 9.615385
| 0.538462
| 0.192
| 0.304
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.064748
| 139
| 2
| 72
| 69.5
| 0.961538
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
5a06bd29f60494fc414f992044e54d0af35511f0
| 38
|
py
|
Python
|
tests/__init__.py
|
DaniloZZZ/mongocat
|
c5c560853ada3bd802706ec358263c5ce8984357
|
[
"MIT"
] | 1
|
2020-05-18T22:19:51.000Z
|
2020-05-18T22:19:51.000Z
|
tests/__init__.py
|
DaniloZZZ/mongocat
|
c5c560853ada3bd802706ec358263c5ce8984357
|
[
"MIT"
] | null | null | null |
tests/__init__.py
|
DaniloZZZ/mongocat
|
c5c560853ada3bd802706ec358263c5ce8984357
|
[
"MIT"
] | null | null | null |
"""Unit test package for mongocat."""
| 19
| 37
| 0.684211
| 5
| 38
| 5.2
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.131579
| 38
| 1
| 38
| 38
| 0.787879
| 0.815789
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
5a15072ec3c0be975c98a425d35c7a1607abd828
| 225
|
py
|
Python
|
Trimports/utils.py
|
amitjoshi9627/Trimports
|
bbde1c24e6b4b091b2ac16466684ff44a626b65c
|
[
"MIT"
] | null | null | null |
Trimports/utils.py
|
amitjoshi9627/Trimports
|
bbde1c24e6b4b091b2ac16466684ff44a626b65c
|
[
"MIT"
] | null | null | null |
Trimports/utils.py
|
amitjoshi9627/Trimports
|
bbde1c24e6b4b091b2ac16466684ff44a626b65c
|
[
"MIT"
] | null | null | null |
def get_file_lines(file_path):
with open(file_path) as file:
lines = file.readlines()
return lines
def write_file(file_path, file_lines):
with open(file_path, "w") as f:
f.writelines(file_lines)
| 22.5
| 38
| 0.675556
| 35
| 225
| 4.085714
| 0.4
| 0.251748
| 0.181818
| 0.223776
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.222222
| 225
| 9
| 39
| 25
| 0.817143
| 0
| 0
| 0
| 0
| 0
| 0.004444
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.285714
| false
| 0
| 0
| 0
| 0.428571
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
5a23086a7621e8dac53166a055276b14ff36a6d1
| 10,088
|
py
|
Python
|
test/models/test_model_list_gp_regression.py
|
jmren168/botorch
|
6c067185f56d3a244c4093393b8a97388fb1c0b3
|
[
"MIT"
] | 1
|
2020-03-29T20:06:45.000Z
|
2020-03-29T20:06:45.000Z
|
test/models/test_model_list_gp_regression.py
|
jmren168/botorch
|
6c067185f56d3a244c4093393b8a97388fb1c0b3
|
[
"MIT"
] | null | null | null |
test/models/test_model_list_gp_regression.py
|
jmren168/botorch
|
6c067185f56d3a244c4093393b8a97388fb1c0b3
|
[
"MIT"
] | 1
|
2020-03-29T20:06:48.000Z
|
2020-03-29T20:06:48.000Z
|
#! /usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
import math
import warnings
import torch
from botorch.exceptions.errors import BotorchTensorDimensionError
from botorch.exceptions.warnings import OptimizationWarning
from botorch.fit import fit_gpytorch_model
from botorch.models import ModelListGP
from botorch.models.gp_regression import FixedNoiseGP, SingleTaskGP
from botorch.posteriors import GPyTorchPosterior
from gpytorch.distributions import MultitaskMultivariateNormal, MultivariateNormal
from gpytorch.kernels import MaternKernel, ScaleKernel
from gpytorch.likelihoods import LikelihoodList
from gpytorch.means import ConstantMean
from gpytorch.mlls import SumMarginalLogLikelihood
from gpytorch.mlls.exact_marginal_log_likelihood import ExactMarginalLogLikelihood
from gpytorch.priors import GammaPrior
from ..botorch_test_case import BotorchTestCase
def _get_random_data(n, **tkwargs):
train_x1 = torch.linspace(0, 0.95, n + 1, **tkwargs).unsqueeze(
-1
) + 0.05 * torch.rand(n + 1, 1, **tkwargs)
train_x2 = torch.linspace(0, 0.95, n, **tkwargs).unsqueeze(-1) + 0.05 * torch.rand(
n, 1, **tkwargs
)
train_y1 = torch.sin(train_x1 * (2 * math.pi)) + 0.2 * torch.randn_like(train_x1)
train_y2 = torch.cos(train_x2 * (2 * math.pi)) + 0.2 * torch.randn_like(train_x2)
return train_x1, train_x2, train_y1, train_y2
def _get_model(n, fixed_noise=False, **tkwargs):
train_x1, train_x2, train_y1, train_y2 = _get_random_data(n=n, **tkwargs)
if fixed_noise:
train_y1_var = 0.1 + 0.1 * torch.rand_like(train_y1, **tkwargs)
train_y2_var = 0.1 + 0.1 * torch.rand_like(train_y2, **tkwargs)
model1 = FixedNoiseGP(
train_X=train_x1, train_Y=train_y1, train_Yvar=train_y1_var
)
model2 = FixedNoiseGP(
train_X=train_x2, train_Y=train_y2, train_Yvar=train_y2_var
)
else:
model1 = SingleTaskGP(train_X=train_x1, train_Y=train_y1)
model2 = SingleTaskGP(train_X=train_x2, train_Y=train_y2)
model = ModelListGP(model1, model2)
return model.to(**tkwargs)
class TestModelListGP(BotorchTestCase):
def test_ModelListGP(self, cuda=False):
for double in (False, True):
tkwargs = {
"device": torch.device("cuda") if cuda else torch.device("cpu"),
"dtype": torch.double if double else torch.float,
}
model = _get_model(n=10, **tkwargs)
self.assertIsInstance(model, ModelListGP)
self.assertIsInstance(model.likelihood, LikelihoodList)
for m in model.models:
self.assertIsInstance(m.mean_module, ConstantMean)
self.assertIsInstance(m.covar_module, ScaleKernel)
matern_kernel = m.covar_module.base_kernel
self.assertIsInstance(matern_kernel, MaternKernel)
self.assertIsInstance(matern_kernel.lengthscale_prior, GammaPrior)
# test constructing likelihood wrapper
mll = SumMarginalLogLikelihood(model.likelihood, model)
for mll_ in mll.mlls:
self.assertIsInstance(mll_, ExactMarginalLogLikelihood)
# test model fitting (sequential)
with warnings.catch_warnings():
warnings.filterwarnings("ignore", category=OptimizationWarning)
mll = fit_gpytorch_model(mll, options={"maxiter": 1}, max_retries=1)
with warnings.catch_warnings():
warnings.filterwarnings("ignore", category=OptimizationWarning)
# test model fitting (joint)
mll = fit_gpytorch_model(
mll, options={"maxiter": 1}, max_retries=1, sequential=False
)
# test posterior
test_x = torch.tensor([[0.25], [0.75]], **tkwargs)
posterior = model.posterior(test_x)
self.assertIsInstance(posterior, GPyTorchPosterior)
self.assertIsInstance(posterior.mvn, MultitaskMultivariateNormal)
# test observation_noise
posterior = model.posterior(test_x, observation_noise=True)
self.assertIsInstance(posterior, GPyTorchPosterior)
self.assertIsInstance(posterior.mvn, MultitaskMultivariateNormal)
# test output_indices
posterior = model.posterior(
test_x, output_indices=[0], observation_noise=True
)
self.assertIsInstance(posterior, GPyTorchPosterior)
self.assertIsInstance(posterior.mvn, MultivariateNormal)
# test condition_on_observations
f_x = torch.rand(2, 1, **tkwargs)
f_y = torch.rand(2, 2, **tkwargs)
cm = model.condition_on_observations(f_x, f_y)
self.assertIsInstance(cm, ModelListGP)
# test condition_on_observations batched
f_x = torch.rand(3, 2, 1, **tkwargs)
f_y = torch.rand(3, 2, 2, **tkwargs)
cm = model.condition_on_observations(f_x, f_y)
self.assertIsInstance(cm, ModelListGP)
# test condition_on_observations batched (fast fantasies)
f_x = torch.rand(2, 1, **tkwargs)
f_y = torch.rand(3, 2, 2, **tkwargs)
cm = model.condition_on_observations(f_x, f_y)
self.assertIsInstance(cm, ModelListGP)
# test condition_on_observations (incorrect input shape error)
with self.assertRaises(BotorchTensorDimensionError):
model.condition_on_observations(f_x, torch.rand(3, 2, 3, **tkwargs))
def test_ModelListGP_cuda(self):
if torch.cuda.is_available():
self.test_ModelListGP(cuda=True)
def test_ModelListGP_fixed_noise(self, cuda=False):
for double in (False, True):
tkwargs = {
"device": torch.device("cuda") if cuda else torch.device("cpu"),
"dtype": torch.double if double else torch.float,
}
model = _get_model(n=10, fixed_noise=True, **tkwargs)
self.assertIsInstance(model, ModelListGP)
self.assertIsInstance(model.likelihood, LikelihoodList)
for m in model.models:
self.assertIsInstance(m.mean_module, ConstantMean)
self.assertIsInstance(m.covar_module, ScaleKernel)
matern_kernel = m.covar_module.base_kernel
self.assertIsInstance(matern_kernel, MaternKernel)
self.assertIsInstance(matern_kernel.lengthscale_prior, GammaPrior)
# test model fitting
mll = SumMarginalLogLikelihood(model.likelihood, model)
for mll_ in mll.mlls:
self.assertIsInstance(mll_, ExactMarginalLogLikelihood)
with warnings.catch_warnings():
warnings.filterwarnings("ignore", category=OptimizationWarning)
mll = fit_gpytorch_model(mll, options={"maxiter": 1}, max_retries=1)
# test posterior
test_x = torch.tensor([[0.25], [0.75]], **tkwargs)
posterior = model.posterior(test_x)
self.assertIsInstance(posterior, GPyTorchPosterior)
self.assertIsInstance(posterior.mvn, MultitaskMultivariateNormal)
# test output_indices
posterior = model.posterior(
test_x, output_indices=[0], observation_noise=True
)
self.assertIsInstance(posterior, GPyTorchPosterior)
self.assertIsInstance(posterior.mvn, MultivariateNormal)
# test condition_on_observations
f_x = torch.rand(2, 1, **tkwargs)
f_y = torch.rand(2, 2, **tkwargs)
noise = 0.1 + 0.1 * torch.rand_like(f_y)
cm = model.condition_on_observations(f_x, f_y, noise=noise)
self.assertIsInstance(cm, ModelListGP)
# test condition_on_observations batched
f_x = torch.rand(3, 2, 1, **tkwargs)
f_y = torch.rand(3, 2, 2, **tkwargs)
noise = 0.1 + 0.1 * torch.rand_like(f_y)
cm = model.condition_on_observations(f_x, f_y, noise=noise)
self.assertIsInstance(cm, ModelListGP)
# test condition_on_observations batched (fast fantasies)
f_x = torch.rand(2, 1, **tkwargs)
f_y = torch.rand(3, 2, 2, **tkwargs)
noise = 0.1 + 0.1 * torch.rand(2, 2, **tkwargs)
cm = model.condition_on_observations(f_x, f_y, noise=noise)
self.assertIsInstance(cm, ModelListGP)
# test condition_on_observations (incorrect input shape error)
with self.assertRaises(BotorchTensorDimensionError):
model.condition_on_observations(
f_x, torch.rand(3, 2, 3, **tkwargs), noise=noise
)
# test condition_on_observations (incorrect noise shape error)
f_y = torch.rand(2, 2, **tkwargs)
with self.assertRaises(BotorchTensorDimensionError):
model.condition_on_observations(
f_x, f_y, noise=torch.rand(2, 3, **tkwargs)
)
def test_ModelListGP_fixed_noise_cuda(self):
if torch.cuda.is_available():
self.test_ModelListGP_fixed_noise(cuda=True)
def test_ModelListGP_single(self, cuda=False):
tkwargs = {
"device": torch.device("cuda") if cuda else torch.device("cpu"),
"dtype": torch.float,
}
train_x1, train_x2, train_y1, train_y2 = _get_random_data(n=10, **tkwargs)
model1 = SingleTaskGP(train_X=train_x1, train_Y=train_y1)
model = ModelListGP(model1)
model.to(**tkwargs)
test_x = torch.tensor([[0.25], [0.75]], **tkwargs)
posterior = model.posterior(test_x)
self.assertIsInstance(posterior, GPyTorchPosterior)
self.assertIsInstance(posterior.mvn, MultivariateNormal)
def test_ModelListGP_single_cuda(self):
if torch.cuda.is_available():
self.test_ModelListGP_single(cuda=True)
| 45.035714
| 87
| 0.640563
| 1,134
| 10,088
| 5.500882
| 0.138448
| 0.102597
| 0.066367
| 0.042321
| 0.767073
| 0.743668
| 0.730683
| 0.727477
| 0.710484
| 0.66672
| 0
| 0.022258
| 0.265167
| 10,088
| 223
| 88
| 45.237668
| 0.819236
| 0.07276
| 0
| 0.575581
| 0
| 0
| 0.009964
| 0
| 0
| 0
| 0
| 0
| 0.203488
| 1
| 0.046512
| false
| 0
| 0.098837
| 0
| 0.162791
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
5a6e06365a2713310951108ac3c5052e961b6fb1
| 62
|
wsgi
|
Python
|
lcbru_events/app.wsgi
|
rabramley/lcbru-events
|
97245fbc711fc1876643d23df635d82752509040
|
[
"MIT"
] | null | null | null |
lcbru_events/app.wsgi
|
rabramley/lcbru-events
|
97245fbc711fc1876643d23df635d82752509040
|
[
"MIT"
] | null | null | null |
lcbru_events/app.wsgi
|
rabramley/lcbru-events
|
97245fbc711fc1876643d23df635d82752509040
|
[
"MIT"
] | null | null | null |
#!venv/bin/python
from lcbru_events import app as application
| 20.666667
| 43
| 0.822581
| 10
| 62
| 5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.112903
| 62
| 2
| 44
| 31
| 0.909091
| 0.258065
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
ce861ce958e34ffe64c05740141570929bf15d92
| 149
|
py
|
Python
|
neighbors/__init__.py
|
adityajn105/MLfromScratch
|
ea0758d4039051268d7f3af8799e2b005dbc2ebe
|
[
"MIT"
] | 16
|
2019-12-17T04:24:51.000Z
|
2021-12-15T18:31:41.000Z
|
neighbors/__init__.py
|
adityajn105/MLfromScratch
|
ea0758d4039051268d7f3af8799e2b005dbc2ebe
|
[
"MIT"
] | null | null | null |
neighbors/__init__.py
|
adityajn105/MLfromScratch
|
ea0758d4039051268d7f3af8799e2b005dbc2ebe
|
[
"MIT"
] | 5
|
2019-12-17T04:24:55.000Z
|
2022-01-23T15:18:24.000Z
|
from .regressors import KNeighborsRegressor
from .classifiers import KNeighborsClassifier
__all__ = ['KNeighborsRegressor', 'KNeighborsClassifier']
| 29.8
| 57
| 0.845638
| 11
| 149
| 11.090909
| 0.636364
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.087248
| 149
| 5
| 57
| 29.8
| 0.897059
| 0
| 0
| 0
| 0
| 0
| 0.26
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
ce911a68ee119a39c5480dedfb1d88e057c9c669
| 219
|
py
|
Python
|
mlcomp/utils/__init__.py
|
korepwx/mlcomp
|
b39f64d700531792da72175c8daaa10be5c73ad1
|
[
"MIT"
] | null | null | null |
mlcomp/utils/__init__.py
|
korepwx/mlcomp
|
b39f64d700531792da72175c8daaa10be5c73ad1
|
[
"MIT"
] | null | null | null |
mlcomp/utils/__init__.py
|
korepwx/mlcomp
|
b39f64d700531792da72175c8daaa10be5c73ad1
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from .concurrency import *
from .datautils import *
from .deprecation import *
from .excludes import *
from .jsonutils import *
from .misc import *
from .osutils import *
from .tempdir import *
| 19.909091
| 26
| 0.712329
| 27
| 219
| 5.777778
| 0.481481
| 0.448718
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.005525
| 0.173516
| 219
| 10
| 27
| 21.9
| 0.856354
| 0.09589
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
ce9643019fe56478d27c3c6a176ff37a49e9610e
| 1,619
|
py
|
Python
|
repos/system_upgrade/el8toel9/actors/firewalldcheckservicetftpclient/tests/component_test_firewalldcollectusedobjectnames.py
|
sm00th/leapp-repository
|
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
|
[
"Apache-2.0"
] | null | null | null |
repos/system_upgrade/el8toel9/actors/firewalldcheckservicetftpclient/tests/component_test_firewalldcollectusedobjectnames.py
|
sm00th/leapp-repository
|
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
|
[
"Apache-2.0"
] | 1
|
2022-03-07T15:34:11.000Z
|
2022-03-07T15:35:15.000Z
|
repos/system_upgrade/el8toel9/actors/firewalldcheckservicetftpclient/tests/component_test_firewalldcollectusedobjectnames.py
|
sm00th/leapp-repository
|
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
|
[
"Apache-2.0"
] | null | null | null |
from leapp.models import FirewalldUsedObjectNames
from leapp.reporting import Report
def test_actor_firewalldcheckservicetftpclient(current_actor_context):
services = ['cockpit', 'tftp-client', 'ssh', 'https']
policies = []
zones = []
current_actor_context.feed(FirewalldUsedObjectNames(services=services,
policies=policies,
zones=zones))
current_actor_context.run()
assert current_actor_context.consume(Report)
def test_actor_firewalldcheckservicetftpclient_negative(current_actor_context):
services = ['cockpit', 'ssh', 'https']
policies = []
zones = []
current_actor_context.feed(FirewalldUsedObjectNames(services=services,
policies=policies,
zones=zones))
current_actor_context.run()
assert not current_actor_context.consume(Report)
def test_actor_firewalldcheckservicetftpclient_negative2(current_actor_context):
current_actor_context.feed(FirewalldUsedObjectNames(services=[],
policies=[],
zones=[]))
current_actor_context.run()
assert not current_actor_context.consume(Report)
def test_actor_firewalldcheckservicetftpclient_negative3(current_actor_context):
current_actor_context.feed(FirewalldUsedObjectNames())
current_actor_context.run()
assert not current_actor_context.consume(Report)
| 35.977778
| 80
| 0.627548
| 133
| 1,619
| 7.315789
| 0.218045
| 0.197328
| 0.312436
| 0.12333
| 0.892086
| 0.763618
| 0.755396
| 0.755396
| 0.619733
| 0.542652
| 0
| 0.001765
| 0.300185
| 1,619
| 44
| 81
| 36.795455
| 0.857017
| 0
| 0
| 0.566667
| 0
| 0
| 0.025324
| 0
| 0
| 0
| 0
| 0
| 0.133333
| 1
| 0.133333
| false
| 0
| 0.066667
| 0
| 0.2
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
ced31a35826006077bbd2e6ce80ed2fba32151a4
| 15,115
|
py
|
Python
|
src/faces/face-describe-py/kuruvi_pb2_grpc.py
|
Yokeshthirumoorthi/kuruvi
|
2f8b806e53712c8c878108d9e601ed03d6b85f18
|
[
"MIT"
] | 1
|
2021-03-07T05:42:22.000Z
|
2021-03-07T05:42:22.000Z
|
src/faces/face-describe-py/kuruvi_pb2_grpc.py
|
Yokeshthirumoorthi/kuruvi
|
2f8b806e53712c8c878108d9e601ed03d6b85f18
|
[
"MIT"
] | 3
|
2021-05-10T07:51:24.000Z
|
2021-05-10T12:25:13.000Z
|
src/faces/face-describe-py/kuruvi_pb2_grpc.py
|
Yokeshthirumoorthi/kuruvi
|
2f8b806e53712c8c878108d9e601ed03d6b85f18
|
[
"MIT"
] | 1
|
2020-06-15T07:00:06.000Z
|
2020-06-15T07:00:06.000Z
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
import kuruvi_pb2 as kuruvi__pb2
class ServiceXStub(object):
"""*******************************************************************************
Services
*******************************************************************************
-----------------ServiceX grpc server functions-----------------
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.initWorkFlow = channel.unary_unary(
'/kuruvi.ServiceX/initWorkFlow',
request_serializer=kuruvi__pb2.AlbumFolder.SerializeToString,
response_deserializer=kuruvi__pb2.Empty.FromString,
)
class ServiceXServicer(object):
"""*******************************************************************************
Services
*******************************************************************************
-----------------ServiceX grpc server functions-----------------
"""
def initWorkFlow(self, request, context):
"""A Simple RPC
It will execute a set of workflow
and extracts more details about the photo
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_ServiceXServicer_to_server(servicer, server):
rpc_method_handlers = {
'initWorkFlow': grpc.unary_unary_rpc_method_handler(
servicer.initWorkFlow,
request_deserializer=kuruvi__pb2.AlbumFolder.FromString,
response_serializer=kuruvi__pb2.Empty.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'kuruvi.ServiceX', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
class StaticGeneratorStub(object):
"""-----------------Static generator server functions-----------------
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.createStaticWebDirectory = channel.unary_unary(
'/kuruvi.StaticGenerator/createStaticWebDirectory',
request_serializer=kuruvi__pb2.AlbumFolder.SerializeToString,
response_deserializer=kuruvi__pb2.Empty.FromString,
)
class StaticGeneratorServicer(object):
"""-----------------Static generator server functions-----------------
"""
def createStaticWebDirectory(self, request, context):
"""A Simple RPC
Creates the web directory with js, html and the
cache contents
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_StaticGeneratorServicer_to_server(servicer, server):
rpc_method_handlers = {
'createStaticWebDirectory': grpc.unary_unary_rpc_method_handler(
servicer.createStaticWebDirectory,
request_deserializer=kuruvi__pb2.AlbumFolder.FromString,
response_serializer=kuruvi__pb2.Empty.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'kuruvi.StaticGenerator', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
class ExifCoreStub(object):
"""-----------------Exif functions-----------------
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.extractExif = channel.unary_unary(
'/kuruvi.ExifCore/extractExif',
request_serializer=kuruvi__pb2.PhotoURL.SerializeToString,
response_deserializer=kuruvi__pb2.ExifData.FromString,
)
class ExifCoreServicer(object):
"""-----------------Exif functions-----------------
"""
def extractExif(self, request, context):
"""A Simple RPC
Downloads photo from remote server and extracts exif
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_ExifCoreServicer_to_server(servicer, server):
rpc_method_handlers = {
'extractExif': grpc.unary_unary_rpc_method_handler(
servicer.extractExif,
request_deserializer=kuruvi__pb2.PhotoURL.FromString,
response_serializer=kuruvi__pb2.ExifData.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'kuruvi.ExifCore', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
class ExifApiStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.exififyAlbum = channel.unary_unary(
'/kuruvi.ExifApi/exififyAlbum',
request_serializer=kuruvi__pb2.AlbumFolder.SerializeToString,
response_deserializer=kuruvi__pb2.JobStatus.FromString,
)
class ExifApiServicer(object):
# missing associated documentation comment in .proto file
pass
def exififyAlbum(self, request, context):
"""A Simple RPC
Gets the exif details of all photos in an album
and save it to database
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_ExifApiServicer_to_server(servicer, server):
rpc_method_handlers = {
'exififyAlbum': grpc.unary_unary_rpc_method_handler(
servicer.exififyAlbum,
request_deserializer=kuruvi__pb2.AlbumFolder.FromString,
response_serializer=kuruvi__pb2.JobStatus.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'kuruvi.ExifApi', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
class FaceApiStub(object):
"""-----------------Face Api functions-----------------
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.cropAlbumFaces = channel.unary_unary(
'/kuruvi.FaceApi/cropAlbumFaces',
request_serializer=kuruvi__pb2.AlbumFolder.SerializeToString,
response_deserializer=kuruvi__pb2.JobStatus.FromString,
)
class FaceApiServicer(object):
"""-----------------Face Api functions-----------------
"""
def cropAlbumFaces(self, request, context):
"""A Simple RPC
Gets the face details of all photos in an album
and save it to database
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_FaceApiServicer_to_server(servicer, server):
rpc_method_handlers = {
'cropAlbumFaces': grpc.unary_unary_rpc_method_handler(
servicer.cropAlbumFaces,
request_deserializer=kuruvi__pb2.AlbumFolder.FromString,
response_serializer=kuruvi__pb2.JobStatus.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'kuruvi.FaceApi', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
class FaceCoreStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.detectFaces = channel.unary_unary(
'/kuruvi.FaceCore/detectFaces',
request_serializer=kuruvi__pb2.PhotoURL.SerializeToString,
response_deserializer=kuruvi__pb2.BoundingBoxes.FromString,
)
class FaceCoreServicer(object):
# missing associated documentation comment in .proto file
pass
def detectFaces(self, request, context):
"""A Simple RPC
Gets the face details of all photos in an album
and save it to database
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_FaceCoreServicer_to_server(servicer, server):
rpc_method_handlers = {
'detectFaces': grpc.unary_unary_rpc_method_handler(
servicer.detectFaces,
request_deserializer=kuruvi__pb2.PhotoURL.FromString,
response_serializer=kuruvi__pb2.BoundingBoxes.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'kuruvi.FaceCore', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
class FaceDescribeStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.describeFaces = channel.unary_unary(
'/kuruvi.FaceDescribe/describeFaces',
request_serializer=kuruvi__pb2.AlbumFolder.SerializeToString,
response_deserializer=kuruvi__pb2.FacePoints.FromString,
)
class FaceDescribeServicer(object):
# missing associated documentation comment in .proto file
pass
def describeFaces(self, request, context):
"""A Simple RPC
Gets the face details of all photos in an album
and save it to database
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_FaceDescribeServicer_to_server(servicer, server):
rpc_method_handlers = {
'describeFaces': grpc.unary_unary_rpc_method_handler(
servicer.describeFaces,
request_deserializer=kuruvi__pb2.AlbumFolder.FromString,
response_serializer=kuruvi__pb2.FacePoints.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'kuruvi.FaceDescribe', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
class FaceCropStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.cropFaces = channel.unary_unary(
'/kuruvi.FaceCrop/cropFaces',
request_serializer=kuruvi__pb2.CropFacesRequest.SerializeToString,
response_deserializer=kuruvi__pb2.JobStatus.FromString,
)
class FaceCropServicer(object):
# missing associated documentation comment in .proto file
pass
def cropFaces(self, request, context):
"""A Simple RPC
For the given photodetails and bounding boxes,
crop and save faces
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_FaceCropServicer_to_server(servicer, server):
rpc_method_handlers = {
'cropFaces': grpc.unary_unary_rpc_method_handler(
servicer.cropFaces,
request_deserializer=kuruvi__pb2.CropFacesRequest.FromString,
response_serializer=kuruvi__pb2.JobStatus.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'kuruvi.FaceCrop', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
class ResizeApiStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.resizePhotos = channel.unary_unary(
'/kuruvi.ResizeApi/resizePhotos',
request_serializer=kuruvi__pb2.AlbumFolder.SerializeToString,
response_deserializer=kuruvi__pb2.JobStatus.FromString,
)
class ResizeApiServicer(object):
# missing associated documentation comment in .proto file
pass
def resizePhotos(self, request, context):
"""A Simple RPC
For the given album, resize and save to disk
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_ResizeApiServicer_to_server(servicer, server):
rpc_method_handlers = {
'resizePhotos': grpc.unary_unary_rpc_method_handler(
servicer.resizePhotos,
request_deserializer=kuruvi__pb2.AlbumFolder.FromString,
response_serializer=kuruvi__pb2.JobStatus.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'kuruvi.ResizeApi', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
class StorageApiStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.saveFolderDetails = channel.unary_unary(
'/kuruvi.StorageApi/saveFolderDetails',
request_serializer=kuruvi__pb2.AlbumFolder.SerializeToString,
response_deserializer=kuruvi__pb2.JobStatus.FromString,
)
class StorageApiServicer(object):
# missing associated documentation comment in .proto file
pass
def saveFolderDetails(self, request, context):
"""A Simple RPC
Saves the album details and photo details in database
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_StorageApiServicer_to_server(servicer, server):
rpc_method_handlers = {
'saveFolderDetails': grpc.unary_unary_rpc_method_handler(
servicer.saveFolderDetails,
request_deserializer=kuruvi__pb2.AlbumFolder.FromString,
response_serializer=kuruvi__pb2.JobStatus.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'kuruvi.StorageApi', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
class PgsqlApiStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.organizeData = channel.unary_unary(
'/kuruvi.PgsqlApi/organizeData',
request_serializer=kuruvi__pb2.AlbumFolder.SerializeToString,
response_deserializer=kuruvi__pb2.JobStatus.FromString,
)
class PgsqlApiServicer(object):
# missing associated documentation comment in .proto file
pass
def organizeData(self, request, context):
"""A Simple RPC
Saves the album details and photo details in database
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_PgsqlApiServicer_to_server(servicer, server):
rpc_method_handlers = {
'organizeData': grpc.unary_unary_rpc_method_handler(
servicer.organizeData,
request_deserializer=kuruvi__pb2.AlbumFolder.FromString,
response_serializer=kuruvi__pb2.JobStatus.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'kuruvi.PgsqlApi', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
| 29.521484
| 84
| 0.70129
| 1,511
| 15,115
| 6.736598
| 0.102581
| 0.040672
| 0.041065
| 0.049514
| 0.778073
| 0.774339
| 0.760193
| 0.670105
| 0.65979
| 0.631791
| 0
| 0.003702
| 0.177969
| 15,115
| 511
| 85
| 29.579256
| 0.815533
| 0.202448
| 0
| 0.513011
| 1
| 0
| 0.101379
| 0.033793
| 0
| 0
| 0
| 0
| 0
| 1
| 0.122677
| false
| 0.052045
| 0.007435
| 0
| 0.211896
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
0c8c8babe4ede3dcae3f81ad709d1e647016f524
| 534
|
py
|
Python
|
pycaprio/core/objects/project.py
|
reckart/pycaprio
|
1d030ecd97cb324e404c16520fe6250c49c3bb06
|
[
"MIT"
] | 9
|
2019-08-27T11:21:07.000Z
|
2021-03-11T15:41:44.000Z
|
pycaprio/core/objects/project.py
|
reckart/pycaprio
|
1d030ecd97cb324e404c16520fe6250c49c3bb06
|
[
"MIT"
] | 25
|
2019-09-03T11:05:18.000Z
|
2021-04-18T15:57:33.000Z
|
pycaprio/core/objects/project.py
|
reckart/pycaprio
|
1d030ecd97cb324e404c16520fe6250c49c3bb06
|
[
"MIT"
] | 6
|
2019-10-02T16:51:10.000Z
|
2021-03-11T15:41:52.000Z
|
class Project:
"""
INCEpTION's Project object
"""
def __init__(self, project_id: int, project_name: str):
self.project_id = project_id
self.project_name = project_name
def __eq__(self, other):
return isinstance(other, Project) and \
other.project_id == self.project_id and \
other.project_name == self.project_name
def __repr__(self):
return f"<Project #{self.project_id}: {self.project_name}>"
def __str__(self):
return repr(self)
| 26.7
| 67
| 0.61985
| 65
| 534
| 4.661538
| 0.292308
| 0.254125
| 0.171617
| 0.19802
| 0.158416
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.275281
| 534
| 19
| 68
| 28.105263
| 0.782946
| 0.048689
| 0
| 0
| 0
| 0
| 0.099594
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0.25
| 0.666667
| 0
| 0
| 0
| 0
| null | 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
0cb21eb525bd81586bd6f4af752f8a488c2d03a6
| 407
|
py
|
Python
|
serializable.py
|
agilgur5/django-serializable-model
|
0a5eeb2e0d7bd82cb6e083ce6588993f8c7f2696
|
[
"Apache-2.0"
] | 16
|
2018-03-18T06:38:21.000Z
|
2020-04-30T22:56:50.000Z
|
serializable.py
|
agilgur5/django-serializable-model
|
0a5eeb2e0d7bd82cb6e083ce6588993f8c7f2696
|
[
"Apache-2.0"
] | 6
|
2019-05-29T03:58:39.000Z
|
2019-11-03T03:27:32.000Z
|
serializable.py
|
agilgur5/django-serializable-model
|
0a5eeb2e0d7bd82cb6e083ce6588993f8c7f2696
|
[
"Apache-2.0"
] | null | null | null |
"""
This is just a pure wrapper / alias module around django_serializable_model to
still be able to import it with the original, unintended name of serializable.
See https://github.com/agilgur5/django-serializable-model/issues/2
In the first major/breaking release, v1.0.0, this file should be deleted and
the module removed from `setup.py`.
"""
from django_serializable_model import * # noqa F403, F401
| 37
| 78
| 0.783784
| 65
| 407
| 4.846154
| 0.753846
| 0.171429
| 0.219048
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.031429
| 0.140049
| 407
| 10
| 79
| 40.7
| 0.868571
| 0.872236
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
0cc255f2ecfa883cdb6016032e4048f5cb2137de
| 104
|
py
|
Python
|
blog/share/admin.py
|
jayvynl/django-blog
|
c69c93efcd6e7bd6e77dd25618a72517066bca19
|
[
"MIT"
] | 2
|
2021-02-06T08:19:53.000Z
|
2021-05-13T12:41:16.000Z
|
blog/share/admin.py
|
jayvynl/django-blog
|
c69c93efcd6e7bd6e77dd25618a72517066bca19
|
[
"MIT"
] | null | null | null |
blog/share/admin.py
|
jayvynl/django-blog
|
c69c93efcd6e7bd6e77dd25618a72517066bca19
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from share import models
admin.site.register(models.SiteInformation)
| 17.333333
| 43
| 0.836538
| 14
| 104
| 6.214286
| 0.714286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.105769
| 104
| 5
| 44
| 20.8
| 0.935484
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
0ce04448de9b344c3e81347aac15f219fe92dc0c
| 549
|
py
|
Python
|
mountequist/clients/base.py
|
ginjeni1/mountequist
|
795d6921e41be8c3097c7c4a06f0ad0a1e4742b5
|
[
"MIT"
] | null | null | null |
mountequist/clients/base.py
|
ginjeni1/mountequist
|
795d6921e41be8c3097c7c4a06f0ad0a1e4742b5
|
[
"MIT"
] | null | null | null |
mountequist/clients/base.py
|
ginjeni1/mountequist
|
795d6921e41be8c3097c7c4a06f0ad0a1e4742b5
|
[
"MIT"
] | 1
|
2018-06-12T18:51:37.000Z
|
2018-06-12T18:51:37.000Z
|
import abc
class MountebankClient(object):
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def activate_impostor(self, impostor):
pass
@abc.abstractmethod
def deactivate_impostor(self, impostor):
pass
@abc.abstractmethod
def send_to_impostor(self, impostor, **kwargs):
pass
@abc.abstractmethod
def get_impostor(self, impostor):
pass
@abc.abstractmethod
def __enter__(self):
pass
@abc.abstractmethod
def __exit__(self, *args, **kwargs):
pass
| 18.3
| 51
| 0.648452
| 56
| 549
| 6.053571
| 0.375
| 0.300885
| 0.353982
| 0.353982
| 0.389381
| 0.389381
| 0.389381
| 0
| 0
| 0
| 0
| 0
| 0.265938
| 549
| 29
| 52
| 18.931034
| 0.841191
| 0
| 0
| 0.571429
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.285714
| false
| 0.285714
| 0.047619
| 0
| 0.428571
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
0b2c14510f6db86130d88b308e5637cf244985cf
| 86
|
py
|
Python
|
somegame/control_exceptions.py
|
kodo-pp/somegame-but-not-that-one
|
6252d34b84fe7c83ada9e699df17688c50dd7596
|
[
"MIT"
] | null | null | null |
somegame/control_exceptions.py
|
kodo-pp/somegame-but-not-that-one
|
6252d34b84fe7c83ada9e699df17688c50dd7596
|
[
"MIT"
] | null | null | null |
somegame/control_exceptions.py
|
kodo-pp/somegame-but-not-that-one
|
6252d34b84fe7c83ada9e699df17688c50dd7596
|
[
"MIT"
] | null | null | null |
class GameExited(BaseException):
pass
class PlayerDied(BaseException):
pass
| 12.285714
| 32
| 0.744186
| 8
| 86
| 8
| 0.625
| 0.53125
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.186047
| 86
| 6
| 33
| 14.333333
| 0.914286
| 0
| 0
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
0b332e6dad54e7794d6f3b3ac2127aa0f1ebc92e
| 93
|
py
|
Python
|
bundlebuilder/__init__.py
|
CiscoSecurity/tr-05-ctim-bundle-builder
|
fe4f1e877112aebc5f79ec04b6c74dc9e9f0113a
|
[
"MIT"
] | 3
|
2019-12-11T00:21:26.000Z
|
2020-11-02T18:16:36.000Z
|
bundlebuilder/__init__.py
|
CiscoSecurity/tr-05-ctim-bundle-builder
|
fe4f1e877112aebc5f79ec04b6c74dc9e9f0113a
|
[
"MIT"
] | null | null | null |
bundlebuilder/__init__.py
|
CiscoSecurity/tr-05-ctim-bundle-builder
|
fe4f1e877112aebc5f79ec04b6c74dc9e9f0113a
|
[
"MIT"
] | 2
|
2020-06-29T18:40:37.000Z
|
2020-07-31T20:16:47.000Z
|
# Load the current version meta-attribute into the package.
from .version import __version__
| 31
| 59
| 0.817204
| 13
| 93
| 5.538462
| 0.769231
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.139785
| 93
| 2
| 60
| 46.5
| 0.9
| 0.612903
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
0b3bf94994879b02742660524956056d25f03531
| 443
|
py
|
Python
|
exasol_integration_test_docker_environment/lib/test_environment/database_setup/time_based_bucketfs_sync_waiter.py
|
exasol/integration-test-docker-environment
|
35850f67cd4cde010f03dd556d1a0f74b3291eb8
|
[
"MIT"
] | 4
|
2020-06-25T20:47:31.000Z
|
2021-09-10T15:22:51.000Z
|
exasol_integration_test_docker_environment/lib/test_environment/database_setup/time_based_bucketfs_sync_waiter.py
|
exasol/integration-test-docker-environment
|
35850f67cd4cde010f03dd556d1a0f74b3291eb8
|
[
"MIT"
] | 113
|
2020-06-02T08:51:08.000Z
|
2022-03-31T08:47:41.000Z
|
exasol_integration_test_docker_environment/lib/test_environment/database_setup/time_based_bucketfs_sync_waiter.py
|
exasol/integration-test-docker-environment
|
35850f67cd4cde010f03dd556d1a0f74b3291eb8
|
[
"MIT"
] | 2
|
2020-05-19T10:57:47.000Z
|
2020-06-22T13:32:20.000Z
|
import time
from exasol_integration_test_docker_environment.lib.test_environment.database_setup.bucketfs_sync_checker import \
BucketFSSyncChecker
class TimeBasedBucketFSSyncWaiter(BucketFSSyncChecker):
def __init__(self, sync_time_estimation):
self.sync_time_estimation = sync_time_estimation
def prepare_upload(self):
pass
def wait_for_bucketfs_sync(self):
time.sleep(self.sync_time_estimation)
| 26.058824
| 114
| 0.794582
| 51
| 443
| 6.431373
| 0.529412
| 0.097561
| 0.219512
| 0.20122
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.151242
| 443
| 16
| 115
| 27.6875
| 0.87234
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.3
| false
| 0.1
| 0.2
| 0
| 0.6
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 5
|
0b5d937d6188fc2345cca209dbba76a185176003
| 97
|
py
|
Python
|
app/visitor/__init__.py
|
xiaolongwu1987/microblog
|
416ab22678f4533a0839b26a3c71111b267536e3
|
[
"MIT"
] | null | null | null |
app/visitor/__init__.py
|
xiaolongwu1987/microblog
|
416ab22678f4533a0839b26a3c71111b267536e3
|
[
"MIT"
] | null | null | null |
app/visitor/__init__.py
|
xiaolongwu1987/microblog
|
416ab22678f4533a0839b26a3c71111b267536e3
|
[
"MIT"
] | null | null | null |
from flask import Blueprint
bp = Blueprint('visitor', __name__)
from app.visitor import routes
| 16.166667
| 35
| 0.783505
| 13
| 97
| 5.538462
| 0.692308
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.14433
| 97
| 5
| 36
| 19.4
| 0.86747
| 0
| 0
| 0
| 0
| 0
| 0.072165
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0.666667
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 1
|
0
| 5
|
0b61c786c4e6ac75023b2598d42b7e0898aae2dc
| 296
|
py
|
Python
|
ex031 - custo da viagem.py
|
xing-wang-kai/Exercicios_curso_video_Gustavo_guanabara
|
c28fb114dc71ef7e4b1684d78a5140fa8dc982a3
|
[
"MIT"
] | null | null | null |
ex031 - custo da viagem.py
|
xing-wang-kai/Exercicios_curso_video_Gustavo_guanabara
|
c28fb114dc71ef7e4b1684d78a5140fa8dc982a3
|
[
"MIT"
] | null | null | null |
ex031 - custo da viagem.py
|
xing-wang-kai/Exercicios_curso_video_Gustavo_guanabara
|
c28fb114dc71ef7e4b1684d78a5140fa8dc982a3
|
[
"MIT"
] | null | null | null |
viagem = float(input("digite a distancia de sua viagem em km"))
if viagem >= 200:
print("Sua viagem será de {}KM o valor de sua viagem será de R${:.2f}".format(viagem, viagem*0.45))
else:
print("sua viagem será de {}km o valor de sua viagem será de R${:.2f}".format(viagem, viagem*0.50))
| 49.333333
| 103
| 0.675676
| 55
| 296
| 3.636364
| 0.418182
| 0.225
| 0.26
| 0.3
| 0.67
| 0.67
| 0.67
| 0.67
| 0.67
| 0.67
| 0
| 0.044898
| 0.172297
| 296
| 6
| 104
| 49.333333
| 0.771429
| 0
| 0
| 0
| 0
| 0
| 0.545455
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.4
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
0b75f735c16d6a3c2f95ececdca4246c2aee8c4c
| 109
|
py
|
Python
|
dashboard/admin.py
|
JohnRoach/beat-desk
|
743e00bed954dbaada3c6e664386c23bc3c35393
|
[
"MIT"
] | 1
|
2015-12-30T22:03:42.000Z
|
2015-12-30T22:03:42.000Z
|
dashboard/admin.py
|
JohnRoach/beat-desk
|
743e00bed954dbaada3c6e664386c23bc3c35393
|
[
"MIT"
] | null | null | null |
dashboard/admin.py
|
JohnRoach/beat-desk
|
743e00bed954dbaada3c6e664386c23bc3c35393
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import ConfigurationKey
admin.site.register(ConfigurationKey)
| 21.8
| 37
| 0.853211
| 13
| 109
| 7.153846
| 0.692308
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.091743
| 109
| 4
| 38
| 27.25
| 0.939394
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
0b818440aaebeec493c89c3162fb48651a114ca6
| 1,937
|
py
|
Python
|
sdk/python/pulumi_azure_native/synapse/v20210301/__init__.py
|
sebtelko/pulumi-azure-native
|
711ec021b5c73da05611c56c8a35adb0ce3244e4
|
[
"Apache-2.0"
] | null | null | null |
sdk/python/pulumi_azure_native/synapse/v20210301/__init__.py
|
sebtelko/pulumi-azure-native
|
711ec021b5c73da05611c56c8a35adb0ce3244e4
|
[
"Apache-2.0"
] | null | null | null |
sdk/python/pulumi_azure_native/synapse/v20210301/__init__.py
|
sebtelko/pulumi-azure-native
|
711ec021b5c73da05611c56c8a35adb0ce3244e4
|
[
"Apache-2.0"
] | null | null | null |
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from ... import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .big_data_pool import *
from .get_big_data_pool import *
from .get_integration_runtime import *
from .get_integration_runtime_connection_info import *
from .get_integration_runtime_object_metadatum import *
from .get_integration_runtime_status import *
from .get_ip_firewall_rule import *
from .get_key import *
from .get_private_endpoint_connection import *
from .get_private_link_hub import *
from .get_sql_pool import *
from .get_sql_pool_sensitivity_label import *
from .get_sql_pool_transparent_data_encryption import *
from .get_sql_pool_vulnerability_assessment import *
from .get_sql_pool_vulnerability_assessment_rule_baseline import *
from .get_sql_pool_workload_classifier import *
from .get_sql_pool_workload_group import *
from .get_workspace import *
from .get_workspace_aad_admin import *
from .get_workspace_managed_sql_server_vulnerability_assessment import *
from .get_workspace_sql_aad_admin import *
from .integration_runtime import *
from .ip_firewall_rule import *
from .key import *
from .list_integration_runtime_auth_key import *
from .private_endpoint_connection import *
from .private_link_hub import *
from .sql_pool import *
from .sql_pool_sensitivity_label import *
from .sql_pool_transparent_data_encryption import *
from .sql_pool_vulnerability_assessment import *
from .sql_pool_vulnerability_assessment_rule_baseline import *
from .sql_pool_workload_classifier import *
from .sql_pool_workload_group import *
from .workspace import *
from .workspace_aad_admin import *
from .workspace_managed_sql_server_vulnerability_assessment import *
from .workspace_sql_aad_admin import *
from ._inputs import *
from . import outputs
| 39.530612
| 80
| 0.835829
| 277
| 1,937
| 5.422383
| 0.270758
| 0.266312
| 0.173103
| 0.074567
| 0.705726
| 0.466045
| 0.233023
| 0.146471
| 0
| 0
| 0
| 0.000579
| 0.108415
| 1,937
| 48
| 81
| 40.354167
| 0.869137
| 0.104801
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
0b994c8811d5d37607d807a00dd0eb952d7b72bf
| 156
|
py
|
Python
|
CodeWars/Python/6 kyu/Replace With Alphabet Position/main.py
|
opastushkov/codewars-solutions
|
0132a24259a4e87f926048318332dcb4d94858ca
|
[
"MIT"
] | null | null | null |
CodeWars/Python/6 kyu/Replace With Alphabet Position/main.py
|
opastushkov/codewars-solutions
|
0132a24259a4e87f926048318332dcb4d94858ca
|
[
"MIT"
] | null | null | null |
CodeWars/Python/6 kyu/Replace With Alphabet Position/main.py
|
opastushkov/codewars-solutions
|
0132a24259a4e87f926048318332dcb4d94858ca
|
[
"MIT"
] | null | null | null |
alphabet = 'abcdefghijklmnopqrstuvwxyz'
def alphabet_position(text):
return ' '.join([str(alphabet.index(x.lower()) + 1) for x in text if x.isalpha()])
| 39
| 86
| 0.711538
| 21
| 156
| 5.238095
| 0.761905
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.007353
| 0.128205
| 156
| 4
| 86
| 39
| 0.801471
| 0
| 0
| 0
| 0
| 0
| 0.171975
| 0.165605
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0.333333
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
0ba3e176a617071788344456807e217d828e4449
| 86
|
py
|
Python
|
opengraph/__init__.py
|
tripougnif/python-opengraph
|
e6917ad46c3c6d49a5f08b5b5aaac6c373399016
|
[
"MIT"
] | 4
|
2017-10-11T20:02:07.000Z
|
2022-01-01T16:12:07.000Z
|
opengraph/__init__.py
|
tripougnif/python-opengraph
|
e6917ad46c3c6d49a5f08b5b5aaac6c373399016
|
[
"MIT"
] | 1
|
2018-04-08T07:35:06.000Z
|
2018-04-08T07:35:06.000Z
|
opengraph/__init__.py
|
tripougnif/python-opengraph
|
e6917ad46c3c6d49a5f08b5b5aaac6c373399016
|
[
"MIT"
] | 2
|
2020-10-26T19:12:24.000Z
|
2021-10-31T15:57:24.000Z
|
from .__version__ import __version__ # NOQA
from .opengraph import OpenGraph # NOQA
| 28.666667
| 44
| 0.790698
| 10
| 86
| 6
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.162791
| 86
| 2
| 45
| 43
| 0.833333
| 0.104651
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
f0778fe9b249e725682e26771caa84689ad99c9f
| 39
|
py
|
Python
|
autoStartZoom.py
|
jonathanwelton/Teams-Presence
|
d8192cde33079f4bf199455e2db58c7f7e2bb13e
|
[
"MIT"
] | 5
|
2021-01-31T11:50:32.000Z
|
2022-01-07T15:34:27.000Z
|
autoStartZoom.py
|
jonathanwelton/Teams-Presence
|
d8192cde33079f4bf199455e2db58c7f7e2bb13e
|
[
"MIT"
] | null | null | null |
autoStartZoom.py
|
jonathanwelton/Teams-Presence
|
d8192cde33079f4bf199455e2db58c7f7e2bb13e
|
[
"MIT"
] | 1
|
2022-02-01T01:52:05.000Z
|
2022-02-01T01:52:05.000Z
|
import zoomPresence
zoomPresence.run()
| 13
| 19
| 0.846154
| 4
| 39
| 8.25
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.076923
| 39
| 2
| 20
| 19.5
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
f07f44b0185c6042da2e3e117e05f026b8d8d4eb
| 80
|
py
|
Python
|
wqe.py
|
hduliufan/work
|
951a69aad5de3387c26fabe417a939349def3df6
|
[
"Apache-2.0"
] | null | null | null |
wqe.py
|
hduliufan/work
|
951a69aad5de3387c26fabe417a939349def3df6
|
[
"Apache-2.0"
] | null | null | null |
wqe.py
|
hduliufan/work
|
951a69aad5de3387c26fabe417a939349def3df6
|
[
"Apache-2.0"
] | null | null | null |
import random
print (random.choice(["JGood", "is", "a", "handsome", "boy"],10))
| 26.666667
| 65
| 0.625
| 11
| 80
| 4.545455
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.027778
| 0.1
| 80
| 2
| 66
| 40
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0.2375
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0.5
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
|
0
| 5
|
b2b9f102abc5e97a7b66b72a0da772bce39df312
| 192
|
py
|
Python
|
powerline/segments/vim/plugin/__init__.py
|
elventear/powerline
|
cddfc364c1bf269f721dfdbd765cde2649a3410d
|
[
"MIT"
] | 11,435
|
2015-01-01T03:32:34.000Z
|
2022-03-31T20:39:05.000Z
|
powerline/segments/vim/plugin/__init__.py
|
elventear/powerline
|
cddfc364c1bf269f721dfdbd765cde2649a3410d
|
[
"MIT"
] | 879
|
2015-01-02T11:59:30.000Z
|
2022-03-24T09:52:17.000Z
|
powerline/segments/vim/plugin/__init__.py
|
elventear/powerline
|
cddfc364c1bf269f721dfdbd765cde2649a3410d
|
[
"MIT"
] | 1,044
|
2015-01-05T22:37:53.000Z
|
2022-03-17T19:43:16.000Z
|
# vim:fileencoding=utf-8:noet
from __future__ import (unicode_literals, division, absolute_import, print_function)
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
| 27.428571
| 84
| 0.828125
| 25
| 192
| 5.52
| 0.72
| 0.144928
| 0.202899
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.00578
| 0.098958
| 192
| 6
| 85
| 32
| 0.791908
| 0.140625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0.333333
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
b2bc65ef9c4167ca6ad8a8717599504648e0d77e
| 1,270
|
py
|
Python
|
sstcam_sandbox/d190918_alpha/spectra.py
|
watsonjj/CHECLabPySB
|
91330d3a6f510a392f635bd7f4abd2f77871322c
|
[
"BSD-3-Clause"
] | null | null | null |
sstcam_sandbox/d190918_alpha/spectra.py
|
watsonjj/CHECLabPySB
|
91330d3a6f510a392f635bd7f4abd2f77871322c
|
[
"BSD-3-Clause"
] | null | null | null |
sstcam_sandbox/d190918_alpha/spectra.py
|
watsonjj/CHECLabPySB
|
91330d3a6f510a392f635bd7f4abd2f77871322c
|
[
"BSD-3-Clause"
] | 1
|
2021-03-30T09:46:56.000Z
|
2021-03-30T09:46:56.000Z
|
import numpy as np
from astropy import units as u
@u.quantity_input
def norm_crab(e_min: u.TeV, e_max: u.TeV,
area: u.m**2, solid_angle: u.deg, mc_index, energies: u.TeV, n_simulated):
norm = 2.83e-14 / (u.GeV * u.cm**2 * u.s)
index = -2.62
weights = energies.to_value(u.TeV) ** (index - mc_index)
a = e_min.to_value('TeV')
b = e_max.to_value('TeV')
norm_ = norm.to(1 / (u.TeV * u.s * u.m**2)) * u.TeV
integral = norm_ * (b**(mc_index + 1) - a**(mc_index + 1)) / (mc_index + 1)
t_norm = (n_simulated / (integral * area)).to_value(u.s)
return weights, t_norm
@u.quantity_input
def norm_proton(e_min: u.TeV, e_max: u.TeV,
area: u.m**2, solid_angle: u.deg, mc_index, energies: u.TeV, n_simulated):
norm = 9.6e-9 / (u.GeV * u.cm ** 2 * u.s * u.sr)
index = -2.7
weights = energies.to_value(u.TeV) ** (index - mc_index)
a = e_min.to_value('TeV')
b = e_max.to_value('TeV')
norm_ = norm.to(1 / (u.TeV * u.s * u.m**2 * u.sr)) * u.TeV
angle = ((1 - np.cos(solid_angle.to_value('rad')))*2*np.pi*u.sr)
integral = norm_ * (b**(mc_index + 1) - a**(mc_index + 1)) / (mc_index + 1)
t_norm = (n_simulated / (integral * area * angle)).to_value(u.s)
return weights, t_norm
| 33.421053
| 90
| 0.583465
| 237
| 1,270
| 2.932489
| 0.21519
| 0.069065
| 0.069065
| 0.048921
| 0.811511
| 0.751079
| 0.751079
| 0.722302
| 0.644604
| 0.644604
| 0
| 0.029562
| 0.227559
| 1,270
| 37
| 91
| 34.324324
| 0.678899
| 0
| 0
| 0.518519
| 0
| 0
| 0.011811
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.074074
| false
| 0
| 0.074074
| 0
| 0.222222
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
b2cf305e97b29dfbb8dbbdf844a996e9a265ccc4
| 187
|
py
|
Python
|
python/zdl/error_logger/error_logger/net/sms_notification.py
|
wjiec/packages
|
4ccaf8f717265a1f8a9af533f9a998b935efb32a
|
[
"MIT"
] | null | null | null |
python/zdl/error_logger/error_logger/net/sms_notification.py
|
wjiec/packages
|
4ccaf8f717265a1f8a9af533f9a998b935efb32a
|
[
"MIT"
] | 1
|
2016-09-15T07:06:15.000Z
|
2016-09-15T07:06:15.000Z
|
python/zdl/error_logger/error_logger/net/sms_notification.py
|
wjiec/packages
|
4ccaf8f717265a1f8a9af533f9a998b935efb32a
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
#
# Copyright (C) 2017 DL
#
from error_logger.net import email_notification
from error_logger.utils import logger
def send_sms(config, to_list, contents):
pass
| 18.7
| 47
| 0.764706
| 29
| 187
| 4.758621
| 0.827586
| 0.130435
| 0.217391
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.025
| 0.144385
| 187
| 10
| 48
| 18.7
| 0.8375
| 0.224599
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0.25
| 0.5
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 1
| 0
| 0
| 0
|
0
| 5
|
b2e243937073847580bd3997021d10f68b24e9d2
| 43
|
py
|
Python
|
kespo/loggers/__init__.py
|
sergevkim/KeywordSpotting
|
57c71a66178ccc4bd98bd355f37601f4d7f059b9
|
[
"MIT"
] | 2
|
2020-12-12T16:32:27.000Z
|
2020-12-17T08:46:22.000Z
|
kespo/loggers/__init__.py
|
sergevkim/KeywordSpotting
|
57c71a66178ccc4bd98bd355f37601f4d7f059b9
|
[
"MIT"
] | 2
|
2020-10-16T07:46:33.000Z
|
2020-10-18T18:39:07.000Z
|
kespo/loggers/__init__.py
|
sergevkim/KeywordSpotting
|
57c71a66178ccc4bd98bd355f37601f4d7f059b9
|
[
"MIT"
] | null | null | null |
from .neptune_logger import NeptuneLogger
| 14.333333
| 41
| 0.860465
| 5
| 43
| 7.2
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.116279
| 43
| 2
| 42
| 21.5
| 0.947368
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
b2e247210e903eeb79b2a588b384f4326d59b3f2
| 17,753
|
py
|
Python
|
modules/pyxmpp2/test/stanzaprocessor.py
|
gthreepwood/yats
|
d66dfc61da8d775efcf3e84aff3295b61ce9c9b2
|
[
"MIT"
] | null | null | null |
modules/pyxmpp2/test/stanzaprocessor.py
|
gthreepwood/yats
|
d66dfc61da8d775efcf3e84aff3295b61ce9c9b2
|
[
"MIT"
] | null | null | null |
modules/pyxmpp2/test/stanzaprocessor.py
|
gthreepwood/yats
|
d66dfc61da8d775efcf3e84aff3295b61ce9c9b2
|
[
"MIT"
] | null | null | null |
#!/usr/bin/python
# -*- coding: UTF-8 -*-
# pylint: disable=C0111
import unittest
from pyxmpp2.etree import ElementTree
from pyxmpp2.iq import Iq
from pyxmpp2.message import Message
from pyxmpp2.presence import Presence
from pyxmpp2.stanzaprocessor import stanza_factory, StanzaProcessor
from pyxmpp2.interfaces import XMPPFeatureHandler
from pyxmpp2.interfaces import iq_get_stanza_handler
from pyxmpp2.interfaces import iq_set_stanza_handler
from pyxmpp2.interfaces import message_stanza_handler
from pyxmpp2.interfaces import presence_stanza_handler
from pyxmpp2.stanzapayload import XMLPayload
from pyxmpp2.jid import JID
from pyxmpp2.utils import xml_elements_equal
IQ1 = """
<iq xmlns="jabber:client" from='source@example.com/res'
to='dest@example.com' type='get' id='1'>
<payload xmlns="http://pyxmpp.jajcus.net/xmlns/test"><abc/></payload>
</iq>"""
IQ2 = """
<iq xmlns="jabber:client" to='source@example.com/res'
from='dest@example.com' type='result' id='1'>
<payload xmlns="http://pyxmpp.jajcus.net/xmlns/test"><abc/></payload>
</iq>"""
IQ3 = """
<iq xmlns="jabber:client" from='source@example.com/res'
to='dest@example.com' type='set' id='2'>
<payload xmlns="http://pyxmpp.jajcus.net/xmlns/test"><abc/></payload>
</iq>"""
IQ4 = """
<iq xmlns="jabber:client" to='source@example.com/res'
from='dest@example.com' type='result' id='2'>
</iq>"""
MESSAGE1 = """
<message xmlns="jabber:client" from='source@example.com/res'
to='dest@example.com' type='normal' id='1'>
<subject>Subject</subject>
<body>The body</body>
<thread>thread-id</thread>
<payload xmlns="http://pyxmpp.jajcus.net/xmlns/test"><abc/></payload>
</message>"""
MESSAGE2 = """<message xmlns="jabber:client"/>"""
MESSAGE3 = """<message xmlns="jabber:client" type='chat'>
<body>Chat!</body>
</message>"""
PRESENCE1 = """
<presence xmlns="jabber:client" from='source@example.com/res'
to='dest@example.com' id='1'>
<show>away</show>
<status>The Status</status>
<priority>10</priority>
<payload xmlns="http://pyxmpp.jajcus.net/xmlns/test"><abc/></payload>
</presence>"""
PRESENCE2 = """<presence xmlns="jabber:client"/>"""
PRESENCE3 = """<presence xmlns="jabber:client" from='source@example.com/res'
to='dest@example.com' type="subscribe" />"""
PRESENCE4 = """<presence xmlns="jabber:client" to='source@example.com/res'
from='dest@example.com' type="subscribed" />"""
ALL_STANZAS = (IQ1, IQ2, IQ3, IQ4, MESSAGE1, MESSAGE2, MESSAGE3,
PRESENCE1, PRESENCE2, PRESENCE3, PRESENCE4)
NON_IQ_STANZAS = (MESSAGE1, MESSAGE2, MESSAGE3,
PRESENCE1, PRESENCE2, PRESENCE3, PRESENCE4)
class TestStanzaFactory(unittest.TestCase):
def test_iq(self):
element = ElementTree.XML(IQ1)
stanza = stanza_factory(element)
self.assertTrue( isinstance(stanza, Iq) )
def test_message(self):
element = ElementTree.XML(MESSAGE1)
stanza = stanza_factory(element)
self.assertTrue( isinstance(stanza, Message) )
def test_presence(self):
element = ElementTree.XML(PRESENCE1)
stanza = stanza_factory(element)
self.assertTrue( isinstance(stanza, Presence) )
class TestStanzaProcessor(unittest.TestCase):
# pylint: disable=R0904
def setUp(self):
self.handlers_called = []
self.stanzas_sent = []
self.proc = StanzaProcessor()
self.proc.me = JID("dest@example.com/xx")
self.proc.peer = JID("source@example.com/yy")
self.proc.send = self.send
self.proc.initiator = True
def send(self, stanza):
self.stanzas_sent.append(stanza)
def process_stanzas(self, xml_elements):
for xml in xml_elements:
stanza = stanza_factory(ElementTree.XML(xml))
self.proc.process_stanza(stanza)
def ignore_iq_get(self, stanza):
self.handlers_called.append("ignore_iq_get")
self.assertIsInstance(stanza, Iq)
self.assertEqual(stanza.stanza_type, "get")
return True
def ignore_iq_set(self, stanza):
self.handlers_called.append("ignore_iq_set")
self.assertIsInstance(stanza, Iq)
self.assertEqual(stanza.stanza_type, "set")
return True
def reply_iq_get(self, stanza):
self.handlers_called.append("reply_iq_get")
self.assertIsInstance(stanza, Iq)
self.assertEqual(stanza.stanza_type, "get")
reply = stanza.make_result_response()
element = ElementTree.Element(
"{http://pyxmpp.jajcus.net/xmlns/test}payload")
ElementTree.SubElement(element,
"{http://pyxmpp.jajcus.net/xmlns/test}abc")
reply.set_payload(element)
return reply
def reply_iq_set(self, stanza):
self.handlers_called.append("reply_iq_set")
self.assertIsInstance(stanza, Iq)
self.assertEqual(stanza.stanza_type, "set")
reply = stanza.make_result_response()
return reply
def echo_message(self, stanza):
self.handlers_called.append("echo_message")
self.assertIsInstance(stanza, Message)
self.assertNotEqual(stanza.stanza_type, "error")
message = Message(to_jid = stanza.from_jid,
from_jid = stanza.to_jid,
stanza_type = stanza.stanza_type,
thread = stanza.thread,
subject = stanza.subject,
body = stanza.body)
return message
def eat1(self, stanza):
# pylint: disable=W0613
self.handlers_called.append("eat1")
return True
def eat2(self, stanza):
# pylint: disable=W0613
self.handlers_called.append("eat2")
return True
def pass1(self, stanza):
# pylint: disable=W0613
self.handlers_called.append("pass1")
def pass2(self, stanza):
# pylint: disable=W0613
self.handlers_called.append("pass2")
def test_iq_ignore_handlers(self):
parent = self
class Handlers(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@iq_get_stanza_handler(XMLPayload,
"{http://pyxmpp.jajcus.net/xmlns/test}payload")
def handler1(self, stanza):
return parent.ignore_iq_get(stanza)
@iq_set_stanza_handler(XMLPayload,
"{http://pyxmpp.jajcus.net/xmlns/test}payload")
def handler2(self, stanza):
return parent.ignore_iq_set(stanza)
self.proc.setup_stanza_handlers([Handlers()], "post-auth")
self.process_stanzas(ALL_STANZAS)
self.assertEqual(self.handlers_called, ["ignore_iq_get",
"ignore_iq_set"])
self.assertFalse(self.stanzas_sent)
def test_iq_reply_handlers(self):
parent = self
class Handlers(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@iq_get_stanza_handler(XMLPayload,
"{http://pyxmpp.jajcus.net/xmlns/test}payload")
def handler1(self, stanza):
return parent.reply_iq_get(stanza)
@iq_set_stanza_handler(XMLPayload,
"{http://pyxmpp.jajcus.net/xmlns/test}payload")
def handler2(self, stanza):
return parent.reply_iq_set(stanza)
self.proc.setup_stanza_handlers([Handlers()], "post-auth")
self.process_stanzas(ALL_STANZAS)
self.assertEqual(self.handlers_called, ["reply_iq_get",
"reply_iq_set"])
self.assertEqual(len(self.stanzas_sent), 2)
stanza1 = self.stanzas_sent[0]
self.assertTrue(xml_elements_equal(stanza1.as_xml(),
ElementTree.XML(IQ2), True))
stanza2 = self.stanzas_sent[1]
self.assertTrue(xml_elements_equal(stanza2.as_xml(),
ElementTree.XML(IQ4), True))
def test_no_handlers(self):
self.process_stanzas(ALL_STANZAS)
self.assertEqual(self.handlers_called, [])
self.assertFalse(self.handlers_called)
self.assertEqual(len(self.stanzas_sent), 2)
stanza1 = self.stanzas_sent[0]
self.assertIsInstance(stanza1, Iq)
self.assertEqual(stanza1.stanza_type, u"error")
self.assertEqual(stanza1.error.condition_name, u"service-unavailable")
self.assertEqual(stanza1.stanza_id, u"1")
self.assertEqual(stanza1.to_jid, JID(u"source@example.com/res"))
stanza2 = self.stanzas_sent[1]
self.assertIsInstance(stanza2, Iq)
self.assertEqual(stanza2.stanza_type, u"error")
self.assertEqual(stanza2.error.condition_name, u"service-unavailable")
self.assertEqual(stanza2.stanza_id, u"2")
self.assertEqual(stanza2.to_jid, JID(u"source@example.com/res"))
def test_message_handler(self):
parent = self
class Handlers(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@message_stanza_handler()
def handler1(self, stanza):
return parent.echo_message(stanza)
self.proc.setup_stanza_handlers([Handlers()], "post-auth")
self.process_stanzas(NON_IQ_STANZAS)
self.assertEqual(self.handlers_called, ["echo_message", "echo_message",
"echo_message"])
self.assertEqual(len(self.stanzas_sent), 3)
stanza1 = self.stanzas_sent[0]
self.assertIsInstance(stanza1, Message)
self.assertEqual(stanza1.stanza_type, u"normal")
stanza2 = self.stanzas_sent[1]
self.assertIsInstance(stanza2, Message)
self.assertEqual(stanza2.stanza_type, None)
stanza2 = self.stanzas_sent[2]
self.assertIsInstance(stanza2, Message)
self.assertEqual(stanza2.stanza_type, u"chat")
def test_message_pass1_pass2(self):
parent = self
class Handlers1(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@message_stanza_handler()
def handler1(self, stanza):
return parent.pass1(stanza)
class Handlers2(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@message_stanza_handler()
def handler1(self, stanza):
return parent.pass2(stanza)
self.proc.setup_stanza_handlers([Handlers1(), Handlers2()], "post-auth")
self.process_stanzas(NON_IQ_STANZAS)
self.assertEqual(self.handlers_called, ["pass1", "pass2",
"pass1", "pass2", "pass1", "pass2"])
self.assertEqual(len(self.stanzas_sent), 0)
def test_message_pass2_pass1(self):
parent = self
class Handlers1(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@message_stanza_handler()
def handler1(self, stanza):
return parent.pass1(stanza)
class Handlers2(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@message_stanza_handler()
def handler1(self, stanza):
return parent.pass2(stanza)
self.proc.setup_stanza_handlers([Handlers2(), Handlers1()], "post-auth")
self.process_stanzas(NON_IQ_STANZAS)
self.assertEqual(self.handlers_called, ["pass2", "pass1",
"pass2", "pass1", "pass2", "pass1"])
self.assertEqual(len(self.stanzas_sent), 0)
def test_message_eat1_eat2(self):
parent = self
class Handlers1(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@message_stanza_handler()
def handler1(self, stanza):
return parent.eat1(stanza)
class Handlers2(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@message_stanza_handler()
def handler1(self, stanza):
return parent.eat2(stanza)
self.proc.setup_stanza_handlers([Handlers1(), Handlers2()], "post-auth")
self.process_stanzas(NON_IQ_STANZAS)
self.assertEqual(self.handlers_called, ["eat1", "eat1", "eat1"])
self.assertEqual(len(self.stanzas_sent), 0)
def test_message_pass1_eat2(self):
parent = self
class Handlers1(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@message_stanza_handler()
def handler1(self, stanza):
return parent.pass1(stanza)
class Handlers2(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@message_stanza_handler()
def handler1(self, stanza):
return parent.eat2(stanza)
self.proc.setup_stanza_handlers([Handlers1(), Handlers2()], "post-auth")
self.process_stanzas(NON_IQ_STANZAS)
self.assertEqual(self.handlers_called, ["pass1", "eat2",
"pass1", "eat2", "pass1", "eat2"])
self.assertEqual(len(self.stanzas_sent), 0)
def test_message_chat_handler(self):
parent = self
class Handlers(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@message_stanza_handler("chat")
def handler1(self, stanza):
return parent.pass1(stanza)
self.proc.setup_stanza_handlers([Handlers()], "post-auth")
self.process_stanzas(NON_IQ_STANZAS)
self.assertEqual(self.handlers_called, ["pass1"])
self.assertEqual(len(self.stanzas_sent), 0)
def test_presence_pass1_pass2(self):
parent = self
class Handlers1(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@presence_stanza_handler()
def handler1(self, stanza):
return parent.pass1(stanza)
class Handlers2(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@presence_stanza_handler()
def handler1(self, stanza):
return parent.pass2(stanza)
self.proc.setup_stanza_handlers([Handlers1(), Handlers2()], "post-auth")
self.process_stanzas(NON_IQ_STANZAS)
self.assertEqual(self.handlers_called, ["pass1", "pass2",
"pass1", "pass2"])
self.assertEqual(len(self.stanzas_sent), 0)
def test_presence_pass2_pass1(self):
parent = self
class Handlers1(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@presence_stanza_handler()
def handler1(self, stanza):
return parent.pass1(stanza)
class Handlers2(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@presence_stanza_handler()
def handler1(self, stanza):
return parent.pass2(stanza)
self.proc.setup_stanza_handlers([Handlers2(), Handlers1()], "post-auth")
self.process_stanzas(NON_IQ_STANZAS)
self.assertEqual(self.handlers_called, ["pass2", "pass1",
"pass2", "pass1"])
self.assertEqual(len(self.stanzas_sent), 0)
def test_presence_eat1_eat2(self):
parent = self
class Handlers1(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@presence_stanza_handler()
def handler1(self, stanza):
return parent.eat1(stanza)
class Handlers2(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@presence_stanza_handler()
def handler1(self, stanza):
return parent.eat2(stanza)
self.proc.setup_stanza_handlers([Handlers1(), Handlers2()], "post-auth")
self.process_stanzas(NON_IQ_STANZAS)
self.assertEqual(self.handlers_called, ["eat1", "eat1"])
self.assertEqual(len(self.stanzas_sent), 0)
def test_presence_pass1_eat2(self):
parent = self
class Handlers1(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@presence_stanza_handler()
def handler1(self, stanza):
return parent.pass1(stanza)
class Handlers2(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@presence_stanza_handler()
def handler1(self, stanza):
return parent.eat2(stanza)
self.proc.setup_stanza_handlers([Handlers1(), Handlers2()], "post-auth")
self.process_stanzas(NON_IQ_STANZAS)
self.assertEqual(self.handlers_called, ["pass1", "eat2",
"pass1", "eat2"])
self.assertEqual(len(self.stanzas_sent), 0)
def test_presence_subscribe_handler(self):
parent = self
class Handlers(XMPPFeatureHandler):
# pylint: disable=W0232,R0201,R0903
@presence_stanza_handler("subscribe")
def handler1(self, stanza):
return parent.pass1(stanza)
self.proc.setup_stanza_handlers([Handlers()], "post-auth")
self.process_stanzas(NON_IQ_STANZAS)
self.assertEqual(self.handlers_called, ["pass1"])
self.assertEqual(len(self.stanzas_sent), 0)
# pylint: disable=W0611
from pyxmpp2.test._support import load_tests, setup_logging
def setUpModule():
setup_logging()
if __name__ == "__main__":
unittest.main()
| 41.190255
| 80
| 0.615671
| 1,897
| 17,753
| 5.596732
| 0.081708
| 0.059339
| 0.042385
| 0.047659
| 0.774795
| 0.761515
| 0.7261
| 0.707262
| 0.645851
| 0.611849
| 0
| 0.039923
| 0.269138
| 17,753
| 430
| 81
| 41.286047
| 0.778343
| 0.051034
| 0
| 0.539326
| 0
| 0
| 0.1574
| 0.046084
| 0
| 0
| 0
| 0
| 0.168539
| 1
| 0.148876
| false
| 0.101124
| 0.042135
| 0.064607
| 0.339888
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
b2eaa472d7412f1040b7a1c428c3259e6c557c42
| 9,100
|
py
|
Python
|
processor/simple_supply_tp/handler.py
|
celio-jpeg/bev
|
2a7473a93885ac91d2aa32048dd760d5976934b8
|
[
"Apache-2.0"
] | 1
|
2020-10-27T15:28:40.000Z
|
2020-10-27T15:28:40.000Z
|
processor/simple_supply_tp/handler.py
|
celio-jpeg/bev
|
2a7473a93885ac91d2aa32048dd760d5976934b8
|
[
"Apache-2.0"
] | null | null | null |
processor/simple_supply_tp/handler.py
|
celio-jpeg/bev
|
2a7473a93885ac91d2aa32048dd760d5976934b8
|
[
"Apache-2.0"
] | null | null | null |
import datetime
import time
from sawtooth_sdk.processor.handler import TransactionHandler
from sawtooth_sdk.processor.exceptions import InvalidTransaction
from simple_supply_addressing import addresser
from simple_supply_protobuf import payload_pb2
from simple_supply_tp.payload import BevPayload
from simple_supply_tp.state import SimpleSupplyState
SYNC_TOLERANCE = 60 * 5
MAX_LAT = 90 * 1e6
MIN_LAT = -90 * 1e6
MAX_LNG = 180 * 1e6
MIN_LNG = -180 * 1e6
class SimpleSupplyHandler(TransactionHandler):
@property
def family_name(self):
return addresser.FAMILY_NAME
@property
def family_versions(self):
return [addresser.FAMILY_VERSION]
@property
def namespaces(self):
return [addresser.NAMESPACE]
def apply(self, transaction, context):
header = transaction.header
payload = BevPayload(transaction.payload)
state = SimpleSupplyState(context)
_validate_timestamp(payload.timestamp)
if payload.action == payload_pb2.BevPayload.CREATE_ELECTION:
_create_election(
state=state,
public_key=header.signer_public_key,
payload=payload)
elif payload.action == payload_pb2.BevPayload.CREATE_VOTING_OPTION:
_create_voting_option(
state=state,
public_key=header.signer_public_key,
payload=payload)
elif payload.action == payload_pb2.BevPayload.CREATE_POLL_REGISTRATION:
_create_poll_registration(
state=state,
public_key=header.signer_public_key,
payload=payload)
elif payload.action == payload_pb2.BevPayload.CREATE_VOTER:
_create_voter(
state=state,
public_key=header.signer_public_key,
payload=payload)
elif payload.action == payload_pb2.BevPayload.CREATE_VOTE:
_create_vote(
state=state,
public_key=header.signer_public_key,
payload=payload)
elif payload.action == payload_pb2.BevPayload.UPDATE_VOTE:
_update_vote(
state=state,
public_key=header.signer_public_key,
payload=payload)
elif payload.action == payload_pb2.BevPayload.UPDATE_ELECTION:
_update_election(
state=state,
public_key=header.signer_public_key,
payload=payload)
elif payload.action == payload_pb2.BevPayload.UPDATE_VOTER:
_update_voter(
state=state,
public_key=header.signer_public_key,
payload=payload)
elif payload.action == payload_pb2.BevPayload.UPDATE_VOTING_OPTION:
_update_voting_option(
state=state,
public_key=header.signer_public_key,
payload=payload)
elif payload.action == payload_pb2.BevPayload.UPDATE_POLL_REGISTRATION:
_update_poll_registration(
state=state,
public_key=header.signer_public_key,
payload=payload)
else:
raise InvalidTransaction('Unhandled action')
def _create_election(state, public_key, payload):
if state.get_voter(public_key) is None:
raise InvalidTransaction('Voter with the public key {} does '
'not exist'.format(public_key))
state.set_election(
election_id=payload.data.election_id,
name=payload.data.name,
description=payload.data.description,
start_timestamp=payload.data.start_timestamp,
end_timestamp=payload.data.end_timestamp,
results_permission=payload.data.results_permission,
can_change_vote=payload.data.can_change_vote,
can_show_realtime=payload.data.can_show_realtime,
admin_id=payload.data.admin_id,
status=payload.data.status,
timestamp=payload.timestamp
)
def _create_voting_option(state, public_key, payload):
if state.get_voter(public_key) is None:
raise InvalidTransaction('Agent with the public key {} does '
'not exist'.format(public_key))
state.set_voting_option(
voting_option_id=payload.data.voting_option_id,
name=payload.data.name,
description=payload.data.description,
election_id=payload.data.election_id,
status=payload.data.status
)
def _create_poll_registration(state, public_key, payload):
if state.get_voter(public_key) is None:
raise InvalidTransaction('Agent with the public key {} does '
'not exist'.format(public_key))
state.set_poll_registration(
voter_id=payload.data.voter_id,
name=payload.data.name,
election_id=payload.data.election_id,
status=payload.data.status
)
def _create_voter(state, public_key, payload):
if state.get_voter(public_key):
raise InvalidTransaction('Voter with the public key {} already '
'exists'.format(public_key))
state.set_voter(
voter_id=payload.data.voter_id,
public_key=payload.data.public_key,
name=payload.data.name,
created_at=payload.data.created_at,
type=payload.data.type)
def _update_voter(state, public_key, payload):
if state.get_voter(public_key) is None:
raise InvalidTransaction('Voter with the public key {} does '
'not exists'.format(public_key))
state.update_voter(
voter_id=payload.data.voter_id,
public_key=payload.data.public_key,
name=payload.data.name,
created_at=payload.data.created_at,
type=payload.data.type)
def _create_vote(state, public_key, payload):
if state.get_voter(public_key) is None:
raise InvalidTransaction('Voter with the public key {} does '
'not exist'.format(public_key))
state.set_vote(
vote_id=payload.data.vote_id,
timestamp=payload.data.timestamp,
voter_id=payload.data.voter_id,
election_id=payload.data.election_id,
voting_option_id=payload.data.voting_option_id
)
def _update_vote(state, public_key, payload):
if state.get_voter(public_key) is None:
raise InvalidTransaction('Voter with the public key {} does '
'not exist'.format(public_key))
state.update_vote(
vote_id=payload.data.vote_id,
timestamp=payload.data.timestamp,
voting_option_id=payload.data.voting_option_id
)
def _update_election(state, public_key, payload):
if state.get_voter(public_key) is None:
raise InvalidTransaction('Voter with the public key {} does '
'not exist'.format(public_key))
state.update_election(
election_id=payload.data.election_id,
name=payload.data.name,
description=payload.data.description,
start_timestamp=payload.data.start_timestamp,
end_timestamp=payload.data.end_timestamp,
results_permission=payload.data.results_permission,
can_change_vote=payload.data.can_change_vote,
can_show_realtime=payload.data.can_show_realtime,
admin_id=payload.data.admin_id,
status=payload.data.status,
timestamp=payload.timestamp
)
def _update_voting_option(state, public_key, payload):
if state.get_voter(public_key) is None:
raise InvalidTransaction('Voter with the public key {} does '
'not exist'.format(public_key))
state.update_voting_option(
voting_option_id=payload.data.voting_option_id,
name=payload.data.name,
description=payload.data.description,
election_id=payload.data.election_id,
status=payload.data.status
)
def _update_poll_registration(state, public_key, payload):
if state.get_voter(public_key) is None:
raise InvalidTransaction('Voter with the public key {} does '
'not exist'.format(public_key))
state.update_poll_registration(
voter_id=payload.data.voter_id,
name=payload.data.name,
election_id=payload.data.election_id,
status=payload.data.status
)
def _validate_timestamp(timestamp):
"""Validates that the client submitted timestamp for a transaction is not
greater than current time, within a tolerance defined by SYNC_TOLERANCE
NOTE: Timestamp validation can be challenging since the machines that are
submitting and validating transactions may have different system times
"""
dts = datetime.datetime.utcnow()
current_time = round(time.mktime(dts.timetuple()) + dts.microsecond / 1e6)
if (timestamp - current_time) > SYNC_TOLERANCE:
raise InvalidTransaction(
'Timestamp must be less than local time.'
' Expected {0} in ({1}-{2}, {1}+{2})'.format(
timestamp, current_time, SYNC_TOLERANCE))
| 35.826772
| 79
| 0.657692
| 1,042
| 9,100
| 5.484645
| 0.134357
| 0.100787
| 0.061592
| 0.040245
| 0.758005
| 0.735783
| 0.71916
| 0.711461
| 0.711461
| 0.711461
| 0
| 0.005824
| 0.264066
| 9,100
| 253
| 80
| 35.968379
| 0.847544
| 0.031648
| 0
| 0.573529
| 0
| 0
| 0.059279
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.073529
| false
| 0
| 0.039216
| 0.014706
| 0.132353
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
65374a716baa2c4fd6411f8939c9582a3ac0c468
| 68
|
py
|
Python
|
Imports-in-Python-master/Factory/Workers/Managers/hiringManagers.py
|
brandonjbryant/data-science-notes
|
75b7cd4256fc587f66ad95fcd744d3536d13c824
|
[
"Apache-2.0"
] | null | null | null |
Imports-in-Python-master/Factory/Workers/Managers/hiringManagers.py
|
brandonjbryant/data-science-notes
|
75b7cd4256fc587f66ad95fcd744d3536d13c824
|
[
"Apache-2.0"
] | null | null | null |
Imports-in-Python-master/Factory/Workers/Managers/hiringManagers.py
|
brandonjbryant/data-science-notes
|
75b7cd4256fc587f66ad95fcd744d3536d13c824
|
[
"Apache-2.0"
] | null | null | null |
def hiringManagersFun():
print('Hello from Hiring Managers Module')
| 34
| 43
| 0.794118
| 8
| 68
| 6.75
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.102941
| 68
| 2
| 43
| 34
| 0.885246
| 0
| 0
| 0
| 0
| 0
| 0.478261
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| true
| 0
| 0
| 0
| 0.5
| 0.5
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
3317de9d8e976a5227f21b70af1f572d6cbdd1c5
| 91
|
py
|
Python
|
test2.py
|
BinHan-Code/pyneta
|
95805b799c32190c9c2474df367baaeed89bdea7
|
[
"Apache-2.0"
] | null | null | null |
test2.py
|
BinHan-Code/pyneta
|
95805b799c32190c9c2474df367baaeed89bdea7
|
[
"Apache-2.0"
] | null | null | null |
test2.py
|
BinHan-Code/pyneta
|
95805b799c32190c9c2474df367baaeed89bdea7
|
[
"Apache-2.0"
] | null | null | null |
print ("This is Han")
print ("This is Bin")
for x in range(10):
print (x)
print (x)
| 10.111111
| 21
| 0.582418
| 17
| 91
| 3.117647
| 0.588235
| 0.339623
| 0.415094
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.029412
| 0.252747
| 91
| 8
| 22
| 11.375
| 0.75
| 0
| 0
| 0.4
| 0
| 0
| 0.241758
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.8
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
332beba3b064afc6549904698345fee4b9793acc
| 85
|
py
|
Python
|
evaluation/img2text.py
|
yxonic/attention
|
90083d64cbd7974d2a87293e64274e26ca0c4db5
|
[
"MIT"
] | null | null | null |
evaluation/img2text.py
|
yxonic/attention
|
90083d64cbd7974d2a87293e64274e26ca0c4db5
|
[
"MIT"
] | null | null | null |
evaluation/img2text.py
|
yxonic/attention
|
90083d64cbd7974d2a87293e64274e26ca0c4db5
|
[
"MIT"
] | 1
|
2019-06-01T19:46:42.000Z
|
2019-06-01T19:46:42.000Z
|
import fret
import logging
@fret.command
def run():
logging.warning('nothing')
| 10.625
| 30
| 0.717647
| 11
| 85
| 5.545455
| 0.727273
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.164706
| 85
| 7
| 31
| 12.142857
| 0.859155
| 0
| 0
| 0
| 0
| 0
| 0.082353
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| true
| 0
| 0.4
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
335b2f934cf1367ac913d899fd0be473f43b4c66
| 19,081
|
py
|
Python
|
gpvolve/pyplot/visualization.py
|
clararehmann/gpvolve
|
4e45b53b72184425c24d57b2e8779d3d51de39d7
|
[
"MIT"
] | 1
|
2021-12-05T23:00:59.000Z
|
2021-12-05T23:00:59.000Z
|
gpvolve/pyplot/visualization.py
|
clararehmann/gpvolve
|
4e45b53b72184425c24d57b2e8779d3d51de39d7
|
[
"MIT"
] | null | null | null |
gpvolve/pyplot/visualization.py
|
clararehmann/gpvolve
|
4e45b53b72184425c24d57b2e8779d3d51de39d7
|
[
"MIT"
] | null | null | null |
import matplotlib as mpl
from gpgraph import flattened
from gpgraph.draw import *
from gpgraph.pyplot import truncate_colormap
from matplotlib import colors
from numpy import inf
from scipy import sparse
from ..utils import *
def plot_timescales(timescales, figsize=None, n=None, color='orange'):
"""Simple bar plot of a sequence of values"""
fig, ax = plt.subplots(figsize=figsize)
ax.bar([i for i in range(0, len(timescales[:n]))], timescales[:n], color=color)
ax.set_title("Timescales")
return fig, ax
def plot_eigenvalues(eigenvalues, figsize=None, n=None, color='orange'):
"""Simple bar plot of a sequence of values"""
fig, ax = plt.subplots(figsize=figsize)
ax.bar([i for i in range(0, len(eigenvalues[:n]))], eigenvalues[:n], color=color)
ax.set_title("Eigenvalues")
return fig, ax
def plot_matrix(matrix, log=True, remove_diag=False, colorbar=True, figsize=(5, 5), ax=None, scale_x=True):
"""Plot the entries of a matrix
Parameters
----------
matrix : 2D numpy.ndarray.
A matrix with numerical entries.
log : bool (default=True).
log10 transform data to visualize low-valued matrix entries (recommended for transition matrices).
remove_diag : bool (default=False).
Remove diagonal if True. Helps with visualizing matrix where diagonal is very dominant.
colorbar : bool (default=True)
If True plot colorbar mapping values to color.
figsize : tuple of int (default=(12,10).
Size of matplotlib figure.
scale_x : bool (default=True)
If True, markers will be scaled to fill one xaxis unit, if False markers will be scaled to fill one yaxis unit.
Both at the same time is not possible.
Returns
-------
fig : matplotlib figure.
matplotlib figure of size 'figsize'.
ax : matplotlib axis.
matplotlib axis that contains the matrix visualization.
"""
T = matrix.copy()
if remove_diag:
np.fill_diagonal(T, val=0)
if log:
T = np.log10(T)
# Values that are too small will become -inf, we set them to the min. value of T
T[T == -inf] = 1
minv = np.min(T)
T[T == 1] = minv
# Normalize colors to min and max of T.
norm = mpl.colors.Normalize(vmin=np.min(T), vmax=np.max(T))
# Some cmap
cmap = plt.cm.get_cmap("Greys")
# Get a color for each value.
tmp_color = [cmap(norm(val)) for val in list(T.flatten())]
# Get coordinates.
indices = np.indices(T.shape)
x = indices[1].flatten()
y = indices[0].flatten()
if ax is None:
fig, ax = plt.subplots(figsize=figsize)
else:
fig = ax.get_figure()
if colorbar:
# Get color map
cm = plt.cm.ScalarMappable(cmap=cmap, norm=norm)
cm.set_array([])
fig.colorbar(cm)
ax.set_xlim(-1, T.shape[1])
ax.set_ylim(-1, T.shape[0])
ax.invert_yaxis()
# Get number of pixels per axis unit and calculate scatter marker size that fills exactly one axis unit.
x_pix, y_pix = ax.transData.transform([1, 1]) - ax.transData.transform((0, 0))
if scale_x:
s = x_pix ** 2 # Diameter of a marker in pixels is equal to the square root of markersize s.
else:
s = y_pix ** 2
ax.scatter(x, y, c=tmp_color, cmap='Greys', s=s, marker='s')
return fig, ax
def plot_network(
network,
flux=None,
ax=None,
figsize=(15, 10),
nodelist=[],
attribute="phenotype",
vmin=None,
vmax=None,
cmap="YlOrRd",
cmap_truncate=False,
colorbar=False,
node_labels="genotype",
edge_scalar=15.0,
edge_labels=False,
edge_color='k',
style='solid',
edge_alpha=1.0,
arrows=False,
arrowstyle='-|>',
arrowsize=10,
node_size=3000,
node_color='r',
node_shape='o',
alpha=1.0,
linewidths=0,
edgecolors="black",
label=None,
**kwds):
"""Draw the GenotypePhenotypeGraph using Matplotlib.
Draw the graph with Matplotlib with options for node positions,
labeling, titles, and many other drawing features.
See draw() for simple drawing without labels or axes.
Parameters
----------
G : graph
A networkx graph
pos : dictionary, optional
A dictionary with nodes as keys and positions as values.
If not specified a spring layout positioning will be computed.
See :py:mod:`networkx.drawing.layout` for functions that
compute node positions.
arrows : bool, optional (default=False)
For directed graphs, if True draw arrowheads.
with_labels : bool, optional (default=True)
Set to True to draw labels on the nodes.
ax : Matplotlib Axes object, optional
Draw the graph in the specified Matplotlib axes.
nodelist : list, optional (default G.nodes())
Draw only specified nodes
attribute : string (default = "phenotypes")
node attribute that is used to set the color
edgelist : list, optional (default=G.edges())
Draw only specified edges
node_size : scalar or array, optional (default=300)
Size of nodes. If an array is specified it must be the
same length as nodelist.
node_color : color string, or array of floats, (default=phenotypes)
Node color. Can be a single color format string,
or a sequence of colors with the same length as nodelist.
If numeric values are specified they will be mapped to
colors using the cmap and vmin,vmax parameters. See
matplotlib.scatter for more details.
node_shape : string, optional (default='o')
The shape of the node. Specification is as matplotlib.scatter
marker, one of 'so^>v<dph8'.
alpha : float, optional (default=1.0)
The node and edge transparency
cmap : Matplotlib colormap, optional (default='plasmas')
Colormap for mapping intensities of nodes
vmin,vmax : float, optional (default=None)
Minimum and maximum for node colormap scaling
linewidths : [None | scalar | sequence]
Line width of symbol border (default =1.0)
width : float, optional (default=1.0)
Line width of edges
color_bar : False
If True, show colorbar for nodes.
edge_color : color string, or array of floats (default='gray')
Edge color. Can be a single color format string,
or a sequence of colors with the same length as edgelist.
If numeric values are specified they will be mapped to
colors using the edge_cmap and edge_vmin,edge_vmax parameters.
edge_cmap : Matplotlib colormap, optional (default=None)
Colormap for mapping intensities of edges
edge_vmin,edge_vmax : floats, optional (default=None)
Minimum and maximum for edge colormap scaling
style : string, optional (default='solid')
Edge line style (solid|dashed|dotted,dashdot)
labels : dictionary, optional (default='genotypes')
Node labels in a dictionary keyed by node of text labels
font_size : int, optional (default=12)
Font size for text labels
font_color : string, optional (default='k' black)
Font color string
font_weight : string, optional (default='normal')
Font weight
font_family : string, optional (default='sans-serif')
Font family
label : string, optional
Label for graph legend
Notes
-----
For directed graphs, "arrows" (actually just thicker stubs) are drawn
at the head end. Arrows can be turned off with keyword arrows=False.
Yes, it is ugly but drawing proper arrows with Matplotlib this
way is tricky.
"""
if ax is None:
fig, ax = plt.subplots(figsize=figsize)
else:
fig = ax.get_figure()
# Flattened position.
pos = flattened(network, vertical=True)
ax.spines['right'].set_visible(False)
ax.spines['left'].set_visible(False)
ax.spines['top'].set_visible(False)
ax.spines['bottom'].set_visible(False)
ax.set_xticks([])
ax.set_yticks([])
if flux is None:
# All edges
edgelist = network.edges()
width = 1
else:
# Get flux through edges
edgelist = flux.keys()
width = [edge_scalar * flx for flx in flux.values()]
if not nodelist:
nodelist = list(network.nodes().keys())
if vmax is None:
attributes = list(nx.get_node_attributes(network, name=attribute).values())
vmin = min(attributes)
vmax = max(attributes)
if cmap_truncate:
cmap = truncate_colormap(cmap, minval=0.05, maxval=0.95)
if node_labels:
labels = {n: network.nodes[n][node_labels] for n in nodelist}
else:
labels = None
# Default options
node_options = dict(
nodelist=nodelist,
vmin=vmin,
vmax=vmax,
node_shape=node_shape,
node_size=node_size,
node_color=node_color,#[network.nodes[n][attribute] for n in nodelist],
linewidths=linewidths,
edgecolors=edgecolors,
cmap=cmap,
#labels=labels,
#cmap_truncate=False,
)
# Draw edges
nx.draw_networkx_edges(
G=network,
pos=pos,
edgelist=edgelist,
width=width,
edge_color=edge_color,
ax=ax,
style=style,
alpha=edge_alpha,
arrows=arrows,
arrowstyle=arrowstyle,
arrowsize=arrowsize,
)
# Draw nodes.
nx.draw_networkx_nodes(
G=network,
pos=pos,
ax=ax,
**node_options
)
# Draw labels again manually because I can't find the bug that causes networkx to ignore labels.
if labels:
nx.draw_networkx_labels(network, pos=pos, labels=labels)
if flux is not None:
edge_flux = {edge: round(flux[edge], 2) for edge in edgelist}
# Draw edge labels
if edge_labels:
nx.draw_networkx_edge_labels(network, pos=pos, edge_labels=edge_flux,
label_pos=0.5, font_size=10, font_color='k',
font_family='sans-serif', font_weight='normal', alpha=1.0, bbox=None, ax=None,
rotate=True, **kwds)
# Add a colorbar?
if colorbar:
norm = colors.Normalize(
vmin=vmin,
vmax=vmax)
# create a ScalarMappable and initialize a data structure
cm = plt.cm.ScalarMappable(cmap=cmap, norm=norm)
cm.set_array([])
fig.colorbar(cm)
return fig, ax
def plot_clusters(
network,
clusters,
xaxis='forward_committor',
yaxis='fitness',
flux=None,
ax=None,
figsize=(15, 10),
nodelist=[],
cluster_scale=0.1,
attribute="phenotypes",
vmin=None,
vmax=None,
cmap="YlOrRd",
cmap_truncate=False,
colorbar=False,
node_labels="genotypes",
edge_scalar=15.0,
edge_color='k',
edge_labels=False,
style='solid',
edge_alpha=1.0,
arrows=False,
arrowstyle='-|>',
arrowsize=10,
node_size=3000,
node_color='r',
node_shape='o',
alpha=1.0,
linewidths=0,
edgecolors="black",
label=None,
**kwds):
"""Draw the GenotypePhenotypeGraph using Matplotlib.
Draw the graph with Matplotlib with options for node positions,
labeling, titles, and many other drawing features.
See draw() for simple drawing without labels or axes.
Parameters
----------
G : graph
A networkx graph
pos : dictionary, optional
A dictionary with nodes as keys and positions as values.
If not specified a spring layout positioning will be computed.
See :py:mod:`networkx.drawing.layout` for functions that
compute node positions.
arrows : bool, optional (default=False)
For directed graphs, if True draw arrowheads.
with_labels : bool, optional (default=True)
Set to True to draw labels on the nodes.
ax : Matplotlib Axes object, optional
Draw the graph in the specified Matplotlib axes.
nodelist : list, optional (default G.nodes())
Draw only specified nodes
attribute : string (default = "phenotypes")
node attribute that is used to set the color
edgelist : list, optional (default=G.edges())
Draw only specified edges
node_size : scalar or array, optional (default=300)
Size of nodes. If an array is specified it must be the
same length as nodelist.
node_color : color string, or array of floats, (default=phenotypes)
Node color. Can be a single color format string,
or a sequence of colors with the same length as nodelist.
If numeric values are specified they will be mapped to
colors using the cmap and vmin,vmax parameters. See
matplotlib.scatter for more details.
node_shape : string, optional (default='o')
The shape of the node. Specification is as matplotlib.scatter
marker, one of 'so^>v<dph8'.
alpha : float, optional (default=1.0)
The node and edge transparency
cmap : Matplotlib colormap, optional (default='plasmas')
Colormap for mapping intensities of nodes
vmin,vmax : float, optional (default=None)
Minimum and maximum for node colormap scaling
linewidths : [None | scalar | sequence]
Line width of symbol border (default =1.0)
width : float, optional (default=1.0)
Line width of edges
color_bar : False
If True, show colorbar for nodes.
edge_color : color string, or array of floats (default='gray')
Edge color. Can be a single color format string,
or a sequence of colors with the same length as edgelist.
If numeric values are specified they will be mapped to
colors using the edge_cmap and edge_vmin,edge_vmax parameters.
edge_cmap : Matplotlib colormap, optional (default=None)
Colormap for mapping intensities of edges
edge_vmin,edge_vmax : floats, optional (default=None)
Minimum and maximum for edge colormap scaling
style : string, optional (default='solid')
Edge line style (solid|dashed|dotted,dashdot)
labels : dictionary, optional (default='genotypes')
Node labels in a dictionary keyed by node of text labels
font_size : int, optional (default=12)
Font size for text labels
font_color : string, optional (default='k' black)
Font color string
font_weight : string, optional (default='normal')
Font weight
font_family : string, optional (default='sans-serif')
Font family
label : string, optional
Label for graph legend
Notes
-----
For directed graphs, "arrows" (actually just thicker stubs) are drawn
at the head end. Arrows can be turned off with keyword arrows=False.
Yes, it is ugly but drawing proper arrows with Matplotlib this
way is tricky.
"""
if ax is None:
fig, ax = plt.subplots(figsize=figsize)
else:
fig = ax.get_figure()
# Positions of circular clusters.
pos = cluster_positions(network, clusters, xaxis=xaxis, yaxis=yaxis, scale=cluster_scale)
ax.set_ylim(0.92, 1.05)
ax.spines['left'].set_visible(True)
ax.spines['bottom'].set_visible(True)
ax.autoscale(enable=True)
ax.set_xlabel("Forward Committor", size=15)
ax.set_ylabel("Fitness", size=15)
ax.axis("auto")
if flux is None:
# All edges
edgelist = network.edges()
width = edge_scalar * 1
else:
# Get flux through edges
peaks = cluster_peaks(network, clusters)
indices = np.nonzero(flux)
cluster_edges = list(zip(indices[0], indices[1]))
# translate the edges between cluster to edges between the peaks of each cluster.
edgelist = [(peaks[edge[0]], peaks[edge[1]]) for edge in cluster_edges] # Map cluster index to peak node index.
width = edge_scalar * flux[flux > 0]
if not nodelist:
nodelist = list(network.nodes().keys())
if vmax is None:
attributes = list(nx.get_node_attributes(network, name=attribute).values())
vmin = min(attributes)
vmax = max(attributes)
if cmap_truncate:
cmap = truncate_colormap(cmap, minval=0.05, maxval=0.95)
if node_labels:
labels = {n: network.nodes[n][node_labels] for n in nodelist}
else:
labels = None
# Default options
node_options = dict(
nodelist=nodelist,
vmin=vmin,
vmax=vmax,
node_shape=node_shape,
node_size=node_size,
node_color=[network.nodes[n][attribute] for n in nodelist],
linewidths=linewidths,
edgecolors=edgecolors,
cmap=cmap,
labels=labels,
cmap_truncate=False,
)
# Draw edges
nx.draw_networkx_edges(
G=network,
pos=pos,
edgelist=edgelist,
width=width,
edge_color=edge_color,
ax=ax,
style=style,
alpha=edge_alpha,
arrows=arrows,
arrowstyle=arrowstyle,
arrowsize=arrowsize,
)
# Draw nodes.
nx.draw_networkx_nodes(
G=network,
pos=pos,
ax=ax,
**node_options
)
# Draw labels again manually because I can't find the bug that causes networkx to ignore labels.
if labels:
nx.draw_networkx_labels(network, pos=pos, labels=labels)
if flux is not None:
rounded = np.round(flux, decimals=2)
edgeflux = sparse.dok_matrix(rounded)
# Draw edge labels
if edge_labels:
nx.draw_networkx_edge_labels(network, pos=pos, edge_labels=edgeflux,
label_pos=0.5, font_size=10, font_color='k',
font_family='sans-serif', font_weight='normal', alpha=1.0, bbox=None, ax=None,
rotate=True, **kwds)
# Add a colorbar?
if colorbar:
norm = colors.Normalize(
vmin=vmin,
vmax=vmax)
# create a ScalarMappable and initialize a data structure
cm = plt.cm.ScalarMappable(cmap=cmap, norm=norm)
cm.set_array([])
fig.colorbar(cm)
return fig, ax
# def plot_clusters(network, clusters, scale=1, figsize=(10,10)):
# print(clusters)
# pos = cluster_positions(network, clusters, scale=scale)
# print(pos)
#
# #fig, ax = plt.subplots(figsize=figsize)
# fig, ax = draw_flattened(network, pos=pos)
#
#
# ax.spines['left'].set_visible(True)
# ax.spines['bottom'].set_visible(True)
# ax.set_xticks([i for i in np.arange(0, 1.1, 0.1)])
# ax.set_yticks([i for i in np.arange(0, 1.1, 0.05)])
# ax.autoscale(enable=True)
# ax.set_xlabel("Forward Committor", size=15)
# ax.set_ylabel("Fitness", size=15)
#
# return fig, ax
| 30.5296
| 120
| 0.627797
| 2,511
| 19,081
| 4.698526
| 0.142971
| 0.04577
| 0.0178
| 0.008137
| 0.789625
| 0.771063
| 0.753772
| 0.749025
| 0.743431
| 0.743431
| 0
| 0.011131
| 0.279598
| 19,081
| 624
| 121
| 30.578526
| 0.847156
| 0.496672
| 0
| 0.6875
| 0
| 0
| 0.027012
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.018382
| false
| 0
| 0.029412
| 0
| 0.066176
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
68473758a29e98c03bb1de2c09123e4721dfe9b4
| 378
|
py
|
Python
|
lib/operator.py
|
sundy-li/grumpy
|
61bd06c7f51fcbb0668ea32dddb71fc41e3c612e
|
[
"Apache-2.0"
] | null | null | null |
lib/operator.py
|
sundy-li/grumpy
|
61bd06c7f51fcbb0668ea32dddb71fc41e3c612e
|
[
"Apache-2.0"
] | null | null | null |
lib/operator.py
|
sundy-li/grumpy
|
61bd06c7f51fcbb0668ea32dddb71fc41e3c612e
|
[
"Apache-2.0"
] | 1
|
2019-09-15T23:07:14.000Z
|
2019-09-15T23:07:14.000Z
|
def eq(a, b):
return a == b
def le(a, b):
return a <= b
def lt(a, b):
return a < b
def ge(a, b):
return a >= b
def gt(a, b):
return a > b
def itemgetter(*items):
if len(items) == 1:
item = items[0]
def g(obj):
return obj[item]
else:
def g(obj):
return tuple(obj[item] for item in items)
return g
def ne(a, b):
return a != b
| 11.117647
| 47
| 0.526455
| 72
| 378
| 2.763889
| 0.319444
| 0.120603
| 0.241206
| 0.271357
| 0.376884
| 0.326633
| 0
| 0
| 0
| 0
| 0
| 0.007752
| 0.31746
| 378
| 33
| 48
| 11.454545
| 0.763566
| 0
| 0
| 0.095238
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.428571
| false
| 0
| 0
| 0.380952
| 0.857143
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
68853d8d70159813eae61098994f2eab93433816
| 101
|
py
|
Python
|
cufacesearch/cufacesearch/common/__init__.py
|
BlockchainDARG/ColumbiaImageSearch
|
6b55331babded4a32dfce48d2087c1599a2b2cf5
|
[
"Apache-2.0"
] | 75
|
2015-10-06T20:06:00.000Z
|
2022-03-11T08:02:45.000Z
|
cufacesearch/cufacesearch/common/__init__.py
|
BlockchainDARG/ColumbiaImageSearch
|
6b55331babded4a32dfce48d2087c1599a2b2cf5
|
[
"Apache-2.0"
] | 2
|
2015-12-26T03:07:54.000Z
|
2018-06-29T07:58:54.000Z
|
cufacesearch/cufacesearch/common/__init__.py
|
ColumbiaDVMM/ColumbiaImageSearch
|
1326ee97ac1f032fdfbd5245c8356f59b254a9b5
|
[
"Apache-2.0"
] | 33
|
2015-12-15T10:07:30.000Z
|
2021-07-05T10:55:32.000Z
|
#update_prefix = "index_update"
update_prefix = "index_update_"
column_list_sha1s = "info:list_sha1s"
| 33.666667
| 37
| 0.811881
| 14
| 101
| 5.285714
| 0.5
| 0.324324
| 0.459459
| 0.621622
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.021505
| 0.079208
| 101
| 3
| 37
| 33.666667
| 0.774194
| 0.29703
| 0
| 0
| 0
| 0
| 0.394366
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
d7f629e383f68f55014eea995b0a9c7b91aaee85
| 51
|
py
|
Python
|
cryptofield/ffield/__init__.py
|
SergeyBel/cryptofield
|
4e76ff9637e5590dc2bca458023548e58370b9f5
|
[
"MIT"
] | null | null | null |
cryptofield/ffield/__init__.py
|
SergeyBel/cryptofield
|
4e76ff9637e5590dc2bca458023548e58370b9f5
|
[
"MIT"
] | 9
|
2020-09-07T19:05:19.000Z
|
2020-11-03T19:25:06.000Z
|
cryptofield/ffield/__init__.py
|
SergeyBel/cryptofield
|
4e76ff9637e5590dc2bca458023548e58370b9f5
|
[
"MIT"
] | null | null | null |
from .ffield import *
from .genericmatrix import *
| 17
| 28
| 0.764706
| 6
| 51
| 6.5
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.156863
| 51
| 2
| 29
| 25.5
| 0.906977
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
040c3d098810cb584454f0c203f5c4981a48c9fc
| 49
|
py
|
Python
|
simple_scheduler/__init__.py
|
hairbeartoe/ndscheduler
|
a5a6b1fc84ffa3d6765f3d63152198d4cffab4e9
|
[
"BSD-2-Clause"
] | 1,038
|
2015-12-22T20:20:48.000Z
|
2022-03-24T09:39:16.000Z
|
simple_scheduler/__init__.py
|
hairbeartoe/ndscheduler
|
a5a6b1fc84ffa3d6765f3d63152198d4cffab4e9
|
[
"BSD-2-Clause"
] | 76
|
2015-12-23T18:19:44.000Z
|
2021-12-27T10:59:41.000Z
|
simple_scheduler/__init__.py
|
hairbeartoe/ndscheduler
|
a5a6b1fc84ffa3d6765f3d63152198d4cffab4e9
|
[
"BSD-2-Clause"
] | 215
|
2015-12-24T06:16:54.000Z
|
2022-03-30T02:35:30.000Z
|
"""A reference implementation of a scheduler."""
| 24.5
| 48
| 0.734694
| 6
| 49
| 6
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.122449
| 49
| 1
| 49
| 49
| 0.837209
| 0.857143
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
0459159ab6cd79c84527b212b1ca74e841a93bf5
| 185
|
py
|
Python
|
code/main.py
|
michael-gene-brockus/python_pypi_program
|
35dc70e88cbc67ae5f19903154d6d8976b7efe35
|
[
"Apache-2.0"
] | null | null | null |
code/main.py
|
michael-gene-brockus/python_pypi_program
|
35dc70e88cbc67ae5f19903154d6d8976b7efe35
|
[
"Apache-2.0"
] | null | null | null |
code/main.py
|
michael-gene-brockus/python_pypi_program
|
35dc70e88cbc67ae5f19903154d6d8976b7efe35
|
[
"Apache-2.0"
] | null | null | null |
#!/usr/bin/env python3
#
# Troglobyte AppHub:
# author: Michael Gene Brockus
# Gmail: <mail: michaelbrockus@gmail.com>
#
from .program import greet
def main_prog():
print(greet())
| 16.818182
| 41
| 0.708108
| 24
| 185
| 5.416667
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006369
| 0.151351
| 185
| 10
| 42
| 18.5
| 0.821656
| 0.589189
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| true
| 0
| 0.333333
| 0
| 0.666667
| 0.333333
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
f0a8e7cc28b4bf551905aa9a4f21ac6e90b1c184
| 286
|
py
|
Python
|
BSoup/HTMLParse.py
|
josperdom1/AII
|
a138ba32dc0afabd86894c044a449d7c2c343780
|
[
"MIT"
] | null | null | null |
BSoup/HTMLParse.py
|
josperdom1/AII
|
a138ba32dc0afabd86894c044a449d7c2c343780
|
[
"MIT"
] | null | null | null |
BSoup/HTMLParse.py
|
josperdom1/AII
|
a138ba32dc0afabd86894c044a449d7c2c343780
|
[
"MIT"
] | null | null | null |
class MyHTMLParser(HTMLParser):
def handle_starttag(self, tag, attrs):
print("Encountered a start tag:", tag)
def handle_endtag(self, tag):
print("Encountered an end tag :", tag)
def handle_data(self, data):
print("Encountered some data :", data)
| 28.6
| 47
| 0.646853
| 36
| 286
| 5.055556
| 0.5
| 0.148352
| 0.098901
| 0.164835
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.234266
| 286
| 9
| 48
| 31.777778
| 0.83105
| 0
| 0
| 0
| 0
| 0
| 0.251748
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.428571
| false
| 0
| 0
| 0
| 0.571429
| 0.428571
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
|
0
| 5
|
f0baf80e5229a48f3f34639079af6a207b60e279
| 196
|
py
|
Python
|
test/fast_test.py
|
crcrpar/swift-jupyter
|
9180c1ebfa8033367c104f07b681ba3a072cc258
|
[
"Apache-2.0"
] | 624
|
2018-07-13T00:11:01.000Z
|
2022-03-31T14:52:44.000Z
|
test/fast_test.py
|
crcrpar/swift-jupyter
|
9180c1ebfa8033367c104f07b681ba3a072cc258
|
[
"Apache-2.0"
] | 57
|
2018-07-20T18:15:34.000Z
|
2022-03-30T00:57:30.000Z
|
test/fast_test.py
|
crcrpar/swift-jupyter
|
9180c1ebfa8033367c104f07b681ba3a072cc258
|
[
"Apache-2.0"
] | 100
|
2018-07-18T09:09:07.000Z
|
2021-12-27T00:33:59.000Z
|
"""Runs fast tests."""
import unittest
from tests.kernel_tests import SwiftKernelTests, OwnKernelTests
from tests.simple_notebook_tests import *
if __name__ == '__main__':
unittest.main()
| 17.818182
| 63
| 0.765306
| 23
| 196
| 6.043478
| 0.608696
| 0.23741
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.137755
| 196
| 10
| 64
| 19.6
| 0.822485
| 0.081633
| 0
| 0
| 0
| 0
| 0.045977
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.6
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
0b1ac42c04c7f6b343ab91db830356214e3aed7e
| 90,230
|
py
|
Python
|
pb/risk_monitor_pb2.py
|
zheng-zy/ot_root
|
920236b48458aeed72968bc7ec8e01a084b15951
|
[
"Artistic-2.0"
] | 1
|
2016-03-23T07:54:55.000Z
|
2016-03-23T07:54:55.000Z
|
pb/risk_monitor_pb2.py
|
zheng-zy/ot_root
|
920236b48458aeed72968bc7ec8e01a084b15951
|
[
"Artistic-2.0"
] | null | null | null |
pb/risk_monitor_pb2.py
|
zheng-zy/ot_root
|
920236b48458aeed72968bc7ec8e01a084b15951
|
[
"Artistic-2.0"
] | 1
|
2020-07-23T18:27:53.000Z
|
2020-07-23T18:27:53.000Z
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: risk_monitor.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
import trade_db_model_pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='risk_monitor.proto',
package='riskmonitor',
serialized_pb=_b('\n\x12risk_monitor.proto\x12\x0briskmonitor\x1a\x14trade_db_model.proto\"#\n\x10StockPositionReq\x12\x0f\n\x07\x66und_id\x18\x01 \x02(\t\"V\n\x11StockPositionResp\x12\x0f\n\x07\x66und_id\x18\x01 \x02(\t\x12\x30\n\nstock_list\x18\x02 \x03(\x0b\x32\x1c.liyi.trade_db.StockPosition\"\xee\x0f\n\nFundStatus\x12\x16\n\x0brepo_amount\x18\x01 \x01(\x01:\x01\x30\x12\x1a\n\x12\x62uy_freezed_amount\x18\x02 \x01(\x01\x12\x1b\n\x13sell_freezed_amount\x18\x03 \x01(\x01\x12\x1c\n\x14total_deposit_amount\x18\x04 \x01(\x01\x12\x1f\n\x17stock_capital_avaliable\x18\x05 \x01(\x01\x12\x1c\n\x14stock_hedge_position\x18\x06 \x01(\x01\x12 \n\x18\x66uture_capital_avaliable\x18\x07 \x01(\x01\x12\x19\n\x11\x66uture_net_volume\x18\x08 \x01(\x01\x12\x1d\n\x15\x66uture_hedge_position\x18\t \x01(\x01\x12\x1c\n\x14IC_future_net_volume\x18\n \x01(\x01\x12 \n\x18IC_future_hedge_position\x18\x0b \x01(\x01\x12\x1c\n\x14IH_future_net_volume\x18\x0c \x01(\x01\x12 \n\x18IH_future_hedge_position\x18\r \x01(\x01\x12\x1c\n\x14total_hedge_position\x18\x0e \x01(\x01\x12!\n\x19\x61\x64justment_hedge_position\x18\x0f \x01(\x01\x12\x1f\n\x17sz_short_selling_amount\x18\x10 \x01(\x01\x12\x1f\n\x17sh_short_selling_amount\x18\x11 \x01(\x01\x12+\n#rating_fund_of_stock_hedge_position\x18\x12 \x01(\x01\x12&\n\x1eothers_of_stock_hedge_position\x18\x13 \x01(\x01\x12\"\n\x1asz_suspension_market_value\x18\x14 \x01(\x01\x12\"\n\x1ash_suspension_market_value\x18\x15 \x01(\x01\x12%\n\x1dtotal_suspension_market_value\x18\x16 \x01(\x01\x12&\n\x1esz_stock_of_stock_market_value\x18\x17 \x01(\x01\x12&\n\x1esh_stock_of_stock_market_value\x18\x18 \x01(\x01\x12,\n$subtotal_stock_of_stock_market_value\x18\x19 \x01(\x01\x12)\n!total_stock_of_stock_market_value\x18\x1a \x01(\x01\x12$\n\x1csz_fof_of_stock_market_value\x18\x1b \x01(\x01\x12$\n\x1csh_fof_of_stock_market_value\x18\x1c \x01(\x01\x12*\n\"subtotal_fof_of_stock_market_value\x18\x1d \x01(\x01\x12\'\n\x1ftotal_fof_of_stock_market_value\x18\x1e \x01(\x01\x12\'\n\x1fsz_others_of_stock_market_value\x18\x1f \x01(\x01\x12\'\n\x1fsh_others_of_stock_market_value\x18 \x01(\x01\x12-\n%subtotal_others_of_stock_market_value\x18! \x01(\x01\x12*\n\"total_others_of_stock_market_value\x18\" \x01(\x01\x12\x1f\n\x17sz_stock_hedge_position\x18# \x01(\x01\x12\x1f\n\x17sh_stock_hedge_position\x18$ \x01(\x01\x12%\n\x1dsubtotal_stock_hedge_position\x18% \x01(\x01\x12\x15\n\rsz_proportion\x18& \x01(\x01\x12\x15\n\rsh_proportion\x18\' \x01(\x01\x12\x1e\n\x16rating_fund_proportion\x18( \x01(\x01\x12\x1d\n\x15sz_etf_hedge_position\x18) \x01(\x01\x12\x1d\n\x15sh_etf_hedge_position\x18* \x01(\x01\x12\x1f\n\x17z_50_etf_hedge_position\x18+ \x01(\x01\x12 \n\x18z_500_etf_hedge_position\x18, \x01(\x01\x12\r\n\x05sz_A2\x18- \x01(\x01\x12\r\n\x05sh_A2\x18. \x01(\x01\x12\x0f\n\x07z_50_A2\x18/ \x01(\x01\x12\x10\n\x08z_500_A2\x18\x30 \x01(\x01\x12\"\n\x1ainner_stock_hedge_position\x18\x31 \x01(\x01\x12\"\n\x1ainner_total_hedge_position\x18\x32 \x01(\x01\x12!\n\x19\x62ond_stock_hedge_position\x18\x33 \x01(\x01\x12\x1e\n\x16\x62ond_future_net_volume\x18\x34 \x01(\x01\x12\"\n\x1a\x62ond_future_hedge_position\x18\x35 \x01(\x01\x12!\n\x19\x62ond_total_hedge_position\x18\x36 \x01(\x01\x12!\n\x19gold_stock_hedge_position\x18\x37 \x01(\x01\x12\x1e\n\x16gold_future_net_volume\x18\x38 \x01(\x01\x12\"\n\x1agold_future_hedge_position\x18\x39 \x01(\x01\x12!\n\x19gold_total_hedge_position\x18: \x01(\x01\x12\x1a\n\x12\x61uto_adjust_amount\x18; \x01(\x01\x12\x16\n\x0esz_hedge_alarm\x18< \x01(\x01\x12\x0f\n\x07\x66und_id\x18= \x02(\t\"\x9b\x02\n\x0c\x44\x65positStock\x12\x10\n\x08stock_id\x18\x01 \x02(\t\x12\x12\n\nstock_name\x18\x02 \x02(\t\x12\x11\n\x06volume\x18\x03 \x01(\x03:\x01\x30\x12\x1d\n\x12pre_deposit_volume\x18\x04 \x01(\x03:\x01\x30\x12\x19\n\x0e\x64\x65posit_volume\x18\x05 \x01(\x03:\x01\x30\x12\x18\n\radjust_volume\x18\x06 \x01(\x03:\x01\x30\x12\x1a\n\x0f\x63\x61n_sell_volume\x18\x07 \x01(\x03:\x01\x30\x12\x18\n\radjust_amount\x18\x08 \x01(\x01:\x01\x30\x12\x10\n\x05hedge\x18\t \x01(\x03:\x01\x30\x12\x10\n\x05state\x18\n \x01(\x03:\x01\x30\x12\x0c\n\x04info\x18\x0b \x02(\t\x12\x16\n\x0eposition_alarm\x18\x0c \x02(\x03\"R\n\x10\x46undDepositStock\x12\x0f\n\x07\x66und_id\x18\x01 \x02(\t\x12-\n\nstock_list\x18\x02 \x03(\x0b\x32\x19.riskmonitor.DepositStock\"\xe4\x01\n\x11\x46undFutureDeposit\x12\x0f\n\x07\x66und_id\x18\x01 \x02(\t\x12\x41\n\x0b\x66uture_list\x18\x02 \x03(\x0b\x32,.riskmonitor.FundFutureDeposit.FutureDeposit\x1a{\n\rFutureDeposit\x12\x15\n\rinstrument_id\x18\x01 \x02(\t\x12\x12\n\nbuy_volume\x18\x02 \x02(\x03\x12\x13\n\x0bsell_volume\x18\x03 \x02(\x03\x12\x12\n\nnet_volume\x18\x04 \x02(\x03\x12\x16\n\x0ehedge_position\x18\x05 \x02(\x01\"\xe8\x04\n\x07\x46undFof\x12\x0f\n\x07\x66und_id\x18\x01 \x02(\t\x12\x32\n\x08\x66of_list\x18\x02 \x03(\x0b\x32 .riskmonitor.FundFof.FofPosition\x1a\x97\x04\n\x0b\x46ofPosition\x12\x0e\n\x06market\x18\x01 \x02(\t\x12\x14\n\x0c\x66of_stock_id\x18\x02 \x02(\t\x12\x12\n\nfof_volume\x18\x03 \x02(\x01\x12\x1b\n\x13\x66of_can_sell_volume\x18\x04 \x02(\x01\x12\x18\n\x10\x66of_market_value\x18\x05 \x02(\x01\x12!\n\x19\x66of_can_sell_market_value\x18\x06 \x02(\x01\x12\x12\n\na_stock_id\x18\x07 \x02(\t\x12\x10\n\x08\x61_volume\x18\x08 \x02(\x01\x12\x19\n\x11\x61_can_sell_volume\x18\t \x02(\x01\x12\x16\n\x0e\x61_market_value\x18\n \x02(\x01\x12\x1f\n\x17\x61_can_sell_market_value\x18\x0b \x02(\x01\x12\x12\n\nb_stock_id\x18\x0c \x02(\t\x12\x10\n\x08\x62_volume\x18\r \x02(\x01\x12\x19\n\x11\x62_can_sell_volume\x18\x0e \x02(\x01\x12\x16\n\x0e\x62_market_value\x18\x0f \x02(\x01\x12\x1f\n\x17\x62_can_sell_market_value\x18\x10 \x02(\x01\x12\x12\n\nab_balance\x18\x11 \x02(\t\x12\x18\n\x10hedge_fof_volume\x18\x12 \x02(\x01\x12\x16\n\x0ehedge_position\x18\x13 \x02(\x01\x12\x0e\n\x06\x61_rate\x18\x14 \x02(\x03\x12\x0e\n\x06\x62_rate\x18\x15 \x02(\x03\x12\x1a\n\x12\x66of_pre_close_iopv\x18\x16 \x02(\x01\"\xd4\x02\n\x0b\x45tfPosition\x12\x10\n\x08stock_id\x18\x01 \x02(\t\x12\x0e\n\x06market\x18\x02 \x02(\t\x12\x16\n\x0e\x62uy_percentage\x18\x03 \x02(\x03\x12\x17\n\x0fsell_percentage\x18\x04 \x02(\x03\x12\x12\n\nbuy_volume\x18\x05 \x02(\x03\x12\x13\n\x0bsell_volume\x18\x06 \x02(\x03\x12\x1b\n\x13market_total_volume\x18\x07 \x02(\x03\x12\x0e\n\x06volume\x18\x08 \x02(\x03\x12\x14\n\x0cmarket_value\x18\t \x02(\x01\x12\x16\n\x0ehedge_position\x18\n \x02(\x03\x12\x17\n\x0f\x63\x61n_sell_volume\x18\x0b \x02(\x03\x12\x1d\n\x15\x63\x61n_sell_market_value\x18\x0c \x02(\x01\x12\x1b\n\x13purchase_basket_num\x18\r \x02(\x03\x12\x19\n\x11redeem_basket_num\x18\x0e \x02(\x03\"N\n\x0f\x46undEtfPosition\x12\x0f\n\x07\x66und_id\x18\x01 \x02(\t\x12*\n\x08\x65tf_list\x18\x02 \x03(\x0b\x32\x18.riskmonitor.EtfPosition\"(\n\x07\x46undReq\x12\x0f\n\x07\x66und_id\x18\x01 \x03(\t\x12\x0c\n\x04\x66lag\x18\x02 \x02(\x03\"\xba\x01\n\x08\x46undInfo\x12\r\n\x05title\x18\x01 \x02(\t\x12\x12\n\nfund_scale\x18\x02 \x02(\t\x12\x15\n\rstock_fund_id\x18\x03 \x02(\t\x12\x16\n\x0e\x66uture_fund_id\x18\x04 \x02(\t\x12\x14\n\x0cstock_svr_ip\x18\x05 \x02(\t\x12\x16\n\x0estock_svr_port\x18\x06 \x02(\t\x12\x15\n\rfuture_svr_ip\x18\x07 \x02(\t\x12\x17\n\x0f\x66uture_svr_port\x18\x08 \x02(\t\"F\n\x08\x46undResp\x12\x10\n\x08ret_code\x18\x01 \x02(\x03\x12(\n\tfund_list\x18\x02 \x03(\x0b\x32\x15.riskmonitor.FundInfo\"\xad\x01\n\x0eHistoryDeposit\x12\x0f\n\x07\x66und_id\x18\x01 \x02(\t\x12;\n\x08stk_list\x18\x02 \x03(\x0b\x32).riskmonitor.HistoryDeposit.stock_deposit\x1aM\n\rstock_deposit\x12\x10\n\x08stock_id\x18\x01 \x02(\t\x12\x12\n\nstock_name\x18\x02 \x02(\t\x12\x16\n\x0e\x64\x65posit_volume\x18\x03 \x02(\x03\"\x8e\x01\n\x05Hedge\x12\x0f\n\x07\x66und_id\x18\x01 \x02(\t\x12\x30\n\x08stk_list\x18\x02 \x03(\x0b\x32\x1e.riskmonitor.Hedge.stock_hedge\x1a\x42\n\x0bstock_hedge\x12\x10\n\x08stock_id\x18\x01 \x02(\t\x12\x12\n\nstock_name\x18\x02 \x02(\t\x12\r\n\x05hedge\x18\x03 \x02(\x03\"\x86\x01\n\x0f\x46ofPreCloseIopv\x12:\n\x08stk_list\x18\x01 \x03(\x0b\x32(.riskmonitor.FofPreCloseIopv.stock_price\x1a\x37\n\x0bstock_price\x12\x10\n\x08stock_id\x18\x01 \x02(\t\x12\x16\n\x0epre_close_iopv\x18\x02 \x02(\x01\"\xc9\x03\n\x0eWarnningConfig\x12\'\n\x1fstock_amount_for_account_yellow\x18\x01 \x02(\x01\x12$\n\x1cstock_amount_for_account_red\x18\x02 \x02(\x01\x12\x32\n*gem_stock_amount_for_account_yellow_single\x18\x03 \x02(\x01\x12/\n\'gem_stock_amount_for_account_red_single\x18\x04 \x02(\x01\x12/\n\'gem_stock_amount_for_account_yellow_all\x18\x05 \x02(\x01\x12,\n$gem_stock_amount_for_account_red_all\x18\x06 \x02(\x01\x12/\n\'total_hedge_position_for_account_yellow\x18\x07 \x02(\x01\x12,\n$total_hedge_position_for_account_red\x18\x08 \x02(\x01\x12#\n\x1b\x65tf_position_percent_yellow\x18\t \x02(\x01\x12 \n\x18\x65tf_position_percent_red\x18\n \x02(\x01\"3\n\nAdjustment\x12\x0f\n\x07\x66und_id\x18\x01 \x02(\t\x12\x14\n\x0c\x61\x64just_value\x18\x02 \x02(\x01\"]\n\x08\x45tfScale\x12)\n\x06\x65tf_li\x18\x01 \x03(\x0b\x32\x19.riskmonitor.EtfScale.etf\x1a&\n\x03\x65tf\x12\x10\n\x08\x65tf_code\x18\x01 \x02(\t\x12\r\n\x05scale\x18\x02 \x02(\x01\"w\n\nCancelRate\x12\x0f\n\x07\x66und_id\x18\x01 \x02(\t\x12\x14\n\x0csz_order_num\x18\x02 \x02(\x03\x12\x15\n\rsz_cancel_num\x18\x03 \x02(\x03\x12\x14\n\x0csh_order_num\x18\x04 \x02(\x03\x12\x15\n\rsh_cancel_num\x18\x05 \x02(\x03')
,
dependencies=[trade_db_model_pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
_STOCKPOSITIONREQ = _descriptor.Descriptor(
name='StockPositionReq',
full_name='riskmonitor.StockPositionReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fund_id', full_name='riskmonitor.StockPositionReq.fund_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=57,
serialized_end=92,
)
_STOCKPOSITIONRESP = _descriptor.Descriptor(
name='StockPositionResp',
full_name='riskmonitor.StockPositionResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fund_id', full_name='riskmonitor.StockPositionResp.fund_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stock_list', full_name='riskmonitor.StockPositionResp.stock_list', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=94,
serialized_end=180,
)
_FUNDSTATUS = _descriptor.Descriptor(
name='FundStatus',
full_name='riskmonitor.FundStatus',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='repo_amount', full_name='riskmonitor.FundStatus.repo_amount', index=0,
number=1, type=1, cpp_type=5, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='buy_freezed_amount', full_name='riskmonitor.FundStatus.buy_freezed_amount', index=1,
number=2, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sell_freezed_amount', full_name='riskmonitor.FundStatus.sell_freezed_amount', index=2,
number=3, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_deposit_amount', full_name='riskmonitor.FundStatus.total_deposit_amount', index=3,
number=4, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stock_capital_avaliable', full_name='riskmonitor.FundStatus.stock_capital_avaliable', index=4,
number=5, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stock_hedge_position', full_name='riskmonitor.FundStatus.stock_hedge_position', index=5,
number=6, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='future_capital_avaliable', full_name='riskmonitor.FundStatus.future_capital_avaliable', index=6,
number=7, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='future_net_volume', full_name='riskmonitor.FundStatus.future_net_volume', index=7,
number=8, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='future_hedge_position', full_name='riskmonitor.FundStatus.future_hedge_position', index=8,
number=9, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='IC_future_net_volume', full_name='riskmonitor.FundStatus.IC_future_net_volume', index=9,
number=10, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='IC_future_hedge_position', full_name='riskmonitor.FundStatus.IC_future_hedge_position', index=10,
number=11, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='IH_future_net_volume', full_name='riskmonitor.FundStatus.IH_future_net_volume', index=11,
number=12, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='IH_future_hedge_position', full_name='riskmonitor.FundStatus.IH_future_hedge_position', index=12,
number=13, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_hedge_position', full_name='riskmonitor.FundStatus.total_hedge_position', index=13,
number=14, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='adjustment_hedge_position', full_name='riskmonitor.FundStatus.adjustment_hedge_position', index=14,
number=15, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sz_short_selling_amount', full_name='riskmonitor.FundStatus.sz_short_selling_amount', index=15,
number=16, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sh_short_selling_amount', full_name='riskmonitor.FundStatus.sh_short_selling_amount', index=16,
number=17, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='rating_fund_of_stock_hedge_position', full_name='riskmonitor.FundStatus.rating_fund_of_stock_hedge_position', index=17,
number=18, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='others_of_stock_hedge_position', full_name='riskmonitor.FundStatus.others_of_stock_hedge_position', index=18,
number=19, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sz_suspension_market_value', full_name='riskmonitor.FundStatus.sz_suspension_market_value', index=19,
number=20, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sh_suspension_market_value', full_name='riskmonitor.FundStatus.sh_suspension_market_value', index=20,
number=21, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_suspension_market_value', full_name='riskmonitor.FundStatus.total_suspension_market_value', index=21,
number=22, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sz_stock_of_stock_market_value', full_name='riskmonitor.FundStatus.sz_stock_of_stock_market_value', index=22,
number=23, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sh_stock_of_stock_market_value', full_name='riskmonitor.FundStatus.sh_stock_of_stock_market_value', index=23,
number=24, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='subtotal_stock_of_stock_market_value', full_name='riskmonitor.FundStatus.subtotal_stock_of_stock_market_value', index=24,
number=25, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_stock_of_stock_market_value', full_name='riskmonitor.FundStatus.total_stock_of_stock_market_value', index=25,
number=26, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sz_fof_of_stock_market_value', full_name='riskmonitor.FundStatus.sz_fof_of_stock_market_value', index=26,
number=27, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sh_fof_of_stock_market_value', full_name='riskmonitor.FundStatus.sh_fof_of_stock_market_value', index=27,
number=28, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='subtotal_fof_of_stock_market_value', full_name='riskmonitor.FundStatus.subtotal_fof_of_stock_market_value', index=28,
number=29, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_fof_of_stock_market_value', full_name='riskmonitor.FundStatus.total_fof_of_stock_market_value', index=29,
number=30, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sz_others_of_stock_market_value', full_name='riskmonitor.FundStatus.sz_others_of_stock_market_value', index=30,
number=31, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sh_others_of_stock_market_value', full_name='riskmonitor.FundStatus.sh_others_of_stock_market_value', index=31,
number=32, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='subtotal_others_of_stock_market_value', full_name='riskmonitor.FundStatus.subtotal_others_of_stock_market_value', index=32,
number=33, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_others_of_stock_market_value', full_name='riskmonitor.FundStatus.total_others_of_stock_market_value', index=33,
number=34, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sz_stock_hedge_position', full_name='riskmonitor.FundStatus.sz_stock_hedge_position', index=34,
number=35, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sh_stock_hedge_position', full_name='riskmonitor.FundStatus.sh_stock_hedge_position', index=35,
number=36, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='subtotal_stock_hedge_position', full_name='riskmonitor.FundStatus.subtotal_stock_hedge_position', index=36,
number=37, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sz_proportion', full_name='riskmonitor.FundStatus.sz_proportion', index=37,
number=38, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sh_proportion', full_name='riskmonitor.FundStatus.sh_proportion', index=38,
number=39, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='rating_fund_proportion', full_name='riskmonitor.FundStatus.rating_fund_proportion', index=39,
number=40, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sz_etf_hedge_position', full_name='riskmonitor.FundStatus.sz_etf_hedge_position', index=40,
number=41, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sh_etf_hedge_position', full_name='riskmonitor.FundStatus.sh_etf_hedge_position', index=41,
number=42, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='z_50_etf_hedge_position', full_name='riskmonitor.FundStatus.z_50_etf_hedge_position', index=42,
number=43, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='z_500_etf_hedge_position', full_name='riskmonitor.FundStatus.z_500_etf_hedge_position', index=43,
number=44, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sz_A2', full_name='riskmonitor.FundStatus.sz_A2', index=44,
number=45, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sh_A2', full_name='riskmonitor.FundStatus.sh_A2', index=45,
number=46, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='z_50_A2', full_name='riskmonitor.FundStatus.z_50_A2', index=46,
number=47, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='z_500_A2', full_name='riskmonitor.FundStatus.z_500_A2', index=47,
number=48, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='inner_stock_hedge_position', full_name='riskmonitor.FundStatus.inner_stock_hedge_position', index=48,
number=49, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='inner_total_hedge_position', full_name='riskmonitor.FundStatus.inner_total_hedge_position', index=49,
number=50, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='bond_stock_hedge_position', full_name='riskmonitor.FundStatus.bond_stock_hedge_position', index=50,
number=51, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='bond_future_net_volume', full_name='riskmonitor.FundStatus.bond_future_net_volume', index=51,
number=52, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='bond_future_hedge_position', full_name='riskmonitor.FundStatus.bond_future_hedge_position', index=52,
number=53, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='bond_total_hedge_position', full_name='riskmonitor.FundStatus.bond_total_hedge_position', index=53,
number=54, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='gold_stock_hedge_position', full_name='riskmonitor.FundStatus.gold_stock_hedge_position', index=54,
number=55, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='gold_future_net_volume', full_name='riskmonitor.FundStatus.gold_future_net_volume', index=55,
number=56, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='gold_future_hedge_position', full_name='riskmonitor.FundStatus.gold_future_hedge_position', index=56,
number=57, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='gold_total_hedge_position', full_name='riskmonitor.FundStatus.gold_total_hedge_position', index=57,
number=58, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='auto_adjust_amount', full_name='riskmonitor.FundStatus.auto_adjust_amount', index=58,
number=59, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sz_hedge_alarm', full_name='riskmonitor.FundStatus.sz_hedge_alarm', index=59,
number=60, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='fund_id', full_name='riskmonitor.FundStatus.fund_id', index=60,
number=61, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=183,
serialized_end=2213,
)
_DEPOSITSTOCK = _descriptor.Descriptor(
name='DepositStock',
full_name='riskmonitor.DepositStock',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='stock_id', full_name='riskmonitor.DepositStock.stock_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stock_name', full_name='riskmonitor.DepositStock.stock_name', index=1,
number=2, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='volume', full_name='riskmonitor.DepositStock.volume', index=2,
number=3, type=3, cpp_type=2, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='pre_deposit_volume', full_name='riskmonitor.DepositStock.pre_deposit_volume', index=3,
number=4, type=3, cpp_type=2, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='deposit_volume', full_name='riskmonitor.DepositStock.deposit_volume', index=4,
number=5, type=3, cpp_type=2, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='adjust_volume', full_name='riskmonitor.DepositStock.adjust_volume', index=5,
number=6, type=3, cpp_type=2, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='can_sell_volume', full_name='riskmonitor.DepositStock.can_sell_volume', index=6,
number=7, type=3, cpp_type=2, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='adjust_amount', full_name='riskmonitor.DepositStock.adjust_amount', index=7,
number=8, type=1, cpp_type=5, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='hedge', full_name='riskmonitor.DepositStock.hedge', index=8,
number=9, type=3, cpp_type=2, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='state', full_name='riskmonitor.DepositStock.state', index=9,
number=10, type=3, cpp_type=2, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='info', full_name='riskmonitor.DepositStock.info', index=10,
number=11, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='position_alarm', full_name='riskmonitor.DepositStock.position_alarm', index=11,
number=12, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=2216,
serialized_end=2499,
)
_FUNDDEPOSITSTOCK = _descriptor.Descriptor(
name='FundDepositStock',
full_name='riskmonitor.FundDepositStock',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fund_id', full_name='riskmonitor.FundDepositStock.fund_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stock_list', full_name='riskmonitor.FundDepositStock.stock_list', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=2501,
serialized_end=2583,
)
_FUNDFUTUREDEPOSIT_FUTUREDEPOSIT = _descriptor.Descriptor(
name='FutureDeposit',
full_name='riskmonitor.FundFutureDeposit.FutureDeposit',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='instrument_id', full_name='riskmonitor.FundFutureDeposit.FutureDeposit.instrument_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='buy_volume', full_name='riskmonitor.FundFutureDeposit.FutureDeposit.buy_volume', index=1,
number=2, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sell_volume', full_name='riskmonitor.FundFutureDeposit.FutureDeposit.sell_volume', index=2,
number=3, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='net_volume', full_name='riskmonitor.FundFutureDeposit.FutureDeposit.net_volume', index=3,
number=4, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='hedge_position', full_name='riskmonitor.FundFutureDeposit.FutureDeposit.hedge_position', index=4,
number=5, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=2691,
serialized_end=2814,
)
_FUNDFUTUREDEPOSIT = _descriptor.Descriptor(
name='FundFutureDeposit',
full_name='riskmonitor.FundFutureDeposit',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fund_id', full_name='riskmonitor.FundFutureDeposit.fund_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='future_list', full_name='riskmonitor.FundFutureDeposit.future_list', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[_FUNDFUTUREDEPOSIT_FUTUREDEPOSIT, ],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=2586,
serialized_end=2814,
)
_FUNDFOF_FOFPOSITION = _descriptor.Descriptor(
name='FofPosition',
full_name='riskmonitor.FundFof.FofPosition',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='market', full_name='riskmonitor.FundFof.FofPosition.market', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='fof_stock_id', full_name='riskmonitor.FundFof.FofPosition.fof_stock_id', index=1,
number=2, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='fof_volume', full_name='riskmonitor.FundFof.FofPosition.fof_volume', index=2,
number=3, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='fof_can_sell_volume', full_name='riskmonitor.FundFof.FofPosition.fof_can_sell_volume', index=3,
number=4, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='fof_market_value', full_name='riskmonitor.FundFof.FofPosition.fof_market_value', index=4,
number=5, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='fof_can_sell_market_value', full_name='riskmonitor.FundFof.FofPosition.fof_can_sell_market_value', index=5,
number=6, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='a_stock_id', full_name='riskmonitor.FundFof.FofPosition.a_stock_id', index=6,
number=7, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='a_volume', full_name='riskmonitor.FundFof.FofPosition.a_volume', index=7,
number=8, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='a_can_sell_volume', full_name='riskmonitor.FundFof.FofPosition.a_can_sell_volume', index=8,
number=9, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='a_market_value', full_name='riskmonitor.FundFof.FofPosition.a_market_value', index=9,
number=10, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='a_can_sell_market_value', full_name='riskmonitor.FundFof.FofPosition.a_can_sell_market_value', index=10,
number=11, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='b_stock_id', full_name='riskmonitor.FundFof.FofPosition.b_stock_id', index=11,
number=12, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='b_volume', full_name='riskmonitor.FundFof.FofPosition.b_volume', index=12,
number=13, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='b_can_sell_volume', full_name='riskmonitor.FundFof.FofPosition.b_can_sell_volume', index=13,
number=14, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='b_market_value', full_name='riskmonitor.FundFof.FofPosition.b_market_value', index=14,
number=15, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='b_can_sell_market_value', full_name='riskmonitor.FundFof.FofPosition.b_can_sell_market_value', index=15,
number=16, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='ab_balance', full_name='riskmonitor.FundFof.FofPosition.ab_balance', index=16,
number=17, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='hedge_fof_volume', full_name='riskmonitor.FundFof.FofPosition.hedge_fof_volume', index=17,
number=18, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='hedge_position', full_name='riskmonitor.FundFof.FofPosition.hedge_position', index=18,
number=19, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='a_rate', full_name='riskmonitor.FundFof.FofPosition.a_rate', index=19,
number=20, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='b_rate', full_name='riskmonitor.FundFof.FofPosition.b_rate', index=20,
number=21, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='fof_pre_close_iopv', full_name='riskmonitor.FundFof.FofPosition.fof_pre_close_iopv', index=21,
number=22, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=2898,
serialized_end=3433,
)
_FUNDFOF = _descriptor.Descriptor(
name='FundFof',
full_name='riskmonitor.FundFof',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fund_id', full_name='riskmonitor.FundFof.fund_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='fof_list', full_name='riskmonitor.FundFof.fof_list', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[_FUNDFOF_FOFPOSITION, ],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=2817,
serialized_end=3433,
)
_ETFPOSITION = _descriptor.Descriptor(
name='EtfPosition',
full_name='riskmonitor.EtfPosition',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='stock_id', full_name='riskmonitor.EtfPosition.stock_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='market', full_name='riskmonitor.EtfPosition.market', index=1,
number=2, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='buy_percentage', full_name='riskmonitor.EtfPosition.buy_percentage', index=2,
number=3, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sell_percentage', full_name='riskmonitor.EtfPosition.sell_percentage', index=3,
number=4, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='buy_volume', full_name='riskmonitor.EtfPosition.buy_volume', index=4,
number=5, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sell_volume', full_name='riskmonitor.EtfPosition.sell_volume', index=5,
number=6, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='market_total_volume', full_name='riskmonitor.EtfPosition.market_total_volume', index=6,
number=7, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='volume', full_name='riskmonitor.EtfPosition.volume', index=7,
number=8, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='market_value', full_name='riskmonitor.EtfPosition.market_value', index=8,
number=9, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='hedge_position', full_name='riskmonitor.EtfPosition.hedge_position', index=9,
number=10, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='can_sell_volume', full_name='riskmonitor.EtfPosition.can_sell_volume', index=10,
number=11, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='can_sell_market_value', full_name='riskmonitor.EtfPosition.can_sell_market_value', index=11,
number=12, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='purchase_basket_num', full_name='riskmonitor.EtfPosition.purchase_basket_num', index=12,
number=13, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='redeem_basket_num', full_name='riskmonitor.EtfPosition.redeem_basket_num', index=13,
number=14, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=3436,
serialized_end=3776,
)
_FUNDETFPOSITION = _descriptor.Descriptor(
name='FundEtfPosition',
full_name='riskmonitor.FundEtfPosition',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fund_id', full_name='riskmonitor.FundEtfPosition.fund_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='etf_list', full_name='riskmonitor.FundEtfPosition.etf_list', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=3778,
serialized_end=3856,
)
_FUNDREQ = _descriptor.Descriptor(
name='FundReq',
full_name='riskmonitor.FundReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fund_id', full_name='riskmonitor.FundReq.fund_id', index=0,
number=1, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='flag', full_name='riskmonitor.FundReq.flag', index=1,
number=2, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=3858,
serialized_end=3898,
)
_FUNDINFO = _descriptor.Descriptor(
name='FundInfo',
full_name='riskmonitor.FundInfo',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='title', full_name='riskmonitor.FundInfo.title', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='fund_scale', full_name='riskmonitor.FundInfo.fund_scale', index=1,
number=2, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stock_fund_id', full_name='riskmonitor.FundInfo.stock_fund_id', index=2,
number=3, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='future_fund_id', full_name='riskmonitor.FundInfo.future_fund_id', index=3,
number=4, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stock_svr_ip', full_name='riskmonitor.FundInfo.stock_svr_ip', index=4,
number=5, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stock_svr_port', full_name='riskmonitor.FundInfo.stock_svr_port', index=5,
number=6, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='future_svr_ip', full_name='riskmonitor.FundInfo.future_svr_ip', index=6,
number=7, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='future_svr_port', full_name='riskmonitor.FundInfo.future_svr_port', index=7,
number=8, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=3901,
serialized_end=4087,
)
_FUNDRESP = _descriptor.Descriptor(
name='FundResp',
full_name='riskmonitor.FundResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='ret_code', full_name='riskmonitor.FundResp.ret_code', index=0,
number=1, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='fund_list', full_name='riskmonitor.FundResp.fund_list', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=4089,
serialized_end=4159,
)
_HISTORYDEPOSIT_STOCK_DEPOSIT = _descriptor.Descriptor(
name='stock_deposit',
full_name='riskmonitor.HistoryDeposit.stock_deposit',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='stock_id', full_name='riskmonitor.HistoryDeposit.stock_deposit.stock_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stock_name', full_name='riskmonitor.HistoryDeposit.stock_deposit.stock_name', index=1,
number=2, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='deposit_volume', full_name='riskmonitor.HistoryDeposit.stock_deposit.deposit_volume', index=2,
number=3, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=4258,
serialized_end=4335,
)
_HISTORYDEPOSIT = _descriptor.Descriptor(
name='HistoryDeposit',
full_name='riskmonitor.HistoryDeposit',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fund_id', full_name='riskmonitor.HistoryDeposit.fund_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stk_list', full_name='riskmonitor.HistoryDeposit.stk_list', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[_HISTORYDEPOSIT_STOCK_DEPOSIT, ],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=4162,
serialized_end=4335,
)
_HEDGE_STOCK_HEDGE = _descriptor.Descriptor(
name='stock_hedge',
full_name='riskmonitor.Hedge.stock_hedge',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='stock_id', full_name='riskmonitor.Hedge.stock_hedge.stock_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stock_name', full_name='riskmonitor.Hedge.stock_hedge.stock_name', index=1,
number=2, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='hedge', full_name='riskmonitor.Hedge.stock_hedge.hedge', index=2,
number=3, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=4414,
serialized_end=4480,
)
_HEDGE = _descriptor.Descriptor(
name='Hedge',
full_name='riskmonitor.Hedge',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fund_id', full_name='riskmonitor.Hedge.fund_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stk_list', full_name='riskmonitor.Hedge.stk_list', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[_HEDGE_STOCK_HEDGE, ],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=4338,
serialized_end=4480,
)
_FOFPRECLOSEIOPV_STOCK_PRICE = _descriptor.Descriptor(
name='stock_price',
full_name='riskmonitor.FofPreCloseIopv.stock_price',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='stock_id', full_name='riskmonitor.FofPreCloseIopv.stock_price.stock_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='pre_close_iopv', full_name='riskmonitor.FofPreCloseIopv.stock_price.pre_close_iopv', index=1,
number=2, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=4562,
serialized_end=4617,
)
_FOFPRECLOSEIOPV = _descriptor.Descriptor(
name='FofPreCloseIopv',
full_name='riskmonitor.FofPreCloseIopv',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='stk_list', full_name='riskmonitor.FofPreCloseIopv.stk_list', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[_FOFPRECLOSEIOPV_STOCK_PRICE, ],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=4483,
serialized_end=4617,
)
_WARNNINGCONFIG = _descriptor.Descriptor(
name='WarnningConfig',
full_name='riskmonitor.WarnningConfig',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='stock_amount_for_account_yellow', full_name='riskmonitor.WarnningConfig.stock_amount_for_account_yellow', index=0,
number=1, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='stock_amount_for_account_red', full_name='riskmonitor.WarnningConfig.stock_amount_for_account_red', index=1,
number=2, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='gem_stock_amount_for_account_yellow_single', full_name='riskmonitor.WarnningConfig.gem_stock_amount_for_account_yellow_single', index=2,
number=3, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='gem_stock_amount_for_account_red_single', full_name='riskmonitor.WarnningConfig.gem_stock_amount_for_account_red_single', index=3,
number=4, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='gem_stock_amount_for_account_yellow_all', full_name='riskmonitor.WarnningConfig.gem_stock_amount_for_account_yellow_all', index=4,
number=5, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='gem_stock_amount_for_account_red_all', full_name='riskmonitor.WarnningConfig.gem_stock_amount_for_account_red_all', index=5,
number=6, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_hedge_position_for_account_yellow', full_name='riskmonitor.WarnningConfig.total_hedge_position_for_account_yellow', index=6,
number=7, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total_hedge_position_for_account_red', full_name='riskmonitor.WarnningConfig.total_hedge_position_for_account_red', index=7,
number=8, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='etf_position_percent_yellow', full_name='riskmonitor.WarnningConfig.etf_position_percent_yellow', index=8,
number=9, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='etf_position_percent_red', full_name='riskmonitor.WarnningConfig.etf_position_percent_red', index=9,
number=10, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=4620,
serialized_end=5077,
)
_ADJUSTMENT = _descriptor.Descriptor(
name='Adjustment',
full_name='riskmonitor.Adjustment',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fund_id', full_name='riskmonitor.Adjustment.fund_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='adjust_value', full_name='riskmonitor.Adjustment.adjust_value', index=1,
number=2, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=5079,
serialized_end=5130,
)
_ETFSCALE_ETF = _descriptor.Descriptor(
name='etf',
full_name='riskmonitor.EtfScale.etf',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='etf_code', full_name='riskmonitor.EtfScale.etf.etf_code', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='scale', full_name='riskmonitor.EtfScale.etf.scale', index=1,
number=2, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=5187,
serialized_end=5225,
)
_ETFSCALE = _descriptor.Descriptor(
name='EtfScale',
full_name='riskmonitor.EtfScale',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='etf_li', full_name='riskmonitor.EtfScale.etf_li', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[_ETFSCALE_ETF, ],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=5132,
serialized_end=5225,
)
_CANCELRATE = _descriptor.Descriptor(
name='CancelRate',
full_name='riskmonitor.CancelRate',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fund_id', full_name='riskmonitor.CancelRate.fund_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sz_order_num', full_name='riskmonitor.CancelRate.sz_order_num', index=1,
number=2, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sz_cancel_num', full_name='riskmonitor.CancelRate.sz_cancel_num', index=2,
number=3, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sh_order_num', full_name='riskmonitor.CancelRate.sh_order_num', index=3,
number=4, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sh_cancel_num', full_name='riskmonitor.CancelRate.sh_cancel_num', index=4,
number=5, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=5227,
serialized_end=5346,
)
_STOCKPOSITIONRESP.fields_by_name['stock_list'].message_type = trade_db_model_pb2._STOCKPOSITION
_FUNDDEPOSITSTOCK.fields_by_name['stock_list'].message_type = _DEPOSITSTOCK
_FUNDFUTUREDEPOSIT_FUTUREDEPOSIT.containing_type = _FUNDFUTUREDEPOSIT
_FUNDFUTUREDEPOSIT.fields_by_name['future_list'].message_type = _FUNDFUTUREDEPOSIT_FUTUREDEPOSIT
_FUNDFOF_FOFPOSITION.containing_type = _FUNDFOF
_FUNDFOF.fields_by_name['fof_list'].message_type = _FUNDFOF_FOFPOSITION
_FUNDETFPOSITION.fields_by_name['etf_list'].message_type = _ETFPOSITION
_FUNDRESP.fields_by_name['fund_list'].message_type = _FUNDINFO
_HISTORYDEPOSIT_STOCK_DEPOSIT.containing_type = _HISTORYDEPOSIT
_HISTORYDEPOSIT.fields_by_name['stk_list'].message_type = _HISTORYDEPOSIT_STOCK_DEPOSIT
_HEDGE_STOCK_HEDGE.containing_type = _HEDGE
_HEDGE.fields_by_name['stk_list'].message_type = _HEDGE_STOCK_HEDGE
_FOFPRECLOSEIOPV_STOCK_PRICE.containing_type = _FOFPRECLOSEIOPV
_FOFPRECLOSEIOPV.fields_by_name['stk_list'].message_type = _FOFPRECLOSEIOPV_STOCK_PRICE
_ETFSCALE_ETF.containing_type = _ETFSCALE
_ETFSCALE.fields_by_name['etf_li'].message_type = _ETFSCALE_ETF
DESCRIPTOR.message_types_by_name['StockPositionReq'] = _STOCKPOSITIONREQ
DESCRIPTOR.message_types_by_name['StockPositionResp'] = _STOCKPOSITIONRESP
DESCRIPTOR.message_types_by_name['FundStatus'] = _FUNDSTATUS
DESCRIPTOR.message_types_by_name['DepositStock'] = _DEPOSITSTOCK
DESCRIPTOR.message_types_by_name['FundDepositStock'] = _FUNDDEPOSITSTOCK
DESCRIPTOR.message_types_by_name['FundFutureDeposit'] = _FUNDFUTUREDEPOSIT
DESCRIPTOR.message_types_by_name['FundFof'] = _FUNDFOF
DESCRIPTOR.message_types_by_name['EtfPosition'] = _ETFPOSITION
DESCRIPTOR.message_types_by_name['FundEtfPosition'] = _FUNDETFPOSITION
DESCRIPTOR.message_types_by_name['FundReq'] = _FUNDREQ
DESCRIPTOR.message_types_by_name['FundInfo'] = _FUNDINFO
DESCRIPTOR.message_types_by_name['FundResp'] = _FUNDRESP
DESCRIPTOR.message_types_by_name['HistoryDeposit'] = _HISTORYDEPOSIT
DESCRIPTOR.message_types_by_name['Hedge'] = _HEDGE
DESCRIPTOR.message_types_by_name['FofPreCloseIopv'] = _FOFPRECLOSEIOPV
DESCRIPTOR.message_types_by_name['WarnningConfig'] = _WARNNINGCONFIG
DESCRIPTOR.message_types_by_name['Adjustment'] = _ADJUSTMENT
DESCRIPTOR.message_types_by_name['EtfScale'] = _ETFSCALE
DESCRIPTOR.message_types_by_name['CancelRate'] = _CANCELRATE
StockPositionReq = _reflection.GeneratedProtocolMessageType('StockPositionReq', (_message.Message,), dict(
DESCRIPTOR = _STOCKPOSITIONREQ,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.StockPositionReq)
))
_sym_db.RegisterMessage(StockPositionReq)
StockPositionResp = _reflection.GeneratedProtocolMessageType('StockPositionResp', (_message.Message,), dict(
DESCRIPTOR = _STOCKPOSITIONRESP,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.StockPositionResp)
))
_sym_db.RegisterMessage(StockPositionResp)
FundStatus = _reflection.GeneratedProtocolMessageType('FundStatus', (_message.Message,), dict(
DESCRIPTOR = _FUNDSTATUS,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.FundStatus)
))
_sym_db.RegisterMessage(FundStatus)
DepositStock = _reflection.GeneratedProtocolMessageType('DepositStock', (_message.Message,), dict(
DESCRIPTOR = _DEPOSITSTOCK,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.DepositStock)
))
_sym_db.RegisterMessage(DepositStock)
FundDepositStock = _reflection.GeneratedProtocolMessageType('FundDepositStock', (_message.Message,), dict(
DESCRIPTOR = _FUNDDEPOSITSTOCK,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.FundDepositStock)
))
_sym_db.RegisterMessage(FundDepositStock)
FundFutureDeposit = _reflection.GeneratedProtocolMessageType('FundFutureDeposit', (_message.Message,), dict(
FutureDeposit = _reflection.GeneratedProtocolMessageType('FutureDeposit', (_message.Message,), dict(
DESCRIPTOR = _FUNDFUTUREDEPOSIT_FUTUREDEPOSIT,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.FundFutureDeposit.FutureDeposit)
))
,
DESCRIPTOR = _FUNDFUTUREDEPOSIT,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.FundFutureDeposit)
))
_sym_db.RegisterMessage(FundFutureDeposit)
_sym_db.RegisterMessage(FundFutureDeposit.FutureDeposit)
FundFof = _reflection.GeneratedProtocolMessageType('FundFof', (_message.Message,), dict(
FofPosition = _reflection.GeneratedProtocolMessageType('FofPosition', (_message.Message,), dict(
DESCRIPTOR = _FUNDFOF_FOFPOSITION,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.FundFof.FofPosition)
))
,
DESCRIPTOR = _FUNDFOF,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.FundFof)
))
_sym_db.RegisterMessage(FundFof)
_sym_db.RegisterMessage(FundFof.FofPosition)
EtfPosition = _reflection.GeneratedProtocolMessageType('EtfPosition', (_message.Message,), dict(
DESCRIPTOR = _ETFPOSITION,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.EtfPosition)
))
_sym_db.RegisterMessage(EtfPosition)
FundEtfPosition = _reflection.GeneratedProtocolMessageType('FundEtfPosition', (_message.Message,), dict(
DESCRIPTOR = _FUNDETFPOSITION,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.FundEtfPosition)
))
_sym_db.RegisterMessage(FundEtfPosition)
FundReq = _reflection.GeneratedProtocolMessageType('FundReq', (_message.Message,), dict(
DESCRIPTOR = _FUNDREQ,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.FundReq)
))
_sym_db.RegisterMessage(FundReq)
FundInfo = _reflection.GeneratedProtocolMessageType('FundInfo', (_message.Message,), dict(
DESCRIPTOR = _FUNDINFO,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.FundInfo)
))
_sym_db.RegisterMessage(FundInfo)
FundResp = _reflection.GeneratedProtocolMessageType('FundResp', (_message.Message,), dict(
DESCRIPTOR = _FUNDRESP,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.FundResp)
))
_sym_db.RegisterMessage(FundResp)
HistoryDeposit = _reflection.GeneratedProtocolMessageType('HistoryDeposit', (_message.Message,), dict(
stock_deposit = _reflection.GeneratedProtocolMessageType('stock_deposit', (_message.Message,), dict(
DESCRIPTOR = _HISTORYDEPOSIT_STOCK_DEPOSIT,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.HistoryDeposit.stock_deposit)
))
,
DESCRIPTOR = _HISTORYDEPOSIT,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.HistoryDeposit)
))
_sym_db.RegisterMessage(HistoryDeposit)
_sym_db.RegisterMessage(HistoryDeposit.stock_deposit)
Hedge = _reflection.GeneratedProtocolMessageType('Hedge', (_message.Message,), dict(
stock_hedge = _reflection.GeneratedProtocolMessageType('stock_hedge', (_message.Message,), dict(
DESCRIPTOR = _HEDGE_STOCK_HEDGE,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.Hedge.stock_hedge)
))
,
DESCRIPTOR = _HEDGE,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.Hedge)
))
_sym_db.RegisterMessage(Hedge)
_sym_db.RegisterMessage(Hedge.stock_hedge)
FofPreCloseIopv = _reflection.GeneratedProtocolMessageType('FofPreCloseIopv', (_message.Message,), dict(
stock_price = _reflection.GeneratedProtocolMessageType('stock_price', (_message.Message,), dict(
DESCRIPTOR = _FOFPRECLOSEIOPV_STOCK_PRICE,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.FofPreCloseIopv.stock_price)
))
,
DESCRIPTOR = _FOFPRECLOSEIOPV,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.FofPreCloseIopv)
))
_sym_db.RegisterMessage(FofPreCloseIopv)
_sym_db.RegisterMessage(FofPreCloseIopv.stock_price)
WarnningConfig = _reflection.GeneratedProtocolMessageType('WarnningConfig', (_message.Message,), dict(
DESCRIPTOR = _WARNNINGCONFIG,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.WarnningConfig)
))
_sym_db.RegisterMessage(WarnningConfig)
Adjustment = _reflection.GeneratedProtocolMessageType('Adjustment', (_message.Message,), dict(
DESCRIPTOR = _ADJUSTMENT,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.Adjustment)
))
_sym_db.RegisterMessage(Adjustment)
EtfScale = _reflection.GeneratedProtocolMessageType('EtfScale', (_message.Message,), dict(
etf = _reflection.GeneratedProtocolMessageType('etf', (_message.Message,), dict(
DESCRIPTOR = _ETFSCALE_ETF,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.EtfScale.etf)
))
,
DESCRIPTOR = _ETFSCALE,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.EtfScale)
))
_sym_db.RegisterMessage(EtfScale)
_sym_db.RegisterMessage(EtfScale.etf)
CancelRate = _reflection.GeneratedProtocolMessageType('CancelRate', (_message.Message,), dict(
DESCRIPTOR = _CANCELRATE,
__module__ = 'risk_monitor_pb2'
# @@protoc_insertion_point(class_scope:riskmonitor.CancelRate)
))
_sym_db.RegisterMessage(CancelRate)
# @@protoc_insertion_point(module_scope)
| 44.957648
| 9,274
| 0.741671
| 12,193
| 90,230
| 5.170836
| 0.038547
| 0.067885
| 0.058765
| 0.051231
| 0.795029
| 0.740023
| 0.69593
| 0.656405
| 0.638958
| 0.622018
| 0
| 0.04709
| 0.1346
| 90,230
| 2,006
| 9,275
| 44.98006
| 0.760338
| 0.019783
| 0
| 0.713231
| 1
| 0.001581
| 0.234745
| 0.199084
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.00369
| 0
| 0.00369
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
500ae23f00cb263661705696e20b3465cfcce201
| 26
|
py
|
Python
|
Curso_Gustavo_Guanabara/Exercio53.py
|
Nathan120/Arq_Python_CursoEmVideo
|
d6269eeaa8db57d1ffa8ed66e1936a061803f37e
|
[
"MIT"
] | null | null | null |
Curso_Gustavo_Guanabara/Exercio53.py
|
Nathan120/Arq_Python_CursoEmVideo
|
d6269eeaa8db57d1ffa8ed66e1936a061803f37e
|
[
"MIT"
] | null | null | null |
Curso_Gustavo_Guanabara/Exercio53.py
|
Nathan120/Arq_Python_CursoEmVideo
|
d6269eeaa8db57d1ffa8ed66e1936a061803f37e
|
[
"MIT"
] | null | null | null |
from datetime import date
| 13
| 25
| 0.846154
| 4
| 26
| 5.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.153846
| 26
| 1
| 26
| 26
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
5013f9be3f033f8e0aae1074ee50626a8750801a
| 66
|
py
|
Python
|
advancedblacklist/commands/__init__.py
|
Kuro-Rui/JojoCogs
|
57b86694e29462c5f5b561bc4a060ed04cfb8deb
|
[
"MIT"
] | null | null | null |
advancedblacklist/commands/__init__.py
|
Kuro-Rui/JojoCogs
|
57b86694e29462c5f5b561bc4a060ed04cfb8deb
|
[
"MIT"
] | null | null | null |
advancedblacklist/commands/__init__.py
|
Kuro-Rui/JojoCogs
|
57b86694e29462c5f5b561bc4a060ed04cfb8deb
|
[
"MIT"
] | null | null | null |
from .blacklist import Blacklist
from .whitelist import Whitelist
| 22
| 32
| 0.848485
| 8
| 66
| 7
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.121212
| 66
| 2
| 33
| 33
| 0.965517
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
5016e4e2c0d23ca5b5a4f8b8b6e2b8f6b36b374b
| 41
|
py
|
Python
|
test/login.py
|
Kakarotto-xls/test24
|
fac83ca2f0d22176c858980df4fb931c11eaedfd
|
[
"MIT"
] | null | null | null |
test/login.py
|
Kakarotto-xls/test24
|
fac83ca2f0d22176c858980df4fb931c11eaedfd
|
[
"MIT"
] | null | null | null |
test/login.py
|
Kakarotto-xls/test24
|
fac83ca2f0d22176c858980df4fb931c11eaedfd
|
[
"MIT"
] | null | null | null |
num1 = 10
num2 = 20
num3 = 30
num4 = 40
| 8.2
| 10
| 0.585366
| 8
| 41
| 3
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.428571
| 0.317073
| 41
| 4
| 11
| 10.25
| 0.428571
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
501bb958fbff6e6317415ea22e6f7b749b09b23c
| 178
|
py
|
Python
|
src/props/base.py
|
homoluctus/cdk-py-template
|
66bc1f5d5e20f7f482e7bfdd53e6b64ba7ce060c
|
[
"MIT"
] | null | null | null |
src/props/base.py
|
homoluctus/cdk-py-template
|
66bc1f5d5e20f7f482e7bfdd53e6b64ba7ce060c
|
[
"MIT"
] | null | null | null |
src/props/base.py
|
homoluctus/cdk-py-template
|
66bc1f5d5e20f7f482e7bfdd53e6b64ba7ce060c
|
[
"MIT"
] | null | null | null |
from dataclasses import asdict, dataclass
from typing import Any, Dict
@dataclass(frozen=True)
class Base:
def to_dict(self) -> Dict[str, Any]:
return asdict(self)
| 19.777778
| 41
| 0.713483
| 25
| 178
| 5.04
| 0.68
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.191011
| 178
| 8
| 42
| 22.25
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0
| 0.333333
| 0.166667
| 0.833333
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 5
|
ac96b283afc7f32d92fb51880cec5be8873ef1a7
| 1,917
|
py
|
Python
|
plgx-esp-ui/tests/test_query_endpoints.py
|
eclecticiq/eiq-er-ce
|
ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94
|
[
"MIT"
] | null | null | null |
plgx-esp-ui/tests/test_query_endpoints.py
|
eclecticiq/eiq-er-ce
|
ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94
|
[
"MIT"
] | null | null | null |
plgx-esp-ui/tests/test_query_endpoints.py
|
eclecticiq/eiq-er-ce
|
ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94
|
[
"MIT"
] | 2
|
2021-11-12T10:25:02.000Z
|
2022-03-30T06:33:52.000Z
|
from .base import BaseApiTest, TestUtils
import unittest, json, random
class GetQuery(unittest.TestCase, BaseApiTest):
def setUp(self):
super(BaseApiTest, self).__init__()
super(unittest.TestCase, self).__init__()
def test_get_all_queries(self):
response_dict = json.loads(self.get_request(url="/queries/"))
results = self.validate_status_code_and_success_status(response_dict)
assert bool(results) is True or results is None
def test_get_query_by_id_valid(self):
response_dict = json.loads(self.get_request(url="/queries/1"))
results = self.validate_status_code_and_success_status(response_dict)
assert bool(results) is True or results is None
def test_get_query_by_id_invalid(self):
response_dict = json.loads(self.get_request(url="/queries/1234567891"))
results = self.validate_status_code_and_failure_status(response_dict)
assert results==True
class AddQuery(unittest.TestCase, BaseApiTest):
def setUp(self):
super(BaseApiTest, self).__init__()
super(unittest.TestCase, self).__init__()
def test_add_query(self):
payload = {"name": "foobar",
"query": "select * from time;",
"interval": 10}
response_dict = json.loads(
self.post_request(url="/queries/add", payload=payload))
results = self.validate_status_code_and_success_status(response_dict)
assert bool(results) is True or results is None
def test_edit_tags_of_query(self):
payload = {"query_id": 1,
"add_tags":["foo"],
"remove_tags": ["foobar"]}
response_dict = json.loads(
self.post_request(url="/queries/tag/edit", payload=payload))
results = self.validate_status_code_and_success_status(response_dict)
assert bool(results) is True or results is None
| 39.122449
| 79
| 0.672926
| 239
| 1,917
| 5.07113
| 0.25523
| 0.09901
| 0.066007
| 0.086634
| 0.760726
| 0.760726
| 0.734323
| 0.734323
| 0.734323
| 0.658416
| 0
| 0.009409
| 0.223787
| 1,917
| 49
| 80
| 39.122449
| 0.805108
| 0
| 0
| 0.421053
| 0
| 0
| 0.0756
| 0
| 0
| 0
| 0
| 0
| 0.131579
| 1
| 0.184211
| false
| 0
| 0.052632
| 0
| 0.289474
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
acd01d7332f3bfc4e07f3fd42724fbf9c35572c5
| 45
|
py
|
Python
|
temfpy/tests/__init__.py
|
OpenSourceEconomics/tespy
|
2bf3e6dda867514a04d5816609010bf09e436d44
|
[
"MIT"
] | 4
|
2020-07-17T15:06:09.000Z
|
2020-11-23T19:43:53.000Z
|
temfpy/tests/__init__.py
|
OpenSourceEconomics/tespy
|
2bf3e6dda867514a04d5816609010bf09e436d44
|
[
"MIT"
] | 47
|
2020-05-20T17:19:21.000Z
|
2021-12-27T18:34:03.000Z
|
temfpy/tests/__init__.py
|
OpenSourceEconomics/tespy
|
2bf3e6dda867514a04d5816609010bf09e436d44
|
[
"MIT"
] | 3
|
2020-05-27T12:03:40.000Z
|
2020-10-21T12:40:51.000Z
|
"""Test modules for the function modules."""
| 22.5
| 44
| 0.711111
| 6
| 45
| 5.333333
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.133333
| 45
| 1
| 45
| 45
| 0.820513
| 0.844444
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
acd70d7beff2f45c1f2fb4e70d2dc92363a7e941
| 8,111
|
py
|
Python
|
tools/extjs_cc/parsetab_re.py
|
joeedh/webblender
|
552d8eaa762af447346343be244647c316ae32f1
|
[
"Apache-2.0"
] | null | null | null |
tools/extjs_cc/parsetab_re.py
|
joeedh/webblender
|
552d8eaa762af447346343be244647c316ae32f1
|
[
"Apache-2.0"
] | null | null | null |
tools/extjs_cc/parsetab_re.py
|
joeedh/webblender
|
552d8eaa762af447346343be244647c316ae32f1
|
[
"Apache-2.0"
] | null | null | null |
# parsetab_re.py
# This file is automatically generated. Do not edit.
_tabversion = '3.2'
_lr_method = 'LALR'
_lr_signature = b'\xe3\xf7\x1b^\x13\xcdAc\xfa\xaan\xef\x88\x91db'
_lr_action_items = {'STAR':([3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,],[-7,-33,-5,14,-19,-4,-21,-20,-6,32,-15,-11,-18,-16,-14,-13,-17,-12,40,-29,-32,-27,-26,-34,-31,-35,-30,-28,-3,-8,-10,-22,-25,-23,-9,-24,]),'$end':([1,23,41,42,],[0,-37,-1,-36,]),'ID_PART':([2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,],[9,-7,-33,-5,16,-19,-4,-21,-20,-6,31,-15,-11,-18,-16,-14,-13,-17,-12,37,-37,-29,-32,-27,-26,-34,-31,-35,-30,-28,-3,-8,-10,-22,-25,-23,-9,-24,42,-36,]),'DIVIDE':([0,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,],[2,-7,-33,-5,17,-19,-4,-21,23,-20,-6,24,-15,-11,-18,-16,-14,-13,-17,-12,-2,-29,-32,-27,-26,-34,-31,-35,-30,-28,-3,-8,-10,-22,-25,-23,-9,-24,]),'RSBRACKET':([2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,],[11,-7,-33,-5,18,-19,-4,-21,-20,-6,29,-15,-11,-18,-16,-14,-13,-17,-12,38,-29,-32,-27,-26,-34,-31,-35,-30,-28,-3,-8,-10,-22,-25,-23,-9,-24,]),'LSBRACKET':([2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,],[4,-7,-33,-5,19,-19,-4,-21,-20,-6,26,-15,-11,-18,-16,-14,-13,-17,-12,4,-29,-32,-27,-26,-34,-31,-35,-30,-28,-3,-8,-10,-22,-25,-23,-9,-24,]),'BACKSLASH':([2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,],[6,-7,-33,-5,20,-19,-4,-21,-20,-6,6,-15,-11,-18,-16,-14,-13,-17,-12,6,-29,-32,-27,-26,-34,-31,-35,-30,-28,-3,-8,-10,-22,-25,-23,-9,-24,]),'UCHAR':([2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,],[7,-7,-33,-5,21,-19,-4,-21,-20,-6,27,-15,-11,-18,-16,-14,-13,-17,-12,36,-29,-32,-27,-26,-34,-31,-35,-30,-28,-3,-8,-10,-22,-25,-23,-9,-24,]),}
_lr_action = { }
for _k, _v in _lr_action_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_action: _lr_action[_x] = { }
_lr_action[_x][_k] = _y
del _lr_action_items
_lr_goto_items = {'re_lit':([0,],[1,]),'re_non_term':([6,],[15,]),'re_char':([22,],[33,]),'re_class_char':([13,],[25,]),'re_expr_class':([2,22,],[3,35,]),'re_non_term_restrict2':([22,],[34,]),'re_flags':([23,],[41,]),'re_chars':([8,],[22,]),'re_non_term_restrict3':([13,],[28,]),'re_first_char':([2,],[8,]),'re_non_term_restrict1':([2,],[5,]),'re_class_chars':([4,],[13,]),'re_body':([2,],[10,]),'re_backlash_seq':([2,13,22,],[12,30,39,]),}
_lr_goto = { }
for _k, _v in _lr_goto_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_goto: _lr_goto[_x] = { }
_lr_goto[_x][_k] = _y
del _lr_goto_items
_lr_productions = [
("S' -> re_lit","S'",1,None,None,None),
('re_lit -> DIVIDE re_body DIVIDE re_flags','re_lit',4,'p_re_lit','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',51),
('re_body -> re_first_char re_chars','re_body',2,'p_re_body','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',56),
('re_chars -> re_chars re_char','re_chars',2,'p_re_chars','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',61),
('re_chars -> <empty>','re_chars',0,'p_re_chars','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',62),
('re_first_char -> re_non_term_restrict1','re_first_char',1,'p_re_first_char','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',71),
('re_first_char -> re_backlash_seq','re_first_char',1,'p_re_first_char','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',72),
('re_first_char -> re_expr_class','re_first_char',1,'p_re_first_char','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',73),
('re_char -> re_non_term_restrict2','re_char',1,'p_re_char','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',79),
('re_char -> re_backlash_seq','re_char',1,'p_re_char','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',80),
('re_char -> re_expr_class','re_char',1,'p_re_char','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',81),
('re_backlash_seq -> BACKSLASH re_non_term','re_backlash_seq',2,'p_re_backlash_seq','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',87),
('re_non_term -> UCHAR','re_non_term',1,'p_re_non_term','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',92),
('re_non_term -> LSBRACKET','re_non_term',1,'p_re_non_term','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',93),
('re_non_term -> RSBRACKET','re_non_term',1,'p_re_non_term','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',94),
('re_non_term -> STAR','re_non_term',1,'p_re_non_term','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',95),
('re_non_term -> DIVIDE','re_non_term',1,'p_re_non_term','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',96),
('re_non_term -> BACKSLASH','re_non_term',1,'p_re_non_term','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',97),
('re_non_term -> ID_PART','re_non_term',1,'p_re_non_term','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',98),
('re_non_term_restrict1 -> UCHAR','re_non_term_restrict1',1,'p_re_non_term_restrict1','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',103),
('re_non_term_restrict1 -> RSBRACKET','re_non_term_restrict1',1,'p_re_non_term_restrict1','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',104),
('re_non_term_restrict1 -> ID_PART','re_non_term_restrict1',1,'p_re_non_term_restrict1','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',105),
('re_non_term_restrict2 -> UCHAR','re_non_term_restrict2',1,'p_re_non_term_restrict2','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',110),
('re_non_term_restrict2 -> RSBRACKET','re_non_term_restrict2',1,'p_re_non_term_restrict2','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',111),
('re_non_term_restrict2 -> STAR','re_non_term_restrict2',1,'p_re_non_term_restrict2','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',112),
('re_non_term_restrict2 -> ID_PART','re_non_term_restrict2',1,'p_re_non_term_restrict2','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',113),
('re_non_term_restrict3 -> UCHAR','re_non_term_restrict3',1,'p_re_non_term_restrict3','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',119),
('re_non_term_restrict3 -> LSBRACKET','re_non_term_restrict3',1,'p_re_non_term_restrict3','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',120),
('re_non_term_restrict3 -> STAR','re_non_term_restrict3',1,'p_re_non_term_restrict3','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',121),
('re_non_term_restrict3 -> DIVIDE','re_non_term_restrict3',1,'p_re_non_term_restrict3','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',122),
('re_non_term_restrict3 -> ID_PART','re_non_term_restrict3',1,'p_re_non_term_restrict3','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',123),
('re_expr_class -> LSBRACKET re_class_chars RSBRACKET','re_expr_class',3,'p_re_expr_class','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',128),
('re_class_chars -> re_class_chars re_class_char','re_class_chars',2,'p_re_class_chars','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',134),
('re_class_chars -> <empty>','re_class_chars',0,'p_re_class_chars','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',135),
('re_class_char -> re_non_term_restrict3','re_class_char',1,'p_re_class_char','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',144),
('re_class_char -> re_backlash_seq','re_class_char',1,'p_re_class_char','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',145),
('re_flags -> re_flags ID_PART','re_flags',2,'p_re_flags','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',151),
('re_flags -> <empty>','re_flags',0,'p_re_flags','c:\\dev\\fairmotion\\tools\\extjs_cc\\js_regexpr_parse.py',152),
]
| 121.059701
| 1,879
| 0.679818
| 1,645
| 8,111
| 3.041337
| 0.095441
| 0.064961
| 0.11693
| 0.140516
| 0.688987
| 0.645413
| 0.645413
| 0.644014
| 0.621627
| 0.621627
| 0
| 0.153026
| 0.040439
| 8,111
| 66
| 1,880
| 122.893939
| 0.489785
| 0.008014
| 0
| 0.035088
| 1
| 0
| 0.575106
| 0.380627
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
aceea455b7371f507997ad7baa6e769725a34dcf
| 69
|
py
|
Python
|
crmsystem/controllers/__init__.py
|
iomegak12/sislcrmsystem
|
476b4c2ac8a0e6007a8e6511072fa4f4f9e79f97
|
[
"MIT"
] | null | null | null |
crmsystem/controllers/__init__.py
|
iomegak12/sislcrmsystem
|
476b4c2ac8a0e6007a8e6511072fa4f4f9e79f97
|
[
"MIT"
] | null | null | null |
crmsystem/controllers/__init__.py
|
iomegak12/sislcrmsystem
|
476b4c2ac8a0e6007a8e6511072fa4f4f9e79f97
|
[
"MIT"
] | null | null | null |
from .crmsystem_service_controller import CRMSystemServiceController
| 34.5
| 68
| 0.927536
| 6
| 69
| 10.333333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.057971
| 69
| 1
| 69
| 69
| 0.953846
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
acfe3195aad6fefedc02c0d6b9ad5719a36781a1
| 46
|
py
|
Python
|
tests/components/alarmdecoder/__init__.py
|
tbarbette/core
|
8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c
|
[
"Apache-2.0"
] | 30,023
|
2016-04-13T10:17:53.000Z
|
2020-03-02T12:56:31.000Z
|
tests/components/alarmdecoder/__init__.py
|
jagadeeshvenkatesh/core
|
1bd982668449815fee2105478569f8e4b5670add
|
[
"Apache-2.0"
] | 31,101
|
2020-03-02T13:00:16.000Z
|
2022-03-31T23:57:36.000Z
|
tests/components/alarmdecoder/__init__.py
|
jagadeeshvenkatesh/core
|
1bd982668449815fee2105478569f8e4b5670add
|
[
"Apache-2.0"
] | 11,956
|
2016-04-13T18:42:31.000Z
|
2020-03-02T09:32:12.000Z
|
"""The tests for AlarmDecoder integration."""
| 23
| 45
| 0.73913
| 5
| 46
| 6.8
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.108696
| 46
| 1
| 46
| 46
| 0.829268
| 0.847826
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
4a13c134401182dc5d087296b2b74e6c8a29cac5
| 2,840
|
py
|
Python
|
redpwn/crypto/primimity/solve.py
|
deut-erium/WriteUps
|
36b4193f5fab9f95527a48626ecba631d5a03796
|
[
"MIT"
] | 11
|
2020-06-06T05:28:27.000Z
|
2022-01-09T00:42:49.000Z
|
2020/redpwn/crypto/primimity/solve.py
|
CSEA-IITB/WriteUps
|
46e7f36b0c4ef182cbaf375fd10fda954b6667a0
|
[
"MIT"
] | 1
|
2020-09-06T18:19:55.000Z
|
2020-09-06T18:19:55.000Z
|
redpwn/crypto/primimity/solve.py
|
deut-erium/WriteUps
|
36b4193f5fab9f95527a48626ecba631d5a03796
|
[
"MIT"
] | 6
|
2020-06-06T05:36:43.000Z
|
2021-08-11T10:17:18.000Z
|
import gmpy2
n = 2739699434633097765008468371124644741923408864896396205946954196101304653772173210372608955799251139999322976228678445908704975780068946332615022064030241384638601426716056067126300711933438732265846838735860353259574129074615298010047322960704972157930663061480726566962254887144927753449042590678730779046154516549667611603792754880414526688217305247008627664864637891883902537649625488225238118503996674292057904635593729208703096877231276911845233833770015093213639131244386867600956112884383105437861665666273910566732634878464610789895607273567372933766243229798663389032807187003756226177111720510187664096691560511459141773632683383938152396711991246874813205614169161561906148974478519987935950318569760474249427787310865749167740917232799538099494710964837536211535351200520324575676987080484141561336505103872809932354748531675934527453231255132361489570816639925234935907741385330442961877410196615649696508210921
e = 65537
c = 2082926013138674164997791605512226759362824531322433048281306983526001801581956788909408046338065370689701410862433705395338736589120086871506362760060657440410056869674907314204346790554619655855805666327905912762300412323371126871463045993946331927129882715778396764969311565407104426500284824495461252591576672989633930916837016411523983491364869137945678029616541477271287052575817523864089061675401543733151180624855361245733039022140321494471318934716652758163593956711915212195328671373739342124211743835858897895276513396783328942978903764790088495033176253777832808572717335076829539988337505582696026111326821783912902713222712310343791755341823415393931813610365987465739339849380173805882522026704474308541271732478035913770922189429089852921985416202844838873352090355685075965831663443962706473737852392107876993485163981653038588544562512597409585410384189546449890975409183661424334789750460016306977673969147
estimate = gmpy2.iroot(n,3)[0] - 10000 # rough guess for the smallest prime
prime = gmpy2.next_prime(estimate)
for _ in range(512):
prime = gmpy2.next_prime(prime)
if n%prime ==0:
print(prime)
p = 139926822890670655977195962770726941986198973494425759476822219188316377933161673759394901805855617939978281385708941597117531007973713846772205166659227214187622925135931456526921198848312215276630974951050306344412865900075089120689559331322162952820292429725303619113876104177529039691490258588465409397803
q = 139926822890670655977195962770726941986198973494425759476822219188316377933161673759394901805855617939978281385708941597117531007973713846772205166659227214187622925135931456526921198848312215276630974951050306344412865900075089120689559331322162952820292429725303619113876104177529039691490258588465409494847
r = n//(p*q)
phi = (p-1)*(q-1)*(r-1)
d = pow(e, -1, phi)
m = pow(c, d, n)
print(bytes.fromhex(hex(m)[2:]).decode())
| 129.090909
| 929
| 0.946127
| 73
| 2,840
| 36.767123
| 0.547945
| 0.007452
| 0.010432
| 0.014158
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.903261
| 0.028169
| 2,840
| 21
| 930
| 135.238095
| 0.069203
| 0.011972
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.058824
| 0
| 0.058824
| 0.117647
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
4a27c9fc2b2bc7fd8e819a3deb5b2fd4c4afce93
| 198
|
py
|
Python
|
src/typefit/__init__.py
|
Xowap/typefit
|
a1beedcc4b05be6d22063719e7e2aa8c3f2c35b3
|
[
"WTFPL"
] | 5
|
2019-10-28T15:40:03.000Z
|
2021-03-16T21:07:25.000Z
|
src/typefit/__init__.py
|
Xowap/typefit
|
a1beedcc4b05be6d22063719e7e2aa8c3f2c35b3
|
[
"WTFPL"
] | 32
|
2019-10-19T08:40:12.000Z
|
2022-01-21T19:07:09.000Z
|
src/typefit/__init__.py
|
Xowap/typefit
|
a1beedcc4b05be6d22063719e7e2aa8c3f2c35b3
|
[
"WTFPL"
] | 3
|
2019-10-28T15:42:49.000Z
|
2022-01-18T19:18:06.000Z
|
from . import httpx_models
from .fitting import Fitter, T, typefit
from .meta import meta, other_field
from .reporting import LogErrorReporter, PrettyJson5Formatter
from .serialize import serialize
| 33
| 61
| 0.833333
| 25
| 198
| 6.52
| 0.6
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.005747
| 0.121212
| 198
| 5
| 62
| 39.6
| 0.931034
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
c57f8325cea36c47015a7d6b59371f5ea4b8f63e
| 381
|
py
|
Python
|
server/flaskr/pnorm.py
|
Intel-OpenVINO-Edge-AI-Scholarship/arcface-project
|
86458a207c8e265bfc231736234ec38e4e70588b
|
[
"MIT"
] | null | null | null |
server/flaskr/pnorm.py
|
Intel-OpenVINO-Edge-AI-Scholarship/arcface-project
|
86458a207c8e265bfc231736234ec38e4e70588b
|
[
"MIT"
] | 5
|
2020-09-26T01:15:39.000Z
|
2022-02-10T02:11:54.000Z
|
server/flaskr/pnorm.py
|
Intel-OpenVINO-Edge-AI-Scholarship/arcface-project
|
86458a207c8e265bfc231736234ec38e4e70588b
|
[
"MIT"
] | null | null | null |
def batch_norm(arcface_model, app):
gamma = arcface_model.layers[app.config["ARCFACE_POOLING_LAYER_INDEX"]].weights[0]
beta = arcface_model.layers["ARCFACE_POOLING_LAYER_INDEX"].weights[1]
moving_mean = arcface_model.layers["ARCFACE_POOLING_LAYER_INDEX"].weights[2]
moving_variance = arcface_model.layers["ARCFACE_POOLING_LAYER_INDEX"].weights[3]
def eval():
| 42.333333
| 86
| 0.776903
| 52
| 381
| 5.307692
| 0.423077
| 0.217391
| 0.26087
| 0.347826
| 0.644928
| 0.532609
| 0.532609
| 0.532609
| 0
| 0
| 0
| 0.011696
| 0.102362
| 381
| 9
| 87
| 42.333333
| 0.795322
| 0
| 0
| 0
| 0
| 0
| 0.283465
| 0.283465
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
c5832c0bb540cabda8c7e8d4ca1400ad5ee8d81e
| 1,196
|
py
|
Python
|
src/visitpy/visit_utils/src/builtin/__init__.py
|
visit-dav/vis
|
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
|
[
"BSD-3-Clause"
] | 226
|
2018-12-29T01:13:49.000Z
|
2022-03-30T19:16:31.000Z
|
src/visitpy/visit_utils/src/builtin/__init__.py
|
visit-dav/vis
|
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
|
[
"BSD-3-Clause"
] | 5,100
|
2019-01-14T18:19:25.000Z
|
2022-03-31T23:08:36.000Z
|
src/visitpy/visit_utils/src/builtin/__init__.py
|
visit-dav/vis
|
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
|
[
"BSD-3-Clause"
] | 84
|
2019-01-24T17:41:50.000Z
|
2022-03-10T10:01:46.000Z
|
# Copyright (c) Lawrence Livermore National Security, LLC and other VisIt
# Project developers. See the top-level LICENSE file for dates and other
# details. No copyright assignment is required to contribute to VisIt.
"""
file: __init__.py
author: Cyrus Harrison <cyrush@llnl.gov>
created: 7/6/2020
description:
Init file for 'visit_utils.builtin' module.
"""
###############################################################################
# Modifications:
# Cyrus Harrison, Wed Feb 24 10:12:20 PST 2021
# Move PySide logic into visit_utils.builtin
#
# Mark C. Miller, Mon Jun 28 17:00:28 PDT 2021
# Add apropos and help override
#
###############################################################################
from .evalfuncs import *
from .writescript import WriteScript
from .convert2to3 import ConvertPy2to3
from .convert2to3 import GetAutoPy2to3
from .convert2to3 import SetAutoPy2to3
from .apropos import *
#
# Import PySide2 if it exists.
#
try:
from . import pyside_hook
from . import pyside_gui
from . import pyside_support
def IsPySideViewerEnabled(): return True
except ImportError:
def IsPySideViewerEnabled(): return False
pass
| 27.181818
| 79
| 0.644649
| 138
| 1,196
| 5.521739
| 0.666667
| 0.059055
| 0.082677
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.043043
| 0.164716
| 1,196
| 43
| 80
| 27.813953
| 0.71972
| 0.477425
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.142857
| true
| 0.071429
| 0.714286
| 0.142857
| 0.857143
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
|
0
| 5
|
c58c78249d0ce35d9de99d5b7cf4acfbed4824e9
| 73
|
py
|
Python
|
nodenet/python/nodenet/learningalgorithm/__init__.py
|
NOOXY-research/NodeNet
|
8bf7e0c2fd0e4fae4a51b2900014004728f3c935
|
[
"Apache-2.0"
] | 2
|
2018-01-31T05:52:23.000Z
|
2020-08-07T19:14:18.000Z
|
nodenet/python/nodenet/learningalgorithm/__init__.py
|
NOOXY-research/NodeNet
|
8bf7e0c2fd0e4fae4a51b2900014004728f3c935
|
[
"Apache-2.0"
] | 1
|
2017-11-22T09:39:50.000Z
|
2017-11-22T09:39:50.000Z
|
nodenet/python/nodenet/learningalgorithm/__init__.py
|
magneticchen/NodeNet
|
8bf7e0c2fd0e4fae4a51b2900014004728f3c935
|
[
"Apache-2.0"
] | null | null | null |
# Create alias
from nodenet.learningalgorithm.backpropagations import *
| 18.25
| 56
| 0.835616
| 7
| 73
| 8.714286
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.109589
| 73
| 3
| 57
| 24.333333
| 0.938462
| 0.164384
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
c5fca66428132f625dcc8b7c9a4eea9eea203bc2
| 24
|
py
|
Python
|
ibmsecurity/isam/aac/mmfa/push_notification_registration.py
|
ibm-enio/ibmsecurity
|
81f989678642c3b6a49b2a3fbb5d9ca98804ef17
|
[
"Apache-2.0"
] | null | null | null |
ibmsecurity/isam/aac/mmfa/push_notification_registration.py
|
ibm-enio/ibmsecurity
|
81f989678642c3b6a49b2a3fbb5d9ca98804ef17
|
[
"Apache-2.0"
] | null | null | null |
ibmsecurity/isam/aac/mmfa/push_notification_registration.py
|
ibm-enio/ibmsecurity
|
81f989678642c3b6a49b2a3fbb5d9ca98804ef17
|
[
"Apache-2.0"
] | null | null | null |
# This needs to be coded
| 24
| 24
| 0.75
| 5
| 24
| 3.6
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.208333
| 24
| 1
| 24
| 24
| 0.947368
| 0.916667
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
680277ad7b59cb9f696edc84f6f48e6761c40ed9
| 369
|
py
|
Python
|
rcctl/rcctl/helps/__init__.py
|
amenarde/reliable-collections-cli
|
195d69816fb5a6e1e9ab0ab66b606b1248b4780d
|
[
"MIT"
] | 14
|
2020-03-18T12:38:49.000Z
|
2022-01-03T11:29:33.000Z
|
rcctl/rcctl/helps/__init__.py
|
shalabhms/reliable-collections-cli
|
195d69816fb5a6e1e9ab0ab66b606b1248b4780d
|
[
"MIT"
] | 3
|
2020-03-06T09:23:03.000Z
|
2021-01-25T16:48:20.000Z
|
rcctl/rcctl/helps/__init__.py
|
shalabhms/reliable-collections-cli
|
195d69816fb5a6e1e9ab0ab66b606b1248b4780d
|
[
"MIT"
] | 7
|
2020-06-30T15:13:16.000Z
|
2021-02-15T16:51:54.000Z
|
# -----------------------------------------------------------------------------
# Adapted from Microsoft OSS
# see https://github.com/Microsoft/service-fabric-cli
# -----------------------------------------------------------------------------
"""Help files for Service Fabric command line"""
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
| 36.9
| 79
| 0.444444
| 29
| 369
| 5.172414
| 0.724138
| 0.173333
| 0.186667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.078591
| 369
| 9
| 80
| 41
| 0.441176
| 0.753388
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
680f4528fbb62732e7f935b78fb66937d8b222b5
| 545
|
py
|
Python
|
exp/nb_fully.py
|
KyleMoore1/fastai
|
f171ed143f1874251f6883ff91e5c8df7aa0bf2f
|
[
"MIT"
] | null | null | null |
exp/nb_fully.py
|
KyleMoore1/fastai
|
f171ed143f1874251f6883ff91e5c8df7aa0bf2f
|
[
"MIT"
] | null | null | null |
exp/nb_fully.py
|
KyleMoore1/fastai
|
f171ed143f1874251f6883ff91e5c8df7aa0bf2f
|
[
"MIT"
] | null | null | null |
#################################################
### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ###
#################################################
# file to edit: dev_nb/fully_connected.ipynb
from exp.nb_matmul import *
import torch.nn
import math
def normalize(x, mean, std): return (x - mean)/std
def test_near_zero(x): assert x < 1e-3
from torch.nn import init
def print_stats(x):
print(x.mean(),x.std())
def mse(pred, true): return(pred.squeeze(-1)-true).pow(2).mean()
def test_near(a,b): return torch.allclose(a,b, rtol=1e-3)
| 24.772727
| 64
| 0.572477
| 82
| 545
| 3.719512
| 0.560976
| 0.04918
| 0.085246
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.0125
| 0.119266
| 545
| 22
| 65
| 24.772727
| 0.622917
| 0.155963
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.1
| 1
| 0.5
| false
| 0
| 0.4
| 0.3
| 0.9
| 0.2
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 5
|
a85f7f02be3f8cbd2c1193514f3f8b2b5732ed34
| 48
|
py
|
Python
|
GhostalService/__init__.py
|
s0lst1c3/bind_cannon
|
115e2f304f7e952164919fc51b4566b4849230b8
|
[
"MIT"
] | 3
|
2016-09-03T04:31:45.000Z
|
2020-03-26T08:47:01.000Z
|
GhostalService/__init__.py
|
s0lst1c3/bind_cannon
|
115e2f304f7e952164919fc51b4566b4849230b8
|
[
"MIT"
] | null | null | null |
GhostalService/__init__.py
|
s0lst1c3/bind_cannon
|
115e2f304f7e952164919fc51b4566b4849230b8
|
[
"MIT"
] | 4
|
2016-11-10T23:54:28.000Z
|
2020-03-26T08:47:02.000Z
|
from client import SMTPMessage, SMTPBatchClient
| 24
| 47
| 0.875
| 5
| 48
| 8.4
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.104167
| 48
| 1
| 48
| 48
| 0.976744
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
a8a3dd83e1822b3f147cf4a2d4f0228bbe018bcc
| 120
|
py
|
Python
|
pyfpgrowth/__init__.py
|
spchjken/fpp
|
d02514c91b75bca90a51f9b8fc6e6afbeaf041eb
|
[
"0BSD"
] | null | null | null |
pyfpgrowth/__init__.py
|
spchjken/fpp
|
d02514c91b75bca90a51f9b8fc6e6afbeaf041eb
|
[
"0BSD"
] | 1
|
2020-12-26T15:36:43.000Z
|
2020-12-26T15:36:43.000Z
|
pyfpgrowth/__init__.py
|
spchjken/fpp
|
d02514c91b75bca90a51f9b8fc6e6afbeaf041eb
|
[
"0BSD"
] | null | null | null |
# -*- coding: utf-8 -*-
from .pyfpgrowth import Load_data, create_initialset, create_FPTree, Mine_Tree # flake8: noqa
| 30
| 94
| 0.733333
| 16
| 120
| 5.25
| 0.9375
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.019417
| 0.141667
| 120
| 3
| 95
| 40
| 0.796117
| 0.283333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
766ce6bf9f45517e473dab8f370aec99a330ce5f
| 623
|
py
|
Python
|
rnaindel/rnaindel_lib/__init__.py
|
adamdingliang/RNAIndel
|
bc154a25a459ca0dd5c1f2ce064944e979105d23
|
[
"Apache-2.0"
] | 1
|
2019-01-07T21:21:28.000Z
|
2019-01-07T21:21:28.000Z
|
rnaindel/rnaindel_lib/__init__.py
|
adamdingliang/RNAIndel
|
bc154a25a459ca0dd5c1f2ce064944e979105d23
|
[
"Apache-2.0"
] | 2
|
2019-01-05T16:39:41.000Z
|
2019-01-14T16:00:43.000Z
|
rnaindel/rnaindel_lib/__init__.py
|
adamdingliang/RNAIndel
|
bc154a25a459ca0dd5c1f2ce064944e979105d23
|
[
"Apache-2.0"
] | null | null | null |
from .indel_annotator import *
from .indel_classifier import *
from .indel_curator import *
from .indel_equivalence_solver import *
from .indel_features import *
from .indel_postprocessor import *
from .indel_preprocessor import *
from .indel_protein_processor import *
from .indel_sequence_processor import *
from .indel_reclassifier import *
from .indel_sequence import *
from .indel_snp_annotator import *
from .indel_vcf_preprocessor import *
from .left_aligner import *
from .most_common import *
from .sequence_properties import *
from .indel_vcf_writer import *
from .indel_vcf import *
from .indel_rescuer import *
| 31.15
| 39
| 0.817014
| 82
| 623
| 5.902439
| 0.292683
| 0.371901
| 0.464876
| 0.11157
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.12199
| 623
| 19
| 40
| 32.789474
| 0.884826
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
76a95a6ebc77e115de359d5043fcad6cb79ea7d7
| 210
|
py
|
Python
|
indexer/src/files/__init__.py
|
alliance-genome/agr_archive_initial_prototype
|
8559303de20e55886cc5bc7c2153f9357fc0ca2f
|
[
"MIT"
] | 9
|
2016-10-03T16:10:39.000Z
|
2016-10-10T16:22:52.000Z
|
indexer/src/files/__init__.py
|
alliance-genome/agr
|
8559303de20e55886cc5bc7c2153f9357fc0ca2f
|
[
"MIT"
] | 168
|
2017-02-06T17:07:20.000Z
|
2017-08-23T21:23:55.000Z
|
indexer/src/files/__init__.py
|
alliance-genome/agr_prototype
|
8559303de20e55886cc5bc7c2153f9357fc0ca2f
|
[
"MIT"
] | 12
|
2016-10-04T22:01:48.000Z
|
2017-02-01T21:17:33.000Z
|
from pickle_file import PickleFile
from csv_file import CSVFile
from txt_file import TXTFile
from json_file import JSONFile
from s3_file import S3File
from tar_file import TARFile
from ftp_file import FTPFile
| 23.333333
| 34
| 0.861905
| 35
| 210
| 4.971429
| 0.485714
| 0.402299
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.01105
| 0.138095
| 210
| 8
| 35
| 26.25
| 0.950276
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
76c54758f5e2dde8bc89eade2980b6290aabb17b
| 136
|
py
|
Python
|
milano/backends/__init__.py
|
NVIDIA/Milano
|
bb1e2689955e422d68f887db8c3dacbbb7f16dd5
|
[
"Apache-2.0"
] | 145
|
2018-09-05T05:08:41.000Z
|
2022-03-21T11:10:10.000Z
|
milano/backends/__init__.py
|
hannahaih/Milano
|
bb1e2689955e422d68f887db8c3dacbbb7f16dd5
|
[
"Apache-2.0"
] | 1
|
2018-11-09T00:43:57.000Z
|
2018-11-09T08:35:37.000Z
|
milano/backends/__init__.py
|
hannahaih/Milano
|
bb1e2689955e422d68f887db8c3dacbbb7f16dd5
|
[
"Apache-2.0"
] | 20
|
2018-09-05T14:50:15.000Z
|
2022-03-21T11:09:59.000Z
|
# Copyright (c) 2018 NVIDIA Corporation
from .azkaban import AzkabanBackend
from .aws import AWSBackend
from .slurm import SLURMBackend
| 27.2
| 39
| 0.823529
| 17
| 136
| 6.588235
| 0.764706
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.033898
| 0.132353
| 136
| 4
| 40
| 34
| 0.915254
| 0.272059
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
4f1726dc0c224e975399dbe8925c273aab594406
| 518
|
py
|
Python
|
src/code_generation/code_gen.py
|
georgiIvanov/tcatool
|
11d455eb832dd30c3c66bd3db295e77690670760
|
[
"MIT"
] | null | null | null |
src/code_generation/code_gen.py
|
georgiIvanov/tcatool
|
11d455eb832dd30c3c66bd3db295e77690670760
|
[
"MIT"
] | 6
|
2021-12-17T10:46:56.000Z
|
2021-12-17T12:56:41.000Z
|
src/code_generation/code_gen.py
|
georgiIvanov/tcatool
|
11d455eb832dd30c3c66bd3db295e77690670760
|
[
"MIT"
] | null | null | null |
from code_generation.generate_action import generate_action
from code_generation.generate_state import generate_state
from code_generation.generate_reducer import generate_reducer
from code_generation.generate_environment import generate_environment
from code_generation.generate_view import generate_view
from models.gen_config import GenConfig
def generate_code(config: GenConfig):
generate_action(config)
generate_state(config)
generate_reducer(config)
generate_environment(config)
generate_view(config)
| 37
| 69
| 0.878378
| 66
| 518
| 6.560606
| 0.227273
| 0.092379
| 0.207852
| 0.300231
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.083012
| 518
| 13
| 70
| 39.846154
| 0.911579
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.083333
| false
| 0
| 0.5
| 0
| 0.583333
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
4f2203a6fa56d3b5b9d1e57afad6af04da047d82
| 828
|
py
|
Python
|
src/utilities/test_utils.py
|
hanrastic/ohtu-miniprojekti
|
60cd05973fb5cd223cd8d1ce7fdcefe4955b8d66
|
[
"MIT"
] | null | null | null |
src/utilities/test_utils.py
|
hanrastic/ohtu-miniprojekti
|
60cd05973fb5cd223cd8d1ce7fdcefe4955b8d66
|
[
"MIT"
] | null | null | null |
src/utilities/test_utils.py
|
hanrastic/ohtu-miniprojekti
|
60cd05973fb5cd223cd8d1ce7fdcefe4955b8d66
|
[
"MIT"
] | null | null | null |
from services.bookmarks_service import BookmarksService
from repositories.bookmarks_repository import BookmarksRepository
from db_connection import DBConnection
from ui.app_ui import AppUi
from ui.stub_io import StubIO
class TestUtils:
@staticmethod
def get_test_app_ui():
return AppUi(io=TestUtils.get_test_io(), service=TestUtils.get_test_service())
@staticmethod
def get_test_io():
return StubIO()
@staticmethod
def get_test_service():
return BookmarksService(repository=TestUtils.get_test_repository())
@staticmethod
def get_test_repository():
return BookmarksRepository(database_connection=TestUtils.get_test_db_connection())
@staticmethod
def get_test_db_connection():
return DBConnection('./src/tests/dummy.db', True)
| 28.551724
| 90
| 0.743961
| 95
| 828
| 6.2
| 0.315789
| 0.106961
| 0.152801
| 0.186757
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.183575
| 828
| 29
| 91
| 28.551724
| 0.871302
| 0
| 0
| 0.238095
| 0
| 0
| 0.024155
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.238095
| true
| 0
| 0.238095
| 0.238095
| 0.761905
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
4f6981c0d320c6c5559b432e46ea86f43ac9d04a
| 181
|
py
|
Python
|
scripts/addons/animation_nodes/algorithms/lists/sort.py
|
Tilapiatsu/blender-custom_conf
|
05592fedf74e4b7075a6228b8448a5cda10f7753
|
[
"MIT"
] | 2
|
2020-04-16T22:12:40.000Z
|
2022-01-22T17:18:45.000Z
|
scripts/addons/animation_nodes/algorithms/lists/sort.py
|
Tilapiatsu/blender-custom_conf
|
05592fedf74e4b7075a6228b8448a5cda10f7753
|
[
"MIT"
] | null | null | null |
scripts/addons/animation_nodes/algorithms/lists/sort.py
|
Tilapiatsu/blender-custom_conf
|
05592fedf74e4b7075a6228b8448a5cda10f7753
|
[
"MIT"
] | 2
|
2019-05-16T04:01:09.000Z
|
2020-08-25T11:42:26.000Z
|
import re
def naturalSortKey(text):
return [_convert(c) for c in re.split('([0-9]+)', text)]
def _convert(text):
return text.zfill(10) if text.isdigit() else text.lower()
| 22.625
| 61
| 0.668508
| 29
| 181
| 4.103448
| 0.655172
| 0.168067
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.026316
| 0.160221
| 181
| 7
| 62
| 25.857143
| 0.756579
| 0
| 0
| 0
| 0
| 0
| 0.044199
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.4
| false
| 0
| 0.2
| 0.4
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
4f81fbd3a3d5f09a9fba7d60ca3b364e2c97938e
| 51
|
py
|
Python
|
src/fixturegraph/__init__.py
|
jlee1-made/fixture-graph
|
49cc0261dd1706634e6945668c47db8e5a68634d
|
[
"MIT"
] | null | null | null |
src/fixturegraph/__init__.py
|
jlee1-made/fixture-graph
|
49cc0261dd1706634e6945668c47db8e5a68634d
|
[
"MIT"
] | null | null | null |
src/fixturegraph/__init__.py
|
jlee1-made/fixture-graph
|
49cc0261dd1706634e6945668c47db8e5a68634d
|
[
"MIT"
] | null | null | null |
from ._.diagram import show_diagram, Configuration
| 25.5
| 50
| 0.843137
| 6
| 51
| 6.833333
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.098039
| 51
| 1
| 51
| 51
| 0.891304
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
4fa5cbbbd243d660634705264427f97e6f0c887a
| 43
|
py
|
Python
|
spark_exceptions.py
|
zhexiao/sparksql-stats
|
7528ccb3831b2e0279c61b4f6d2d22450c917423
|
[
"Apache-2.0"
] | 13
|
2019-03-09T12:51:00.000Z
|
2022-02-01T14:51:52.000Z
|
spark_exceptions.py
|
zhexiao/sparksql-stats
|
7528ccb3831b2e0279c61b4f6d2d22450c917423
|
[
"Apache-2.0"
] | null | null | null |
spark_exceptions.py
|
zhexiao/sparksql-stats
|
7528ccb3831b2e0279c61b4f6d2d22450c917423
|
[
"Apache-2.0"
] | 5
|
2018-04-23T07:47:04.000Z
|
2019-09-06T04:27:20.000Z
|
class ResourceError(Exception):
pass
| 14.333333
| 32
| 0.72093
| 4
| 43
| 7.75
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.209302
| 43
| 2
| 33
| 21.5
| 0.911765
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0
| 0
| 0.5
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
8c02e1e4e8de3b7d2169f0ca2efc8f0b841446fc
| 251
|
py
|
Python
|
src/Lexer/token.py
|
RashikaKarki/Storm
|
0861de24c02ad34fe603ebf87f153e75af0e2dad
|
[
"Apache-2.0"
] | 8
|
2021-06-01T20:30:58.000Z
|
2021-10-01T04:03:48.000Z
|
src/Lexer/token.py
|
RashikaKarki/Storm
|
0861de24c02ad34fe603ebf87f153e75af0e2dad
|
[
"Apache-2.0"
] | null | null | null |
src/Lexer/token.py
|
RashikaKarki/Storm
|
0861de24c02ad34fe603ebf87f153e75af0e2dad
|
[
"Apache-2.0"
] | null | null | null |
class Token:
def __init__(self, value = None, type = None) -> None:
self.type = type
self.value = value
def __repr__(self) -> str:
if self.type: return f'{self.type} : {self.value}'
return f'{self.value}'
| 25.1
| 58
| 0.557769
| 33
| 251
| 4
| 0.393939
| 0.272727
| 0.19697
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.302789
| 251
| 9
| 59
| 27.888889
| 0.754286
| 0
| 0
| 0
| 0
| 0
| 0.152
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.285714
| false
| 0
| 0
| 0
| 0.571429
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 5
|
8c1b288fc35ddbec0a4c4eb028205f28c4af656a
| 559
|
py
|
Python
|
pyfsdb/tests/test_label_shrink.py
|
gawseed/pyfsdb
|
40cd3125827189ced722ad5773765077adea595f
|
[
"MIT"
] | 1
|
2022-02-09T03:17:49.000Z
|
2022-02-09T03:17:49.000Z
|
pyfsdb/tests/test_label_shrink.py
|
gawseed/pyfsdb
|
40cd3125827189ced722ad5773765077adea595f
|
[
"MIT"
] | 1
|
2021-02-24T22:15:45.000Z
|
2021-02-25T00:58:17.000Z
|
pyfsdb/tests/test_label_shrink.py
|
gawseed/pyfsdb
|
40cd3125827189ced722ad5773765077adea595f
|
[
"MIT"
] | 1
|
2020-09-28T13:04:08.000Z
|
2020-09-28T13:04:08.000Z
|
def test_label_shrink():
from pyfsdb.tools.pdbheatmap import maybe_shrink_label
assert True
assert maybe_shrink_label("foo") == "foo"
assert maybe_shrink_label("o" * 20) == "o" * 20
assert maybe_shrink_label("o" * 10 + "p" * 10) == "o" * 10 + "p" * 10
assert maybe_shrink_label("o" * 11 + "p" * 11, 20) == \
"o" * 9 + "..." + "p" * 8
assert maybe_shrink_label("o" * 10 + "p" * 11, 20) == \
"o" * 9 + "..." + "p" * 8
assert maybe_shrink_label("o" * 100 + "p" * 11000, 20) == \
"o" * 9 + "..." + "p" * 8
| 39.928571
| 73
| 0.513417
| 79
| 559
| 3.43038
| 0.278481
| 0.284133
| 0.413284
| 0.487085
| 0.531365
| 0.339483
| 0.339483
| 0.236162
| 0.236162
| 0.236162
| 0
| 0.098522
| 0.273703
| 559
| 13
| 74
| 43
| 0.568966
| 0
| 0
| 0.25
| 0
| 0
| 0.059034
| 0
| 0
| 0
| 0
| 0
| 0.583333
| 1
| 0.083333
| true
| 0
| 0.083333
| 0
| 0.166667
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
8c3431ae182f8cd6153c5ab195f51788ede8f9ea
| 45
|
py
|
Python
|
tryst/tryst/__main__.py
|
priyanshublaze/tryst
|
edc757d7233abeee6a4ff5a625b3b3b09fd13bbc
|
[
"Apache-2.0"
] | null | null | null |
tryst/tryst/__main__.py
|
priyanshublaze/tryst
|
edc757d7233abeee6a4ff5a625b3b3b09fd13bbc
|
[
"Apache-2.0"
] | null | null | null |
tryst/tryst/__main__.py
|
priyanshublaze/tryst
|
edc757d7233abeee6a4ff5a625b3b3b09fd13bbc
|
[
"Apache-2.0"
] | null | null | null |
from .main import app
app(prog_name="tryst")
| 15
| 22
| 0.755556
| 8
| 45
| 4.125
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.111111
| 45
| 2
| 23
| 22.5
| 0.825
| 0
| 0
| 0
| 0
| 0
| 0.111111
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
8c4be47c4ae8891662dc63d2d46394e3e3fd44b7
| 79
|
py
|
Python
|
ctaplot/plots/__init__.py
|
vuillaut/CTAPLOT
|
3a7757f6e2487806ca87e41fcd123ccfbd4b964c
|
[
"MIT"
] | 5
|
2018-07-03T16:13:29.000Z
|
2021-02-22T13:59:57.000Z
|
ctaplot/plots/__init__.py
|
vuillaut/CTAPLOT
|
3a7757f6e2487806ca87e41fcd123ccfbd4b964c
|
[
"MIT"
] | 39
|
2020-03-10T16:52:45.000Z
|
2022-01-26T14:13:40.000Z
|
ctaplot/plots/__init__.py
|
vuillaut/CTAPLOT
|
3a7757f6e2487806ca87e41fcd123ccfbd4b964c
|
[
"MIT"
] | 6
|
2019-11-22T10:01:23.000Z
|
2021-09-20T12:32:34.000Z
|
from .plots import *
from . import calib
from . import grid
from . import style
| 19.75
| 20
| 0.746835
| 12
| 79
| 4.916667
| 0.5
| 0.508475
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.189873
| 79
| 4
| 21
| 19.75
| 0.921875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
4fcdec2f91cb58d9bd67a412c2a31bea893fd00a
| 199
|
py
|
Python
|
char_scripts/admin.py
|
sionar/CScripts
|
f8604b076905b4c7c8f526ae6f9a44974a7a6d77
|
[
"MIT"
] | null | null | null |
char_scripts/admin.py
|
sionar/CScripts
|
f8604b076905b4c7c8f526ae6f9a44974a7a6d77
|
[
"MIT"
] | 3
|
2022-02-05T04:33:51.000Z
|
2022-02-08T05:27:58.000Z
|
char_scripts/admin.py
|
sionar/CScripts
|
f8604b076905b4c7c8f526ae6f9a44974a7a6d77
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
# Register your models here.
from .models import Character, Script, Version
admin.site.register(Character)
admin.site.register(Script)
admin.site.register(Version)
| 22.111111
| 46
| 0.809045
| 27
| 199
| 5.962963
| 0.481481
| 0.167702
| 0.31677
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.100503
| 199
| 8
| 47
| 24.875
| 0.899441
| 0.130653
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.4
| 0
| 0.4
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
4fd4f7ef85457e599af3a96ea731235a5e9b159e
| 9,801
|
py
|
Python
|
tests/test_models.py
|
marios-zindilis/phlooph
|
06bfb005992d3430714100aa5347db2921cfee5f
|
[
"CC0-1.0"
] | null | null | null |
tests/test_models.py
|
marios-zindilis/phlooph
|
06bfb005992d3430714100aa5347db2921cfee5f
|
[
"CC0-1.0"
] | null | null | null |
tests/test_models.py
|
marios-zindilis/phlooph
|
06bfb005992d3430714100aa5347db2921cfee5f
|
[
"CC0-1.0"
] | null | null | null |
import pytest
import unittest
from unittest import mock
import sys
from pathlib import Path, PosixPath, WindowsPath
import datetime
from phlooph.models import Source, Post
FAKE_POST = """---
title: Fake Post Title
first-published: 2020-12-17
tags:
- Fake Tag 1
- Fake Tag 2
description: This is the description of a fake post
---
This is the post excerpt.
<!-- read more -->
This is the post content.
"""
FAKE_POST_TEXT = (
"---\ntitle: Fake Post Title\nfirst-published: 2020-12-17\ntags:\n- Fake Tag 1\n- Fake Tag 2\ndescription: This "
"is the description of a fake post\n---\n\nThis is the post excerpt.\n\n<!-- read more -->\n\nThis is the post "
"content."
)
FAKE_POST_LINES = [
"---",
"title: Fake Post Title",
"first-published: 2020-12-17",
"tags:",
"- Fake Tag 1",
"- Fake Tag 2",
"description: This is the description of a fake post",
"---",
"",
"This is the post excerpt.",
"",
"<!-- read more -->",
"",
"This is the post content.",
]
FAKE_POST_FRONT_MATTER_TEXT = (
"title: Fake Post Title\nfirst-published: 2020-12-17\ntags:\n- Fake Tag 1\n- Fake Tag 2\ndescription: This is the "
"description of a fake post"
)
FAKE_POST_FRONT_MATTER = {
"title": "Fake Post Title",
"first-published": datetime.date(2020, 12, 17),
"tags": ["Fake Tag 1", "Fake Tag 2"],
"description": "This is the description of a fake post",
}
FAKE_POST_TEXT_EXCLUDING_FRONT_MATTER = "\nThis is the post excerpt.\n\n<!-- read more -->\n\nThis is the post content."
FAKE_POST_EXCERPT = "<p>This is the post excerpt.</p>\n"
# example of the text of a post that does not have an exceprt:
FAKE_POST_TEXT_WITHOUT_EXCERPT = (
"---\ntitle: Fake Post Title\nfirst-published: 2020-12-17\ntags:\n- Fake Tag 1\n- Fake Tag 2\n---\n\nThis is the "
"post content."
)
FAKE_POST_CONTENT = "<p>This is the post excerpt.</p>\n\n<!-- read more -->\n\n<p>This is the post content.</p>\n"
FAKE_POST_DESCRIPTION = "This is the description of a fake post"
@pytest.mark.parametrize(
"path",
[
"/path/to/some/fake/post.md",
Path("/path/to/some/fake/post.md"),
],
)
@unittest.skipIf(sys.platform.startswith("win"), "requires Windows")
def test_post_path_is_posix_path(path):
"""
The `Post` class can be initialized with either a string or a `Path`, but `Post().path` should always be a
PosixPath on POSIX platforms.
"""
post = Post(path)
assert type(post.path) is PosixPath
@pytest.mark.parametrize(
"path",
[
"/path/to/some/fake/post.md",
Path("/path/to/some/fake/post.md"),
],
)
@unittest.skipUnless(sys.platform.startswith("win"), "requires Windows")
def test_post_path_is_windows_path(path):
"""
The `Post` class can be initialized with either a string or a `Path`, but `Post().path` should always be a
WindowsPath on Windows platforms.
"""
post = Post(path)
assert type(post.path) is WindowsPath
@mock.patch("phlooph.models.Path.read_text", return_value=FAKE_POST_TEXT)
def test_post_lines(mock_read_text):
post = Post("some-fake-post.md")
assert post.lines == FAKE_POST_LINES
@mock.patch("phlooph.models.Path.read_text", return_value=FAKE_POST_TEXT)
def test_post_get_front_matter_text(mock_read_text):
post = Post("some-fake-post.md")
assert post._get_front_matter_text() == FAKE_POST_FRONT_MATTER_TEXT
@mock.patch("phlooph.models.Path.read_text", return_value=FAKE_POST_TEXT)
def test_post_front_matter(mock_read_text):
post = Post("some-fake-post.md")
assert post.front_matter == FAKE_POST_FRONT_MATTER
@mock.patch("phlooph.models.Path.read_text", return_value=FAKE_POST_TEXT)
def test_post_title(mock_read_text):
post = Post("some-fake-post.md")
assert post.title == "Fake Post Title"
@mock.patch("phlooph.models.Path.read_text", return_value=FAKE_POST_TEXT)
def test_post_description(mock_read_text):
post = Post("some-fake-post.md")
assert post.description == FAKE_POST_DESCRIPTION
@mock.patch("phlooph.models.Path.read_text", return_value=FAKE_POST_TEXT)
def test_post_tags(mock_read_text):
post = Post("some-fake-post.md")
assert post.tags == ["fake-tag-1", "fake-tag-2"]
@mock.patch("phlooph.models.Path.read_text", return_value=FAKE_POST_TEXT)
def test_post_date_published(mock_read_text):
post = Post("some-fake-post.md")
assert post.date_published == datetime.date(2020, 12, 17)
@mock.patch("phlooph.models.Path.read_text", return_value=FAKE_POST_TEXT)
def test_post_text(mock_read_text):
post = Post("some-fake-post.md")
assert post.text == FAKE_POST_TEXT_EXCLUDING_FRONT_MATTER
@mock.patch("phlooph.models.Path.read_text", return_value=FAKE_POST_TEXT)
def test_post_excerpt(mock_read_text):
post = Post("some-fake-post.md")
assert post.excerpt == FAKE_POST_EXCERPT
@mock.patch("phlooph.models.Path.read_text", return_value=FAKE_POST_TEXT_WITHOUT_EXCERPT)
def test_post_excerpt_without_excerpt(mock_read_text):
post = Post("some-fake-post.md")
assert post.excerpt is None
@mock.patch("phlooph.models.config.SOURCE_DIR", Path("/home/user/source-dir"))
def test_post_path_relative_to_source_dir():
post = Post("/home/user/source-dir/posts/some-post/index.md")
assert post.path_relative_to_source_dir == Path("posts/some-post/index.md")
@mock.patch("phlooph.models.config.SOURCE_DIR", Path("/home/user/source-dir"))
def test_post_relative_url():
post = Post("/home/user/source-dir/posts/some-post/index.md")
assert post.relative_url == "/posts/some-post/"
@mock.patch("phlooph.models.Path.read_text", return_value=FAKE_POST_TEXT)
def test_post_content(mock_read_text):
post = Post("some-fake-post.md")
assert post.content == FAKE_POST_CONTENT
@pytest.mark.parametrize(
"path, mock_path_is_dir_return_value, expected_is_dir, expected_is_md",
[
("/var/log", True, True, False),
("/path/to/posts/post.md", False, False, True),
("/post/to/some/image/image.png", False, False, False),
],
)
@mock.patch("phlooph.models.Path.is_dir")
def test_source_type(mock_path_is_dir, path, mock_path_is_dir_return_value, expected_is_dir, expected_is_md):
mock_path_is_dir.return_value = mock_path_is_dir_return_value
source = Source(path)
assert source.is_dir is expected_is_dir
assert source.is_md is expected_is_md
@pytest.mark.parametrize(
"path, expected_destination",
[
("/home/user/source-dir/some-other-dir/", Path("/home/user/destination-dir/some-other-dir/")),
("/home/user/source-dir/posts/post.md", Path("/home/user/destination-dir/posts/index.html")),
("/home/user/source-dir/images/image.png", Path("/home/user/destination-dir/images/image.png")),
],
)
@mock.patch("phlooph.models.config.DESTINATION_DIR", Path("/home/user/destination-dir"))
@mock.patch("phlooph.models.config.SOURCE_DIR", Path("/home/user/source-dir"))
def test_source_destination(path, expected_destination):
source = Source(path)
assert source.destination == expected_destination
@pytest.mark.parametrize(
"path, expected_parent_directory",
[
("/home/user/source-dir/some-other-dir/", Path("/home/user/destination-dir/")),
("/home/user/source-dir/posts/post.md", Path("/home/user/destination-dir/posts/")),
("/home/user/source-dir/images/image.png", Path("/home/user/destination-dir/images/")),
],
)
@mock.patch("phlooph.models.config.DESTINATION_DIR", Path("/home/user/destination-dir"))
@mock.patch("phlooph.models.config.SOURCE_DIR", Path("/home/user/source-dir"))
def test_source_parent_directory(path, expected_parent_directory):
source = Source(path)
assert source.parent_directory == expected_parent_directory
@mock.patch.object(Source, "parent_directory")
@mock.patch.object(Source, "destination")
@mock.patch.object(Source, "is_dir", True)
def test_source_mkdir_when_source_is_dir(mock_source_destination, mock_source_parent_directory):
source = Source("some-fake-path")
source.mkdir()
mock_source_destination.mkdir.assert_called_once_with(parents=True, exist_ok=True)
mock_source_parent_directory.assert_not_called()
@mock.patch.object(Source, "parent_directory")
@mock.patch.object(Source, "destination")
@mock.patch.object(Source, "is_dir", False)
def test_source_mkdir_when_source_is_not_dir(mock_source_destination, mock_source_parent_directory):
source = Source("some-fake-path")
source.mkdir()
mock_source_destination.mkdir.assert_not_called()
mock_source_parent_directory.mkdir.assert_called_once_with(parents=True, exist_ok=True)
@mock.patch.object(Source, "parent_directory", Path("/fake/path"))
@mock.patch("phlooph.models.Path.is_file", return_value=True)
def test_post_image_when_image_exists(mock_path_is_file):
post = Post("/fake/path/some-fake-post.md")
assert post.image == "/fake/path/index.jpg"
@mock.patch.object(Source, "parent_directory", Path("/fake/path"))
@mock.patch("phlooph.models.Path.is_file", return_value=False)
def test_post_image_when_image_does_not_exist(mock_path_is_file):
post = Post("/fake/path/some-fake-post.md")
assert post.image is None
@mock.patch("phlooph.models.config.SOURCE_DIR", Path("/home/user/source-dir"))
@mock.patch("phlooph.models.Path.read_text", return_value=FAKE_POST_TEXT)
def test_post_context(mock_read_text):
post = Post("/home/user/source-dir/posts/some-post/index.md")
assert post.context == {
"title": "Fake Post Title",
"description": FAKE_POST_DESCRIPTION,
"date_published": datetime.date(2020, 12, 17),
"content": FAKE_POST_CONTENT,
"relative_url": "/posts/some-post/",
"excerpt": FAKE_POST_EXCERPT,
"image": None,
"tags": ["fake-tag-1", "fake-tag-2"],
}
| 34.632509
| 120
| 0.715641
| 1,468
| 9,801
| 4.557221
| 0.08515
| 0.075336
| 0.052616
| 0.072347
| 0.838416
| 0.769806
| 0.728102
| 0.703288
| 0.691928
| 0.673393
| 0
| 0.009454
| 0.136619
| 9,801
| 282
| 121
| 34.755319
| 0.781139
| 0.034588
| 0
| 0.339623
| 0
| 0.028302
| 0.381832
| 0.186565
| 0
| 0
| 0
| 0
| 0.122642
| 1
| 0.108491
| false
| 0
| 0.033019
| 0
| 0.141509
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
8b03c4592774fce4e48b3a2c944d1db95199a6e5
| 289
|
py
|
Python
|
DownloadAllDoubles.py
|
ducksluck/SAC_NORDVPN
|
54c802d014673b87da3e92c5267d4ad02d02d249
|
[
"MIT"
] | null | null | null |
DownloadAllDoubles.py
|
ducksluck/SAC_NORDVPN
|
54c802d014673b87da3e92c5267d4ad02d02d249
|
[
"MIT"
] | null | null | null |
DownloadAllDoubles.py
|
ducksluck/SAC_NORDVPN
|
54c802d014673b87da3e92c5267d4ad02d02d249
|
[
"MIT"
] | null | null | null |
from getLinks import getLinks
from RemoveOldConfigs import RemoveOldConfigs
# TODO figure out why the progress bar over runs for double vpn
def DownloadAllDoubles(configPoolDir, colors):
RemoveOldConfigs("-", configPoolDir, colors)
getLinks("-", configPoolDir, colors)
| 28.9
| 64
| 0.761246
| 30
| 289
| 7.333333
| 0.666667
| 0.259091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.17301
| 289
| 9
| 65
| 32.111111
| 0.920502
| 0.211073
| 0
| 0
| 0
| 0
| 0.009217
| 0
| 0
| 0
| 0
| 0.111111
| 0
| 1
| 0.2
| false
| 0
| 0.4
| 0
| 0.6
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
8b2fc623ab264b3b01591a4a1f28d8a99dda2e46
| 186
|
py
|
Python
|
statistic/two_sample_statistic.py
|
cviaai/unsupervised-heartbeat-anomaly-detection
|
3586bf505256463c030422607e95e4cee40fa086
|
[
"MIT"
] | 2
|
2020-10-14T05:50:25.000Z
|
2021-05-11T03:42:02.000Z
|
statistic/two_sample_statistic.py
|
cviaai/unsupervised-heartbeat-anomaly-detection
|
3586bf505256463c030422607e95e4cee40fa086
|
[
"MIT"
] | null | null | null |
statistic/two_sample_statistic.py
|
cviaai/unsupervised-heartbeat-anomaly-detection
|
3586bf505256463c030422607e95e4cee40fa086
|
[
"MIT"
] | null | null | null |
from abc import ABC, abstractmethod
import numpy as np
class TwoSampleStatistic(ABC):
@abstractmethod
def __call__(self, first: np.ndarray, second: np.ndarray) -> float: pass
| 20.666667
| 76
| 0.741935
| 24
| 186
| 5.583333
| 0.708333
| 0.253731
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.172043
| 186
| 8
| 77
| 23.25
| 0.87013
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0.2
| 0.4
| 0
| 0.8
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
|
0
| 5
|
8c78de70340e6214125e7c0860cafebe1c024a11
| 89
|
py
|
Python
|
spotiPlus/genius/secrets.py
|
snaraj/SpotiPlus
|
875b700f998d487d30dbc6e11e7f6dc5b49c65ce
|
[
"MIT"
] | 1
|
2022-01-04T20:06:46.000Z
|
2022-01-04T20:06:46.000Z
|
spotiPlus/genius/secrets.py
|
snaraj/SpotiPlus
|
875b700f998d487d30dbc6e11e7f6dc5b49c65ce
|
[
"MIT"
] | null | null | null |
spotiPlus/genius/secrets.py
|
snaraj/SpotiPlus
|
875b700f998d487d30dbc6e11e7f6dc5b49c65ce
|
[
"MIT"
] | null | null | null |
GENIUS_ACCESS_TOKEN = "6QGMcUYCz4eBOK1_tIwMCXaGk1CEpjpRrAOGcNKifCEb8i756uXv1wBhkgesQGHX"
| 44.5
| 88
| 0.932584
| 5
| 89
| 16
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.104651
| 0.033708
| 89
| 1
| 89
| 89
| 0.825581
| 0
| 0
| 0
| 0
| 0
| 0.719101
| 0.719101
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
8c9f320e3cba7ee9698f98e768017dce995b5896
| 97
|
py
|
Python
|
gutenTAG/generator/__init__.py
|
HPI-Information-Systems/gutentag
|
5638dadf9b1e83699ca317ce9eb4569a6c350064
|
[
"MIT"
] | 1
|
2022-03-01T13:29:16.000Z
|
2022-03-01T13:29:16.000Z
|
gutenTAG/generator/__init__.py
|
HPI-Information-Systems/gutentag
|
5638dadf9b1e83699ca317ce9eb4569a6c350064
|
[
"MIT"
] | null | null | null |
gutenTAG/generator/__init__.py
|
HPI-Information-Systems/gutentag
|
5638dadf9b1e83699ca317ce9eb4569a6c350064
|
[
"MIT"
] | null | null | null |
from .timeseries import TimeSeries
from .overview import Overview
from .gutenTAG import GutenTAG
| 24.25
| 34
| 0.845361
| 12
| 97
| 6.833333
| 0.416667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.123711
| 97
| 3
| 35
| 32.333333
| 0.964706
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
506a3ff5246efa7268d7686efaf9ad6fe78f2d58
| 1,741
|
py
|
Python
|
codewars/8kyu/doha22/kata8/feast/bench_test.py
|
doha22/Training_one
|
0cd7cf86c7da0f6175834146296b763d1841766b
|
[
"MIT"
] | null | null | null |
codewars/8kyu/doha22/kata8/feast/bench_test.py
|
doha22/Training_one
|
0cd7cf86c7da0f6175834146296b763d1841766b
|
[
"MIT"
] | 2
|
2019-01-22T10:53:42.000Z
|
2019-01-31T08:02:48.000Z
|
codewars/8kyu/doha22/kata8/feast/bench_test.py
|
doha22/Training_one
|
0cd7cf86c7da0f6175834146296b763d1841766b
|
[
"MIT"
] | 13
|
2019-01-22T10:37:42.000Z
|
2019-01-25T13:30:43.000Z
|
from feast import feast
from feast import feast2
def test(benchmark):
assert benchmark(feast,"great blue heron", "garlic naan") == True
def test2(benchmark):
assert benchmark(feast2,"great blue heron", "garlic naan") == True
''''''''''
----------------------------------------------------------------------------------- benchmark: 2 tests ----------------------------------------------------------------------------------
Name (time in us) Min Max Mean StdDev Median IQR Outliers OPS (Kops/s) Rounds Iterations
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test2 1.6421 (1.0) 766.4562 (1.71) 2.5549 (1.0) 3.6185 (1.12) 2.0526 (1.0) 0.4105 (1.0) 1244;20410 391.4105 (1.0) 143288 1
test 2.0526 (1.25) 449.1179 (1.0) 2.6514 (1.04) 3.2226 (1.0) 2.4632 (1.20) 0.4105 (1.00) 719;10817 377.1643 (0.96) 76122 1
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Legend:
Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
OPS: Operations Per Second, computed as 1 / Mean
================================================================================ 2 passed in 10.29 seconds =================================================================================
'''''''''''''''
| 66.961538
| 188
| 0.319357
| 149
| 1,741
| 3.731544
| 0.557047
| 0.02518
| 0.053957
| 0.071942
| 0.100719
| 0.100719
| 0
| 0
| 0
| 0
| 0
| 0.115385
| 0.208501
| 1,741
| 26
| 189
| 66.961538
| 0.288099
| 0
| 0
| 0.111111
| 0
| 0.222222
| 0.882488
| 0.400922
| 0
| 0
| 0
| 0
| 0.111111
| 1
| 0.111111
| false
| 0.055556
| 0.111111
| 0
| 0.222222
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
506ed217835c3b67d2856851a73714428c9bd781
| 1,063
|
py
|
Python
|
src/__init__.py
|
LingxB/atlx
|
1230c4f845adb57edb2a91556282af500ef27880
|
[
"MIT"
] | 6
|
2019-12-31T03:17:36.000Z
|
2021-12-27T07:03:25.000Z
|
src/__init__.py
|
LingxB/atlx
|
1230c4f845adb57edb2a91556282af500ef27880
|
[
"MIT"
] | 8
|
2020-01-28T23:14:20.000Z
|
2022-02-10T00:47:35.000Z
|
src/__init__.py
|
LingxB/atlx
|
1230c4f845adb57edb2a91556282af500ef27880
|
[
"MIT"
] | 2
|
2019-12-31T09:38:32.000Z
|
2020-05-21T06:02:19.000Z
|
#
#
#
#
# _oo8oo_
#
# o8888888o
#
# 88" . "88
#
# (| -_- |)
#
# 0\ = /0
#
# ___/'==='\___
#
# .' \\| |// '.
#
# / \\||| : |||// \
#
# / _||||| -:- |||||_ \
#
# | | \\\ - /// | |
#
# | \_| ''\---/'' |_/ |
#
# \ .-\__ '-' __/-. /
#
# ___'. .' /--.--\ '. .'___
#
# ."" '< '.___\_<|>_/___.' >' "".
#
# | | : `- \`.:`\ _ /`:.`/ -` : | |
#
# \ \ `-. \_ __\ /__ _/ .-` / /
#
# =====`-.____`.___ \_____/ ___.`____.-`=====
#
# `=---=`
#
#
#
#
#
# ------------------------------------------------
#
#
#
# 佛祖保佑 模型牛逼
#
#
| 20.442308
| 64
| 0.079962
| 8
| 1,063
| 3.5
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.037135
| 0.645343
| 1,063
| 52
| 65
| 20.442308
| 0.037135
| 0.87206
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
5071fc73a2b0593ced86f934819b6be2e98d4a59
| 35
|
py
|
Python
|
demo.py
|
MNikov/Python-OOP-October-2020
|
a53e4555758ec810605e31e7b2c71b65c49b2332
|
[
"MIT"
] | null | null | null |
demo.py
|
MNikov/Python-OOP-October-2020
|
a53e4555758ec810605e31e7b2c71b65c49b2332
|
[
"MIT"
] | null | null | null |
demo.py
|
MNikov/Python-OOP-October-2020
|
a53e4555758ec810605e31e7b2c71b65c49b2332
|
[
"MIT"
] | null | null | null |
a = {'asd': 2, 3: 4}
print(list(a))
| 17.5
| 20
| 0.485714
| 8
| 35
| 2.125
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.103448
| 0.171429
| 35
| 2
| 21
| 17.5
| 0.482759
| 0
| 0
| 0
| 0
| 0
| 0.083333
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.5
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
508a281c9316405f6027fe529008aa5beff47da9
| 163
|
py
|
Python
|
recipe/admin.py
|
UtkarshAgrawalDTU/My-Fridge-API
|
8b73b40ef5c4920b47db66574305c26095f9b1e7
|
[
"MIT"
] | null | null | null |
recipe/admin.py
|
UtkarshAgrawalDTU/My-Fridge-API
|
8b73b40ef5c4920b47db66574305c26095f9b1e7
|
[
"MIT"
] | 3
|
2021-06-04T23:22:04.000Z
|
2021-09-22T19:10:42.000Z
|
recipe/admin.py
|
UtkarshAgrawalDTU/My-Fridge-API
|
8b73b40ef5c4920b47db66574305c26095f9b1e7
|
[
"MIT"
] | 1
|
2021-08-20T10:50:24.000Z
|
2021-08-20T10:50:24.000Z
|
from django.contrib import admin
from .models import Recipe, Ingredient
# Register your models here.
admin.site.register(Recipe)
admin.site.register(Ingredient)
| 20.375
| 38
| 0.809816
| 22
| 163
| 6
| 0.545455
| 0.136364
| 0.257576
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.110429
| 163
| 7
| 39
| 23.285714
| 0.910345
| 0.159509
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
50a62762f45a8e2984e4aa6f3abd693f3b47fda8
| 149
|
py
|
Python
|
utils/filters.py
|
aroaminggeek/pelican-striped
|
2e050ab66804f13a7bb55518e7985e0ff83fd7cc
|
[
"CC-BY-3.0"
] | 1
|
2017-03-26T23:07:15.000Z
|
2017-03-26T23:07:15.000Z
|
utils/filters.py
|
aroaminggeek/pelican-striped
|
2e050ab66804f13a7bb55518e7985e0ff83fd7cc
|
[
"CC-BY-3.0"
] | null | null | null |
utils/filters.py
|
aroaminggeek/pelican-striped
|
2e050ab66804f13a7bb55518e7985e0ff83fd7cc
|
[
"CC-BY-3.0"
] | 1
|
2018-08-14T16:10:23.000Z
|
2018-08-14T16:10:23.000Z
|
#!/usr/local/bin/python
import inflect
o = inflect.engine()
def ordinal(self):
return o.ordinal(self) # '1st' '2nd' '11th' '23rd' et al
| 13.545455
| 60
| 0.630872
| 22
| 149
| 4.272727
| 0.818182
| 0.234043
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.05042
| 0.201342
| 149
| 10
| 61
| 14.9
| 0.739496
| 0.369128
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0.25
| 0.75
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
50be0f4417989098ec34ef5732c828ca00daea87
| 343
|
py
|
Python
|
app.py
|
yasmunoz/Blog_Post_2
|
a07d34f0a86ef1f48bc487fc3a4f022b556e0b2d
|
[
"MIT"
] | null | null | null |
app.py
|
yasmunoz/Blog_Post_2
|
a07d34f0a86ef1f48bc487fc3a4f022b556e0b2d
|
[
"MIT"
] | null | null | null |
app.py
|
yasmunoz/Blog_Post_2
|
a07d34f0a86ef1f48bc487fc3a4f022b556e0b2d
|
[
"MIT"
] | null | null | null |
from flask import Flask, render_template, request
app = Flask(__name__)
@app.route("/")
def main():
return render_template('base.html')
@app.route("/view/", methods=['POST', 'GET'])
def view():
return render_template('ask.html', methods=['POST', 'GET'])
@app.route("/submit/")
def submit():
return render_template('submit.html')
| 24.5
| 63
| 0.673469
| 45
| 343
| 4.955556
| 0.444444
| 0.251121
| 0.269058
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.122449
| 343
| 13
| 64
| 26.384615
| 0.740864
| 0
| 0
| 0
| 0
| 0
| 0.166181
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.272727
| false
| 0
| 0.090909
| 0.272727
| 0.636364
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
50d5ef493275c8622ccfeecfe067935db5175fe2
| 17
|
py
|
Python
|
allogger/api/__init__.py
|
s-bl/ALLogger
|
03850a2423cffcc6e77de90f9430db9098fd01fc
|
[
"MIT"
] | null | null | null |
allogger/api/__init__.py
|
s-bl/ALLogger
|
03850a2423cffcc6e77de90f9430db9098fd01fc
|
[
"MIT"
] | null | null | null |
allogger/api/__init__.py
|
s-bl/ALLogger
|
03850a2423cffcc6e77de90f9430db9098fd01fc
|
[
"MIT"
] | null | null | null |
from . import hdf
| 17
| 17
| 0.764706
| 3
| 17
| 4.333333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.176471
| 17
| 1
| 17
| 17
| 0.928571
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
50e7886567afb647975eebf4d0c13e957c191e73
| 147
|
py
|
Python
|
tests/web_platform/css_flexbox_1/test_flexbox_inline.py
|
jonboland/colosseum
|
cbf974be54fd7f6fddbe7285704cfaf7a866c5c5
|
[
"BSD-3-Clause"
] | 71
|
2015-04-13T09:44:14.000Z
|
2019-03-24T01:03:02.000Z
|
tests/web_platform/css_flexbox_1/test_flexbox_inline.py
|
jonboland/colosseum
|
cbf974be54fd7f6fddbe7285704cfaf7a866c5c5
|
[
"BSD-3-Clause"
] | 35
|
2019-05-06T15:26:09.000Z
|
2022-03-28T06:30:33.000Z
|
tests/web_platform/css_flexbox_1/test_flexbox_inline.py
|
jonboland/colosseum
|
cbf974be54fd7f6fddbe7285704cfaf7a866c5c5
|
[
"BSD-3-Clause"
] | 139
|
2015-05-30T18:37:43.000Z
|
2019-03-27T17:14:05.000Z
|
from tests.utils import W3CTestCase
class TestFlexbox_Inline(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'flexbox_inline'))
| 24.5
| 69
| 0.802721
| 17
| 147
| 6.529412
| 0.764706
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.022556
| 0.095238
| 147
| 5
| 70
| 29.4
| 0.81203
| 0
| 0
| 0
| 0
| 0
| 0.095238
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
0fc638741ba834e9624bbaf152bdd9e0f0d8038a
| 200,601
|
py
|
Python
|
MarkdownHtmlPreview.py
|
ilessing/MarkdownHtmlPreview
|
f07821868308425dbe0cb42cf500bc40d2b07f09
|
[
"MIT"
] | 23
|
2015-02-28T14:00:38.000Z
|
2022-03-14T13:34:42.000Z
|
MarkdownHtmlPreview.py
|
ilessing/MarkdownHtmlPreview
|
f07821868308425dbe0cb42cf500bc40d2b07f09
|
[
"MIT"
] | 5
|
2015-03-04T16:05:10.000Z
|
2021-06-28T18:08:42.000Z
|
MarkdownHtmlPreview.py
|
ilessing/MarkdownHtmlPreview
|
f07821868308425dbe0cb42cf500bc40d2b07f09
|
[
"MIT"
] | 9
|
2015-03-13T15:35:38.000Z
|
2020-12-14T07:34:16.000Z
|
import os
import sublime
import sublime_plugin
import tempfile
import webbrowser
import json
import subprocess
# The plugin is partially based on the GitHubMarkdownPreview plugin by dotcypress
# https://github.com/dotcypress/GitHubMarkdownPreview
# The python package included with sublime text for Linux is missing the ssl
# module (for technical reasons), so this import will fail. But, we can use the
# curl command instead, which should be present on just about any Linux.
use_curl = False
try:
import ssl
except ImportError as e:
use_curl = True
try:
import urllib2
except ImportError:
import urllib.request
html = """<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
<title>Markdown preview</title>
<style>.markdown-body hr::after,.markdown-body::after{clear:both}@font-face{font-family:octicons-link;src:url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff')}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#24292e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .pl-c{color:#6a737d}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#005cc5}.markdown-body .pl-e,.markdown-body .pl-en{color:#6f42c1}.markdown-body .pl-s .pl-s1,.markdown-body .pl-smi{color:#24292e}.markdown-body .pl-ent{color:#22863a}.markdown-body .pl-k{color:#d73a49}.markdown-body .pl-pds,.markdown-body .pl-s,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre{color:#032f62}.markdown-body .pl-smw,.markdown-body .pl-v{color:#e36209}.markdown-body .pl-bu{color:#b31d28}.markdown-body .pl-ii{color:#fafbfc;background-color:#b31d28}.markdown-body .pl-c2{color:#fafbfc;background-color:#d73a49}.markdown-body .pl-c2::before{content:"^M"}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#22863a}.markdown-body .pl-ml{color:#735c0f}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#005cc5}.markdown-body .pl-mi{font-style:italic;color:#24292e}.markdown-body .pl-mb{font-weight:700;color:#24292e}.markdown-body .pl-md{color:#b31d28;background-color:#ffeef0}.markdown-body .pl-mi1{color:#22863a;background-color:#f0fff4}.markdown-body .pl-mc{color:#e36209;background-color:#ffebda}.markdown-body .pl-mi2{color:#f6f8fa;background-color:#005cc5}.markdown-body .pl-mdr{font-weight:700;color:#6f42c1}.markdown-body .pl-ba{color:#586069}.markdown-body .pl-sg{color:#959da5}.markdown-body .pl-corl{text-decoration:underline;color:#032f62}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body hr::after,.markdown-body hr::before,.markdown-body::after,.markdown-body::before{display:table;content:""}.markdown-body a{background-color:transparent;color:#0366d6;text-decoration:none}.markdown-body a:active,.markdown-body a:hover{outline-width:0}.markdown-body h1{margin:.67em 0}.markdown-body img{border-style:none}.markdown-body hr{box-sizing:content-box}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body dl dt,.markdown-body strong,.markdown-body table th{font-weight:600}.markdown-body code,.markdown-body pre{font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace}.markdown-body [type=checkbox]{box-sizing:border-box;padding:0}.markdown-body *{box-sizing:border-box}.markdown-body a:hover{text-decoration:underline}.markdown-body td,.markdown-body th{padding:0}.markdown-body blockquote{margin:0}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body .pl-0{padding-left:0!important}.markdown-body .pl-1{padding-left:4px!important}.markdown-body .pl-2{padding-left:8px!important}.markdown-body .pl-3{padding-left:16px!important}.markdown-body .pl-4{padding-left:24px!important}.markdown-body .pl-5{padding-left:32px!important}.markdown-body .pl-6{padding-left:40px!important}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:0}.markdown-body blockquote,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body hr{overflow:hidden;background:#e1e4e8;height:.25em;padding:0;margin:24px 0;border:0}.markdown-body blockquote{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5}.markdown-body h1,.markdown-body h2{padding-bottom:.3em;border-bottom:1px solid #eaecef}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1b1f23;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1{font-size:2em}.markdown-body h2{font-size:1.5em}.markdown-body h3{font-size:1.25em}.markdown-body h4{font-size:1em}.markdown-body h5{font-size:.875em}.markdown-body h6{font-size:.85em;color:#6a737d}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li{word-wrap:break-all}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:100%;overflow:auto}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #dfe2e5}.markdown-body table tr{background-color:#fff;border-top:1px solid #c6cbd1}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body img{max-width:100%;box-sizing:content-box;background-color:#fff}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body code{padding:.2em .4em;margin:0;font-size:85%;background-color:rgba(27,31,35,.05);border-radius:3px}.markdown-body pre{word-wrap:normal}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:0 0;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}.markdown-body pre code{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .full-commit .btn-outline:not(:disabled):hover{color:#005cc5;border-color:#005cc5}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fafbfc;border:1px solid #d1d5da;border-bottom-color:#c6cbd1;border-radius:3px;box-shadow:inset 0 -1px 0 #c6cbd1}.markdown-body :checked+.radio-label{position:relative;z-index:1;border-color:#0366d6}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{margin:0 .2em .25em -1.6em;vertical-align:middle}.markdown-body hr{border-bottom-color:#eee}
body{width:auto;padding:16px}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}</style>
<script type="text/javascript">!function(){this.MooTools={version:"1.6.0",build:"529422872adfff401b901b8b6c7ca5114ee95e2b"};var a=this.typeOf=function(t){if(null==t)return"null";if(null!=t.$family)return t.$family();if(t.nodeName){if(1==t.nodeType)return"element";if(3==t.nodeType)return/\\S/.test(t.nodeValue)?"textnode":"whitespace"}else if("number"==typeof t.length){if("callee"in t)return"arguments";if("item"in t)return"collection"}return typeof t},s=(this.instanceOf=function(t,e){if(null==t)return!1;for(var n=t.$constructor||t.constructor;n;){if(n===e)return!0;n=n.parent}return!!t.hasOwnProperty&&t instanceof e},Object.prototype.hasOwnProperty),o=!0;for(var t in{toString:1})o=null;function u(t,e,n){if(o)for(var r=o.length;r--;){var i=o[r];s.call(t,i)&&e.call(n,i,t[i])}}o&&(o=["hasOwnProperty","valueOf","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","constructor"]);var e=this.Function;e.prototype.overloadSetter=function(r){var i=this;return function(t,e){if(null==t)return this;if(r||"string"!=typeof t){for(var n in t)i.call(this,n,t[n]);u(t,i,this)}else i.call(this,t,e);return this}},e.prototype.overloadGetter=function(i){var s=this;return function(t){var e,n;if("string"!=typeof t?e=t:1<arguments.length?e=arguments:i&&(e=[t]),e){n={};for(var r=0;r<e.length;r++)n[e[r]]=s.call(this,e[r])}else n=s.call(this,t);return n}},e.prototype.extend=function(t,e){this[t]=e}.overloadSetter(),e.prototype.implement=function(t,e){this.prototype[t]=e}.overloadSetter();var c=Array.prototype.slice;Array.convert=function(t){return null==t?[]:h.isEnumerable(t)&&"string"!=typeof t?"array"==a(t)?t:c.call(t):[t]},e.convert=function(t){return"function"==a(t)?t:function(){return t}},Number.convert=function(t){var e=parseFloat(t);return isFinite(e)?e:null},String.convert=function(t){return t+""},e.from=e.convert,Number.from=Number.convert,String.from=String.convert,e.implement({hide:function(){return this.$hidden=!0,this},protect:function(){return this.$protected=!0,this}});var h=this.Type=function(t,e){if(t){var n=t.toLowerCase();h["is"+t]=function(t){return a(t)==n},null!=e&&(e.prototype.$family=function(){return n}.hide())}return null==e?null:(e.extend(this),e.$constructor=h,e.prototype.$constructor=e)},n=Object.prototype.toString;h.isEnumerable=function(t){return null!=t&&"number"==typeof t.length&&"[object Function]"!=n.call(t)};var r={},l=function(t){var e=a(t.prototype);return r[e]||(r[e]=[])},f=function(t,e){if(!e||!e.$hidden){for(var n=l(this),r=0;r<n.length;r++){var i=n[r];"type"==a(i)?f.call(i,t,e):i.call(this,t,e)}var s=this.prototype[t];null!=s&&s.$protected||(this.prototype[t]=e),null==this[t]&&"function"==a(e)&&p.call(this,t,function(t){return e.apply(t,c.call(arguments,1))})}},p=function(t,e){if(!e||!e.$hidden){var n=this[t];null!=n&&n.$protected||(this[t]=e)}};h.implement({implement:f.overloadSetter(),extend:p.overloadSetter(),alias:function(t,e){f.call(this,t,this.prototype[e])}.overloadSetter(),mirror:function(t){return l(this).push(t),this}}),new h("Type",h);var d=function(t,e,i){var n=e!=Object,s=e.prototype;n&&(e=new h(t,e));for(var r=0,o=i.length;r<o;r++){var a=i[r],u=e[a],c=s[a];u&&u.protect(),n&&c&&e.implement(a,c.protect())}if(n){var l=s.propertyIsEnumerable(i[0]);e.forEachMethod=function(t){if(!l)for(var e=0,n=i.length;e<n;e++)t.call(s,s[i[e]],i[e]);for(var r in s)t.call(s,s[r],r)}}return d};d("String",String,["charAt","charCodeAt","concat","contains","indexOf","lastIndexOf","match","quote","replace","search","slice","split","substr","substring","trim","toLowerCase","toUpperCase"])("Array",Array,["pop","push","reverse","shift","sort","splice","unshift","concat","join","slice","indexOf","lastIndexOf","filter","forEach","every","map","some","reduce","reduceRight","contains"])("Number",Number,["toExponential","toFixed","toLocaleString","toPrecision"])("Function",e,["apply","call","bind"])("RegExp",RegExp,["exec","test"])("Object",Object,["create","defineProperty","defineProperties","keys","getPrototypeOf","getOwnPropertyDescriptor","getOwnPropertyNames","preventExtensions","isExtensible","seal","isSealed","freeze","isFrozen"])("Date",Date,["now"]),Object.extend=p.overloadSetter(),Date.extend("now",function(){return+new Date}),new h("Boolean",Boolean),Number.prototype.$family=function(){return isFinite(this)?"number":"null"}.hide(),Number.extend("random",function(t,e){return Math.floor(Math.random()*(e-t+1)+t)}),Array.implement({forEach:function(t,e){for(var n=0,r=this.length;n<r;n++)n in this&&t.call(e,this[n],n,this)},each:function(t,e){return Array.forEach(this,t,e),this}}),Object.extend({keys:function(t){var e=[];for(var n in t)s.call(t,n)&&e.push(n);return u(t,function(t){e.push(t)}),e},forEach:function(e,n,r){Object.keys(e).forEach(function(t){n.call(r,e[t],t,e)})}}),Object.each=Object.forEach;var i=function(t){switch(a(t)){case"array":return t.clone();case"object":return Object.clone(t);default:return t}};Array.implement("clone",function(){for(var t=this.length,e=new Array(t);t--;)e[t]=i(this[t]);return e});var m=function(t,e,n){switch(a(n)){case"object":"object"==a(t[e])?Object.merge(t[e],n):t[e]=Object.clone(n);break;case"array":t[e]=n.clone();break;default:t[e]=n}return t};Object.extend({merge:function(t,e,n){if("string"==a(e))return m(t,e,n);for(var r=1,i=arguments.length;r<i;r++){var s=arguments[r];for(var o in s)m(t,o,s[o])}return t},clone:function(t){var e={};for(var n in t)e[n]=i(t[n]);return e},append:function(t){for(var e=1,n=arguments.length;e<n;e++){var r=arguments[e]||{};for(var i in r)t[i]=r[i]}return t}}),["Object","WhiteSpace","TextNode","Collection","Arguments"].each(function(t){new h(t)});var v=Date.now();String.extend("uniqueID",function(){return(v++).toString(36)})}(),Array.implement({every:function(t,e){for(var n=0,r=this.length>>>0;n<r;n++)if(n in this&&!t.call(e,this[n],n,this))return!1;return!0},filter:function(t,e){for(var n,r=[],i=0,s=this.length>>>0;i<s;i++)i in this&&(n=this[i],t.call(e,n,i,this)&&r.push(n));return r},indexOf:function(t,e){for(var n=this.length>>>0,r=e<0?Math.max(0,n+e):e||0;r<n;r++)if(this[r]===t)return r;return-1},map:function(t,e){for(var n=this.length>>>0,r=Array(n),i=0;i<n;i++)i in this&&(r[i]=t.call(e,this[i],i,this));return r},some:function(t,e){for(var n=0,r=this.length>>>0;n<r;n++)if(n in this&&t.call(e,this[n],n,this))return!0;return!1},clean:function(){return this.filter(function(t){return null!=t})},invoke:function(e){var n=Array.slice(arguments,1);return this.map(function(t){return t[e].apply(t,n)})},associate:function(t){for(var e={},n=Math.min(this.length,t.length),r=0;r<n;r++)e[t[r]]=this[r];return e},link:function(t){for(var e={},n=0,r=this.length;n<r;n++)for(var i in t)if(t[i](this[n])){e[i]=this[n],delete t[i];break}return e},contains:function(t,e){return-1!=this.indexOf(t,e)},append:function(t){return this.push.apply(this,t),this},getLast:function(){return this.length?this[this.length-1]:null},getRandom:function(){return this.length?this[Number.random(0,this.length-1)]:null},include:function(t){return this.contains(t)||this.push(t),this},combine:function(t){for(var e=0,n=t.length;e<n;e++)this.include(t[e]);return this},erase:function(t){for(var e=this.length;e--;)this[e]===t&&this.splice(e,1);return this},empty:function(){return this.length=0,this},flatten:function(){for(var t=[],e=0,n=this.length;e<n;e++){var r=typeOf(this[e]);"null"!=r&&(t=t.concat("array"==r||"collection"==r||"arguments"==r||instanceOf(this[e],Array)?Array.flatten(this[e]):this[e]))}return t},pick:function(){for(var t=0,e=this.length;t<e;t++)if(null!=this[t])return this[t];return null},hexToRgb:function(t){if(3!=this.length)return null;var e=this.map(function(t){return 1==t.length&&(t+=t),parseInt(t,16)});return t?e:"rgb("+e+")"},rgbToHex:function(t){if(this.length<3)return null;if(4==this.length&&0==this[3]&&!t)return"transparent";for(var e=[],n=0;n<3;n++){var r=(this[n]-0).toString(16);e.push(1==r.length?"0"+r:r)}return t?e:"#"+e.join("")}}),String.implement({contains:function(t,e){return-1<(e?String(this).slice(e):String(this)).indexOf(t)},test:function(t,e){return("regexp"==typeOf(t)?t:new RegExp(""+t,e)).test(this)},trim:function(){return String(this).replace(/^\\s+|\\s+$/g,"")},clean:function(){return String(this).replace(/\\s+/g," ").trim()},camelCase:function(){return String(this).replace(/-\\D/g,function(t){return t.charAt(1).toUpperCase()})},hyphenate:function(){return String(this).replace(/[A-Z]/g,function(t){return"-"+t.charAt(0).toLowerCase()})},capitalize:function(){return String(this).replace(/\\b[a-z]/g,function(t){return t.toUpperCase()})},escapeRegExp:function(){return String(this).replace(/([-.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},toInt:function(t){return parseInt(this,t||10)},toFloat:function(){return parseFloat(this)},hexToRgb:function(t){var e=String(this).match(/^#?(\\w{1,2})(\\w{1,2})(\\w{1,2})$/);return e?e.slice(1).hexToRgb(t):null},rgbToHex:function(t){var e=String(this).match(/\\d{1,3}/g);return e?e.rgbToHex(t):null},substitute:function(n,t){return String(this).replace(t||/\\\\?\\{([^{}]+)\\}/g,function(t,e){return"\\\\"==t.charAt(0)?t.slice(1):null!=n[e]?n[e]:""})}}),Number.implement({limit:function(t,e){return Math.min(e,Math.max(t,this))},round:function(t){return t=Math.pow(10,t||0).toFixed(t<0?-t:0),Math.round(this*t)/t},times:function(t,e){for(var n=0;n<this;n++)t.call(e,n,this)},toFloat:function(){return parseFloat(this)},toInt:function(t){return parseInt(this,t||10)}}),Number.alias("each","times"),function(t){var e={};["abs","acos","asin","atan","atan2","ceil","cos","exp","floor","log","max","min","pow","sin","sqrt","tan"].each(function(t){Number[t]||(e[t]=function(){return Math[t].apply(null,[this].concat(Array.convert(arguments)))})}),Number.implement(e)}(),Function.extend({attempt:function(){for(var t=0,e=arguments.length;t<e;t++)try{return arguments[t]()}catch(t){}return null}}),Function.implement({attempt:function(t,e){try{return this.apply(e,Array.convert(t))}catch(t){}return null},bind:function(r){var i=this,s=1<arguments.length?Array.slice(arguments,1):null,o=function(){},a=function(){var t=r,e=arguments.length;this instanceof a&&(o.prototype=i.prototype,t=new o);var n=s||e?i.apply(t,s&&e?s.concat(Array.slice(arguments)):s||arguments):i.call(t);return t==r?n:t};return a},pass:function(t,e){var n=this;return null!=t&&(t=Array.convert(t)),function(){return n.apply(e,t||arguments)}},delay:function(t,e,n){return setTimeout(this.pass(null==n?[]:n,e),t)},periodical:function(t,e,n){return setInterval(this.pass(null==n?[]:n,e),t)}}),Object.extend({subset:function(t,e){for(var n={},r=0,i=e.length;r<i;r++){var s=e[r];s in t&&(n[s]=t[s])}return n},map:function(t,e,n){for(var r={},i=Object.keys(t),s=0;s<i.length;s++){var o=i[s];r[o]=e.call(n,t[o],o,t)}return r},filter:function(t,e,n){for(var r={},i=Object.keys(t),s=0;s<i.length;s++){var o=i[s],a=t[o];e.call(n,a,o,t)&&(r[o]=a)}return r},every:function(t,e,n){for(var r=Object.keys(t),i=0;i<r.length;i++){var s=r[i];if(!e.call(n,t[s],s))return!1}return!0},some:function(t,e,n){for(var r=Object.keys(t),i=0;i<r.length;i++){var s=r[i];if(e.call(n,t[s],s))return!0}return!1},values:function(t){for(var e=[],n=Object.keys(t),r=0;r<n.length;r++){var i=n[r];e.push(t[i])}return e},getLength:function(t){return Object.keys(t).length},keyOf:function(t,e){for(var n=Object.keys(t),r=0;r<n.length;r++){var i=n[r];if(t[i]===e)return i}return null},contains:function(t,e){return null!=Object.keyOf(t,e)},toQueryString:function(t,i){var s=[];return Object.each(t,function(t,e){var n;switch(i&&(e=i+"["+e+"]"),typeOf(t)){case"object":n=Object.toQueryString(t,e);break;case"array":var r={};t.each(function(t,e){r[e]=t}),n=Object.toQueryString(r,e);break;default:n=e+"="+encodeURIComponent(t)}null!=t&&s.push(n)}),s.join("&")}}),function(){var t,e,n,r=this.document,i=r.window=this,s=function(t,e){t=t.toLowerCase(),e=e?e.toLowerCase():"";var n=t.match(/(edge)[\\s\\/:]([\\w\\d\\.]+)/);return n||(n=t.match(/(opera|ie|firefox|chrome|trident|crios|version)[\\s\\/:]([\\w\\d\\.]+)?.*?(safari|(?:rv[\\s\\/:]|version[\\s\\/:])([\\w\\d\\.]+)|$)/)||[null,"unknown",0]),"trident"==n[1]?(n[1]="ie",n[4]&&(n[2]=n[4])):"crios"==n[1]&&(n[1]="chrome"),"win"==(e=t.match(/ip(?:ad|od|hone)/)?"ios":(t.match(/(?:webos|android)/)||t.match(/mac|win|linux/)||["other"])[0])&&(e="windows"),{extend:Function.prototype.extend,name:"version"==n[1]?n[3]:n[1],version:parseFloat("opera"==n[1]&&n[4]?n[4]:n[2]),platform:e}},o=this.Browser=s(navigator.userAgent,navigator.platform);if("ie"==o.name&&r.documentMode&&(o.version=r.documentMode),o.extend({Features:{xpath:!!r.evaluate,air:!!i.runtime,query:!!r.querySelector,json:!!i.JSON},parseUA:s}),o.Request=(t=function(){return new XMLHttpRequest},e=function(){return new ActiveXObject("MSXML2.XMLHTTP")},n=function(){return new ActiveXObject("Microsoft.XMLHTTP")},Function.attempt(function(){return t(),t},function(){return e(),e},function(){return n(),n})),o.Features.xhr=!!o.Request,o.exec=function(t){if(!t)return t;if(i.execScript)i.execScript(t);else{var e=r.createElement("script");e.setAttribute("type","text/javascript"),e.text=t,r.head.appendChild(e),r.head.removeChild(e)}return t},String.implement("stripScripts",function(t){var n="",e=this.replace(/<script[^>]*>([\\s\\S]*?)<\\/script>/gi,function(t,e){return n+=e+"\\n",""});return!0===t?o.exec(n):"function"==typeOf(t)&&t(n,e),e}),o.extend({Document:this.Document,Window:this.Window,Element:this.Element,Event:this.Event}),this.Window=this.$constructor=new Type("Window",function(){}),this.$family=Function.convert("window").hide(),Window.mirror(function(t,e){i[t]=e}),this.Document=r.$constructor=new Type("Document",function(){}),r.$family=Function.convert("document").hide(),Document.mirror(function(t,e){r[t]=e}),r.html=r.documentElement,r.head||(r.head=r.getElementsByTagName("head")[0]),r.execCommand)try{r.execCommand("BackgroundImageCache",!1,!0)}catch(t){}if(this.attachEvent&&!this.addEventListener){var a=function(){this.detachEvent("onunload",a),r.head=r.html=r.window=null,i=this.Window=r=null};this.attachEvent("onunload",a)}var u=Array.convert;try{u(r.html.childNodes)}catch(t){Array.convert=function(t){if("string"!=typeof t&&Type.isEnumerable(t)&&"array"!=typeOf(t)){for(var e=t.length,n=new Array(e);e--;)n[e]=t[e];return n}return u(t)};var c=Array.prototype,l=c.slice;["pop","push","reverse","shift","sort","splice","unshift","concat","join","slice"].each(function(t){var e=c[t];Array[t]=function(t){return e.apply(Array.convert(t),l.call(arguments,1))}})}}(),function(){var l={},t=this.DOMEvent=new Type("DOMEvent",function(t,e){if(e||(e=window),(t=t||e.event).$extended)return t;this.event=t,this.$extended=!0,this.shift=t.shiftKey,this.control=t.ctrlKey,this.alt=t.altKey,this.meta=t.metaKey;for(var n=this.type=t.type,r=t.target||t.srcElement;r&&3==r.nodeType;)r=r.parentNode;if(this.target=document.id(r),0==n.indexOf("key")){var i=this.code=t.which||t.keyCode;this.shift&&"keypress"==n||(this.key=l[i]),"keydown"!=n&&"keyup"!=n||(111<i&&i<124?this.key="f"+(i-111):95<i&&i<106&&(this.key=i-96)),null==this.key&&(this.key=String.fromCharCode(i).toLowerCase())}else if("click"==n||"dblclick"==n||"contextmenu"==n||"wheel"==n||"DOMMouseScroll"==n||0==n.indexOf("mouse")){var s=e.document;if(s=s.compatMode&&"CSS1Compat"!=s.compatMode?s.body:s.html,this.page={x:null!=t.pageX?t.pageX:t.clientX+s.scrollLeft,y:null!=t.pageY?t.pageY:t.clientY+s.scrollTop},this.client={x:null!=t.pageX?t.pageX-e.pageXOffset:t.clientX,y:null!=t.pageY?t.pageY-e.pageYOffset:t.clientY},"DOMMouseScroll"!=n&&"wheel"!=n&&"mousewheel"!=n||(this.wheel=function(t){var e;if(t.wheelDelta)e=t.wheelDelta%120==0?t.wheelDelta/120:t.wheelDelta/12;else{var n=t.deltaY||t.detail||0;e=-(n%3==0?n/3:10*n)}return e}(t)),this.rightClick=3==t.which||2==t.button,"mouseover"==n||"mouseout"==n||"mouseenter"==n||"mouseleave"==n){for(var o="mouseover"==n||"mouseenter"==n,a=t.relatedTarget||t[(o?"from":"to")+"Element"];a&&3==a.nodeType;)a=a.parentNode;this.relatedTarget=document.id(a)}}else if(0==n.indexOf("touch")||0==n.indexOf("gesture")){this.rotation=t.rotation,this.scale=t.scale,this.targetTouches=t.targetTouches,this.changedTouches=t.changedTouches;var u=this.touches=t.touches;if(u&&u[0]){var c=u[0];this.page={x:c.pageX,y:c.pageY},this.client={x:c.clientX,y:c.clientY}}}this.client||(this.client={}),this.page||(this.page={})});t.implement({stop:function(){return this.preventDefault().stopPropagation()},stopPropagation:function(){return this.event.stopPropagation?this.event.stopPropagation():this.event.cancelBubble=!0,this},preventDefault:function(){return this.event.preventDefault?this.event.preventDefault():this.event.returnValue=!1,this}}),t.defineKey=function(t,e){return l[t]=e,this},t.defineKeys=t.defineKey.overloadSetter(!0),t.defineKeys({38:"up",40:"down",37:"left",39:"right",27:"esc",32:"space",8:"backspace",9:"tab",46:"delete",13:"enter"})}(),function(){var r=this.Class=new Type("Class",function(t){instanceOf(t,Function)&&(t={initialize:t});var e=function(){if(i(this),e.$prototyping)return this;this.$caller=null,this.$family=null;var t=this.initialize?this.initialize.apply(this,arguments):this;return this.$caller=this.caller=null,t}.extend(this).implement(t);return e.$constructor=r,(e.prototype.$constructor=e).prototype.parent=n,e}),n=function(){if(!this.$caller)throw new Error('The method "parent" cannot be called.');var t=this.$caller.$name,e=this.$caller.$owner.parent,n=e?e.prototype[t]:null;if(!n)throw new Error('The method "'+t+'" has no parent.');return n.apply(this,arguments)},i=function(t){for(var e in t){var n=t[e];switch(typeOf(n)){case"object":var r=function(){};r.prototype=n,t[e]=i(new r);break;case"array":t[e]=n.clone()}}return t},s=function(t,e,n){if(r.Mutators.hasOwnProperty(t)&&null==(e=r.Mutators[t].call(this,e)))return this;if("function"==typeOf(e)){if(e.$hidden)return this;this.prototype[t]=n?e:function(t,r,i){i.$origin&&(i=i.$origin);var s=function(){if(i.$protected&&null==this.$caller)throw new Error('The method "'+r+'" cannot be called.');var t=this.caller,e=this.$caller;this.caller=e,this.$caller=s;var n=i.apply(this,arguments);return this.$caller=e,this.caller=t,n}.extend({$owner:t,$origin:i,$name:r});return s}(this,t,e)}else Object.merge(this.prototype,t,e);return this};r.implement("implement",s.overloadSetter()),r.Mutators={Extends:function(t){this.parent=t,this.prototype=function(t){t.$prototyping=!0;var e=new t;return delete t.$prototyping,e}(t)},Implements:function(t){Array.convert(t).each(function(t){var e=new t;for(var n in e)s.call(this,n,e[n],!0)},this)}}}(),function(){this.Chain=new Class({$chain:[],chain:function(){return this.$chain.append(Array.flatten(arguments)),this},callChain:function(){return!!this.$chain.length&&this.$chain.shift().apply(this,arguments)},clearChain:function(){return this.$chain.empty(),this}});var i=function(t){return t.replace(/^on([A-Z])/,function(t,e){return e.toLowerCase()})};this.Events=new Class({$events:{},addEvent:function(t,e,n){return t=i(t),this.$events[t]=(this.$events[t]||[]).include(e),n&&(e.internal=!0),this},addEvents:function(t){for(var e in t)this.addEvent(e,t[e]);return this},fireEvent:function(t,e,n){t=i(t);var r=this.$events[t];return r&&(e=Array.convert(e),r.each(function(t){n?t.delay(n,this,e):t.apply(this,e)},this)),this},removeEvent:function(t,e){t=i(t);var n=this.$events[t];if(n&&!e.internal){var r=n.indexOf(e);-1!=r&&delete n[r]}return this},removeEvents:function(t){var e;if("object"==typeOf(t)){for(e in t)this.removeEvent(e,t[e]);return this}for(e in t&&(t=i(t)),this.$events)if(!t||t==e)for(var n=this.$events[e],r=n.length;r--;)r in n&&this.removeEvent(e,n[r]);return this}}),this.Options=new Class({setOptions:function(){var t=this.options=Object.merge.apply(null,[{},this.options].append(arguments));if(this.addEvent)for(var e in t)"function"==typeOf(t[e])&&/^on[A-Z]/.test(e)&&(this.addEvent(e,t[e]),delete t[e]);return this}})}(),function(){var s,i=0,o=1,a=2,r=Class.Thenable=new Class({$thenableState:i,$thenableResult:null,$thenableReactions:[],resolve:function(t){return u(this,t),this},reject:function(t){return l(this,t),this},getThenableState:function(){switch(this.$thenableState){case i:return"pending";case o:return"fulfilled";case a:return"rejected"}},resetThenable:function(t){var e;return l(this,t),(e=this).$thenableState!==i&&(e.$thenableResult=null,e.$thenableState=i),this},then:function(t,e){"function"!=typeof t&&(t="Identity"),"function"!=typeof e&&(e="Thrower");var n=new r;return this.$thenableReactions.push({thenable:n,fulfillHandler:t,rejectHandler:e}),this.$thenableState!==i&&h(this),n},catch:function(t){return this.then(null,t)}});function u(e,t){if(e.$thenableState===i)if(e===t)l(e,new TypeError("Tried to resolve a thenable with itself."));else if(!t||"object"!=typeof t&&"function"!=typeof t)c(e,t);else{var n;try{n=t.then}catch(t){l(e,t)}if("function"==typeof n){var r=!1;s(function(){try{n.call(t,function(t){r||(r=!0,u(e,t))},function(t){r||(r=!0,l(e,t))})}catch(t){r||(r=!0,l(e,t))}})}else c(e,t)}}function c(t,e){t.$thenableState===i&&(t.$thenableResult=e,t.$thenableState=o,h(t))}function l(t,e){t.$thenableState===i&&(t.$thenableResult=e,t.$thenableState=a,h(t))}function h(t){var e,n=t.$thenableState,r=t.$thenableResult,i=t.$thenableReactions;n===o?(t.$thenableReactions=[],e="fulfillHandler"):n==a&&(t.$thenableReactions=[],e="rejectHandler"),e&&s(function(t,e,n){for(var r=0,i=e.length;r<i;++r){var s=e[r],o=s[n];if("Identity"===o)u(s.thenable,t);else if("Thrower"===o)l(s.thenable,t);else try{u(s.thenable,o(t))}catch(t){l(s.thenable,t)}}}.pass([r,i,e]))}r.extend({resolve:function(t){var e;return t instanceof r?e=t:u(e=new r,t),e},reject:function(t){var e=new r;return l(e,t),e}}),s="undefined"!=typeof process&&"function"==typeof process.nextTick?process.nextTick:"undefined"!=typeof setImmediate?setImmediate:function(t){setTimeout(t,0)}}(),function(){var x,E,S,w,r={},i={},k=/\\\\/g,s=function(t,e){if(null==t)return null;if(!0===t.Slick)return t;t=(""+t).replace(/^\\s+|\\s+$/g,"");var n=(w=!!e)?i:r;if(n[t])return n[t];for(x={Slick:!0,expressions:[],raw:t,reverse:function(){return s(this.raw,!0)}},E=-1;t!=(t=t.replace(a,u)););return x.length=x.expressions.length,n[x.raw]=w?o(x):x},T=function(t){return"!"===t?" ":" "===t?"!":/^!/.test(t)?t.replace(/^!/,""):"!"+t},o=function(t){for(var e=t.expressions,n=0;n<e.length;n++){for(var r=e[n],i={parts:[],tag:"*",combinator:T(r[0].combinator)},s=0;s<r.length;s++){var o=r[s];o.reverseCombinator||(o.reverseCombinator=" "),o.combinator=o.reverseCombinator,delete o.reverseCombinator}r.reverse().push(i)}return t},C=function(t){return t.replace(/[-[\\]{}()*+?.\\\\^$|,#\\s]/g,function(t){return"\\\\"+t})},a=new RegExp("^(?:\\\\s*(,)\\\\s*|\\\\s*(<combinator>+)\\\\s*|(\\\\s+)|(<unicode>+|\\\\*)|\\\\#(<unicode>+)|\\\\.(<unicode>+)|\\\\[\\\\s*(<unicode1>+)(?:\\\\s*([*^$!~|]?=)(?:\\\\s*(?:([\\"']?)(.*?)\\\\9)))?\\\\s*\\\\](?!\\\\])|(:+)(<unicode>+)(?:\\\\((?:(?:([\\"'])([^\\\\13]*)\\\\13)|((?:\\\\([^)]+\\\\)|[^()]*)+))\\\\))?)".replace(/<combinator>/,"["+C(">+~`!@$%^&={}\\\\;</")+"]").replace(/<unicode>/g,"(?:[\\\\w\\\\u00a1-\\\\uFFFF-]|\\\\\\\\[^\\\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\\\w\\\\u00a1-\\\\uFFFF-]|\\\\\\\\[^\\\\s0-9a-f])"));function u(t,e,n,r,i,s,o,a,u,c,l,h,f,p,d,m){if((e||-1===E)&&(x.expressions[++E]=[],S=-1,e))return"";if(n||r||-1===S){n=n||" ";var v=x.expressions[E];w&&v[S]&&(v[S].reverseCombinator=T(n)),v[++S]={combinator:n,tag:"*"}}var g=x.expressions[E][S];if(i)g.tag=i.replace(k,"");else if(s)g.id=s.replace(k,"");else if(o)o=o.replace(k,""),g.classList||(g.classList=[]),g.classes||(g.classes=[]),g.classList.push(o),g.classes.push({value:o,regexp:new RegExp("(^|\\\\s)"+C(o)+"(\\\\s|$)")});else if(f)m=(m=m||d)?m.replace(k,""):null,g.pseudos||(g.pseudos=[]),g.pseudos.push({key:f.replace(k,""),value:m,type:1==h.length?"class":"element"});else if(a){var y,b;switch(a=a.replace(k,""),l=(l||"").replace(k,""),u){case"^=":b=new RegExp("^"+C(l));break;case"$=":b=new RegExp(C(l)+"$");break;case"~=":b=new RegExp("(^|\\\\s)"+C(l)+"(\\\\s|$)");break;case"|=":b=new RegExp("^"+C(l)+"(-|$)");break;case"=":y=function(t){return l==t};break;case"*=":y=function(t){return t&&-1<t.indexOf(l)};break;case"!=":y=function(t){return l!=t};break;default:y=function(t){return!!t}}""==l&&/^[*$^]=$/.test(u)&&(y=function(){return!1}),y||(y=function(t){return t&&b.test(t)}),g.attributes||(g.attributes=[]),g.attributes.push({key:a,operator:u,value:l,test:y})}return""}var t=this.Slick||{};t.parse=function(t){return s(t)},t.escapeRegExp=C,this.Slick||(this.Slick=t)}.apply("undefined"!=typeof exports?exports:this),function(){var r={},g={},e=Object.prototype.toString;r.isNativeCode=function(t){return/\\{\\s*\\[native code\\]\\s*\\}/.test(""+t)},r.isXML=function(t){return!!t.xmlVersion||!!t.xml||"[object XMLDocument]"==e.call(t)||9==t.nodeType&&"HTML"!=t.documentElement.nodeName},r.setDocument=function(n){var t=n.nodeType;if(9==t);else if(t)n=n.ownerDocument;else{if(!n.navigator)return;n=n.document}if(this.document!==n){var e,r=(this.document=n).documentElement,i=this.getUIDXML(r),s=g[i];if(s)for(e in s)this[e]=s[e];else{var o,a,u,c,l;(s=g[i]={}).root=r,s.isXMLDocument=this.isXML(n),s.brokenStarGEBTN=s.starSelectsClosedQSA=s.idGetsName=s.brokenMixedCaseQSA=s.brokenGEBCN=s.brokenCheckedQSA=s.brokenEmptyAttributeQSA=s.isHTMLDocument=s.nativeMatchesSelector=!1;var h,f="slick_uniqueid",p=n.createElement("div"),d=n.body||n.getElementsByTagName("body")[0]||r;d.appendChild(p);try{p.innerHTML='<a id="'+f+'"></a>',s.isHTMLDocument=!!n.getElementById(f)}catch(t){}if(s.isHTMLDocument){p.style.display="none",p.appendChild(n.createComment("")),a=1<p.getElementsByTagName("*").length;try{p.innerHTML="foo</foo>",o=(h=p.getElementsByTagName("*"))&&!!h.length&&"/"==h[0].nodeName.charAt(0)}catch(t){}s.brokenStarGEBTN=a||o;try{p.innerHTML='<a name="'+f+'"></a><b id="'+f+'"></b>',s.idGetsName=n.getElementById(f)===p.firstChild}catch(t){}if(p.getElementsByClassName){try{p.innerHTML='<a class="f"></a><a class="b"></a>',p.getElementsByClassName("b").length,p.firstChild.className="b",c=2!=p.getElementsByClassName("b").length}catch(t){}try{p.innerHTML='<a class="a"></a><a class="f b a"></a>',u=2!=p.getElementsByClassName("a").length}catch(t){}s.brokenGEBCN=c||u}if(p.querySelectorAll){try{p.innerHTML="foo</foo>",h=p.querySelectorAll("*"),s.starSelectsClosedQSA=h&&!!h.length&&"/"==h[0].nodeName.charAt(0)}catch(t){}try{p.innerHTML='<a class="MiX"></a>',s.brokenMixedCaseQSA=!p.querySelectorAll(".MiX").length}catch(t){}try{p.innerHTML='<select><option selected="selected">a</option></select>',s.brokenCheckedQSA=0==p.querySelectorAll(":checked").length}catch(t){}try{p.innerHTML='<a class=""></a>',s.brokenEmptyAttributeQSA=0!=p.querySelectorAll('[class*=""]').length}catch(t){}}try{p.innerHTML='<form action="s"><input id="action"/></form>',l="s"!=p.firstChild.getAttribute("action")}catch(t){}if(s.nativeMatchesSelector=r.matches||r.mozMatchesSelector||r.webkitMatchesSelector,s.nativeMatchesSelector)try{s.nativeMatchesSelector.call(r,":slick"),s.nativeMatchesSelector=null}catch(t){}}try{r.slick_expando=1,delete r.slick_expando,s.getUID=this.getUIDHTML}catch(t){s.getUID=this.getUIDXML}d.removeChild(p),p=h=d=null,s.getAttribute=s.isHTMLDocument&&l?function(t,e){var n=this.attributeGetters[e];if(n)return n.call(t);var r=t.getAttributeNode(e);return r?r.nodeValue:null}:function(t,e){var n=this.attributeGetters[e];return n?n.call(t):t.getAttribute(e)},s.hasAttribute=r&&this.isNativeCode(r.hasAttribute)?function(t,e){return t.hasAttribute(e)}:function(t,e){return!(!(t=t.getAttributeNode(e))||!t.specified&&!t.nodeValue)};var m=r&&this.isNativeCode(r.contains),v=n&&this.isNativeCode(n.contains);for(e in s.contains=m&&v?function(t,e){return t.contains(e)}:m&&!v?function(t,e){return t===e||(t===n?n.documentElement:t).contains(e)}:r&&r.compareDocumentPosition?function(t,e){return t===e||!!(16&t.compareDocumentPosition(e))}:function(t,e){if(e)do{if(e===t)return!0}while(e=e.parentNode);return!1},s.documentSorter=r.compareDocumentPosition?function(t,e){return t.compareDocumentPosition&&e.compareDocumentPosition?4&t.compareDocumentPosition(e)?-1:t===e?0:1:0}:"sourceIndex"in r?function(t,e){return t.sourceIndex&&e.sourceIndex?t.sourceIndex-e.sourceIndex:0}:n.createRange?function(t,e){if(!t.ownerDocument||!e.ownerDocument)return 0;var n=t.ownerDocument.createRange(),r=e.ownerDocument.createRange();return n.setStart(t,0),n.setEnd(t,0),r.setStart(e,0),r.setEnd(e,0),n.compareBoundaryPoints(Range.START_TO_END,r)}:null,r=null,s)this[e]=s[e]}}};var D=/^([#.]?)((?:[\\w-]+|\\*))$/,P=/\\[.+[*$^]=(?:""|'')?\\]/,H={};r.search=function(t,e,n,r){var i=this.found=r?null:n||[];if(!t)return i;if(t.navigator)t=t.document;else if(!t.nodeType)return i;var s,o,a,u,c,l,h,f,p,d,m,v,g,y,b=this.uniques={},x=!(!n||!n.length),E=9==t.nodeType;if(this.document!==(E?t:t.ownerDocument)&&this.setDocument(t),x)for(o=i.length;o--;)b[this.getUID(i[o])]=!0;if("string"==typeof e){var S=e.match(D);t:if(S){var w=S[1],k=S[2];if(w){if("#"==w){if(!this.isHTMLDocument||!E)break t;if(!(a=t.getElementById(k)))return i;if(this.idGetsName&&a.getAttributeNode("id").nodeValue!=k)break t;if(r)return a||null;x&&b[this.getUID(a)]||i.push(a)}else if("."==w){if(!this.isHTMLDocument||(!t.getElementsByClassName||this.brokenGEBCN)&&t.querySelectorAll)break t;if(t.getElementsByClassName&&!this.brokenGEBCN){if(u=t.getElementsByClassName(k),r)return u[0]||null;for(o=0;a=u[o++];)x&&b[this.getUID(a)]||i.push(a)}else{var T=new RegExp("(^|\\\\s)"+F.escapeRegExp(k)+"(\\\\s|$)");for(u=t.getElementsByTagName("*"),o=0;a=u[o++];)if(className=a.className,className&&T.test(className)){if(r)return a;x&&b[this.getUID(a)]||i.push(a)}}}}else{if("*"==k&&this.brokenStarGEBTN)break t;if(u=t.getElementsByTagName(k),r)return u[0]||null;for(o=0;a=u[o++];)x&&b[this.getUID(a)]||i.push(a)}return x&&this.sort(i),r?null:i}t:if(t.querySelectorAll){if(!this.isHTMLDocument||H[e]||this.brokenMixedCaseQSA||this.brokenCheckedQSA&&-1<e.indexOf(":checked")||this.brokenEmptyAttributeQSA&&P.test(e)||!E&&-1<e.indexOf(",")||F.disableQSA)break t;var C,N=e,O=t;E||(C=O.getAttribute("id"),slickid="slickid__",O.setAttribute("id",slickid),N="#"+slickid+" "+N,t=O.parentNode);try{if(r)return t.querySelector(N)||null;u=t.querySelectorAll(N)}catch(t){H[e]=1;break t}finally{E||(C?O.setAttribute("id",C):O.removeAttribute("id"),t=O)}if(this.starSelectsClosedQSA)for(o=0;a=u[o++];)!("@"<a.nodeName)||x&&b[this.getUID(a)]||i.push(a);else for(o=0;a=u[o++];)x&&b[this.getUID(a)]||i.push(a);return x&&this.sort(i),i}if(!(s=this.Slick.parse(e)).length)return i}else{if(null==e)return i;if(!e.Slick)return this.contains(t.documentElement||t,e)&&(i?i.push(e):i=e),i;s=e}this.posNTH={},this.posNTHLast={},this.posNTHType={},this.posNTHTypeLast={},this.push=!x&&(r||1==s.length&&1==s.expressions[0].length)?this.pushArray:this.pushUID,null==i&&(i=[]);var A,L,M,$,j=s.expressions;t:for(o=0;L=j[o];o++)for(c=0;M=L[c];c++){if(!this[f="combinator:"+M.combinator])continue t;if(p=this.isXMLDocument?M.tag:M.tag.toUpperCase(),d=M.id,m=M.classList,v=M.classes,g=M.attributes,y=M.pseudos,$=c===L.length-1,this.bitUniques={},$?(this.uniques=b,this.found=i):(this.uniques={},this.found=[]),0===c){if(this[f](t,p,d,v,g,y,m),r&&$&&i.length)break t}else if(r&&$){for(l=0,h=A.length;l<h;l++)if(this[f](A[l],p,d,v,g,y,m),i.length)break t}else for(l=0,h=A.length;l<h;l++)this[f](A[l],p,d,v,g,y,m);A=this.found}return(x||1<s.expressions.length)&&this.sort(i),r?i[0]||null:i},r.uidx=1,r.uidk="slick-uniqueid",r.getUIDXML=function(t){var e=t.getAttribute(this.uidk);return e||(e=this.uidx++,t.setAttribute(this.uidk,e)),e},r.getUIDHTML=function(t){return t.uniqueNumber||(t.uniqueNumber=this.uidx++)},r.sort=function(t){return this.documentSorter&&t.sort(this.documentSorter),t},r.cacheNTH={},r.matchNTH=/^([+-]?\\d*)?([a-z]+)?([+-]\\d+)?$/,r.parseNTHArgument=function(t){var e=t.match(this.matchNTH);if(!e)return!1;var n=e[2]||!1,r=e[1]||1;"-"==r&&(r=-1);var i=+e[3]||0;return e="n"==n?{a:r,b:i}:"odd"==n?{a:2,b:1}:"even"==n?{a:2,b:0}:{a:0,b:r},this.cacheNTH[t]=e},r.createNTHPseudo=function(h,f,p,d){return function(t,e){var n=this.getUID(t);if(!this[p][n]){var r=t.parentNode;if(!r)return!1;var i=r[h],s=1;if(d)for(var o=t.nodeName;i.nodeName==o&&(this[p][this.getUID(i)]=s++),i=i[f];);else for(;1==i.nodeType&&(this[p][this.getUID(i)]=s++),i=i[f];);}e=e||"n";var a=this.cacheNTH[e]||this.parseNTHArgument(e);if(!a)return!1;var u=a.a,c=a.b,l=this[p][n];if(0==u)return c==l;if(0<u){if(l<c)return!1}else if(c<l)return!1;return(l-c)%u==0}},r.pushArray=function(t,e,n,r,i,s){this.matchSelector(t,e,n,r,i,s)&&this.found.push(t)},r.pushUID=function(t,e,n,r,i,s){var o=this.getUID(t);!this.uniques[o]&&this.matchSelector(t,e,n,r,i,s)&&(this.uniques[o]=!0,this.found.push(t))},r.matchNode=function(t,e){if(this.isHTMLDocument&&this.nativeMatchesSelector)try{return this.nativeMatchesSelector.call(t,e.replace(/\\[([^=]+)=\\s*([^'"\\]]+?)\\s*\\]/g,'[$1="$2"]'))}catch(t){}var n=this.Slick.parse(e);if(!n)return!0;var r,i,s=n.expressions,o=0;for(r=0;i=s[r];r++)if(1==i.length){var a=i[0];if(this.matchSelector(t,this.isXMLDocument?a.tag:a.tag.toUpperCase(),a.id,a.classes,a.attributes,a.pseudos))return!0;o++}if(o==n.length)return!1;var u,c=this.search(this.document,n);for(r=0;u=c[r++];)if(u===t)return!0;return!1},r.matchPseudo=function(t,e,n){var r="pseudo:"+e;if(this[r])return this[r](t,n);var i=this.getAttribute(t,e);return n?n==i:!!i},r.matchSelector=function(t,e,n,r,i,s){if(e){var o=this.isXMLDocument?t.nodeName:t.nodeName.toUpperCase();if("*"==e){if(o<"@")return!1}else if(o!=e)return!1}if(n&&t.getAttribute("id")!=n)return!1;var a,u,c;if(r)for(a=r.length;a--;)if(!(c=this.getAttribute(t,"class"))||!r[a].regexp.test(c))return!1;if(i)for(a=i.length;a--;)if((u=i[a]).operator?!u.test(this.getAttribute(t,u.key)):!this.hasAttribute(t,u.key))return!1;if(s)for(a=s.length;a--;)if(u=s[a],!this.matchPseudo(t,u.key,u.value))return!1;return!0};var t={" ":function(t,e,n,r,i,s,o){var a,u,c;if(this.isHTMLDocument){t:if(n){if(!(u=this.document.getElementById(n))&&t.all||this.idGetsName&&u&&u.getAttributeNode("id").nodeValue!=n){if(!(c=t.all[n]))return;for(c[0]||(c=[c]),a=0;u=c[a++];){var l=u.getAttributeNode("id");if(l&&l.nodeValue==n){this.push(u,e,null,r,i,s);break}}return}if(!u){if(this.contains(this.root,t))return;break t}if(this.document!==t&&!this.contains(t,u))return;return void this.push(u,e,null,r,i,s)}t:if(r&&t.getElementsByClassName&&!this.brokenGEBCN){if(!(c=t.getElementsByClassName(o.join(" ")))||!c.length)break t;for(a=0;u=c[a++];)this.push(u,e,n,null,i,s);return}}if((c=t.getElementsByTagName(e))&&c.length)for(this.brokenStarGEBTN||(e=null),a=0;u=c[a++];)this.push(u,e,n,r,i,s)},">":function(t,e,n,r,i,s){if(t=t.firstChild)for(;1==t.nodeType&&this.push(t,e,n,r,i,s),t=t.nextSibling;);},"+":function(t,e,n,r,i,s){for(;t=t.nextSibling;)if(1==t.nodeType){this.push(t,e,n,r,i,s);break}},"^":function(t,e,n,r,i,s){(t=t.firstChild)&&(1==t.nodeType?this.push(t,e,n,r,i,s):this["combinator:+"](t,e,n,r,i,s))},"~":function(t,e,n,r,i,s){for(;t=t.nextSibling;)if(1==t.nodeType){var o=this.getUID(t);if(this.bitUniques[o])break;this.bitUniques[o]=!0,this.push(t,e,n,r,i,s)}},"++":function(t,e,n,r,i,s){this["combinator:+"](t,e,n,r,i,s),this["combinator:!+"](t,e,n,r,i,s)},"~~":function(t,e,n,r,i,s){this["combinator:~"](t,e,n,r,i,s),this["combinator:!~"](t,e,n,r,i,s)},"!":function(t,e,n,r,i,s){for(;t=t.parentNode;)t!==this.document&&this.push(t,e,n,r,i,s)},"!>":function(t,e,n,r,i,s){(t=t.parentNode)!==this.document&&this.push(t,e,n,r,i,s)},"!+":function(t,e,n,r,i,s){for(;t=t.previousSibling;)if(1==t.nodeType){this.push(t,e,n,r,i,s);break}},"!^":function(t,e,n,r,i,s){(t=t.lastChild)&&(1==t.nodeType?this.push(t,e,n,r,i,s):this["combinator:!+"](t,e,n,r,i,s))},"!~":function(t,e,n,r,i,s){for(;t=t.previousSibling;)if(1==t.nodeType){var o=this.getUID(t);if(this.bitUniques[o])break;this.bitUniques[o]=!0,this.push(t,e,n,r,i,s)}}};for(var n in t)r["combinator:"+n]=t[n];var i={empty:function(t){var e=t.firstChild;return!(e&&1==e.nodeType||(t.innerText||t.textContent||"").length)},not:function(t,e){return!this.matchNode(t,e)},contains:function(t,e){return-1<(t.innerText||t.textContent||"").indexOf(e)},"first-child":function(t){for(;t=t.previousSibling;)if(1==t.nodeType)return!1;return!0},"last-child":function(t){for(;t=t.nextSibling;)if(1==t.nodeType)return!1;return!0},"only-child":function(t){for(var e=t;e=e.previousSibling;)if(1==e.nodeType)return!1;for(var n=t;n=n.nextSibling;)if(1==n.nodeType)return!1;return!0},"nth-child":r.createNTHPseudo("firstChild","nextSibling","posNTH"),"nth-last-child":r.createNTHPseudo("lastChild","previousSibling","posNTHLast"),"nth-of-type":r.createNTHPseudo("firstChild","nextSibling","posNTHType",!0),"nth-last-of-type":r.createNTHPseudo("lastChild","previousSibling","posNTHTypeLast",!0),index:function(t,e){return this["pseudo:nth-child"](t,""+(e+1))},even:function(t){return this["pseudo:nth-child"](t,"2n")},odd:function(t){return this["pseudo:nth-child"](t,"2n+1")},"first-of-type":function(t){for(var e=t.nodeName;t=t.previousSibling;)if(t.nodeName==e)return!1;return!0},"last-of-type":function(t){for(var e=t.nodeName;t=t.nextSibling;)if(t.nodeName==e)return!1;return!0},"only-of-type":function(t){for(var e=t,n=t.nodeName;e=e.previousSibling;)if(e.nodeName==n)return!1;for(var r=t;r=r.nextSibling;)if(r.nodeName==n)return!1;return!0},enabled:function(t){return!t.disabled},disabled:function(t){return t.disabled},checked:function(t){return t.checked||t.selected},focus:function(t){return this.isHTMLDocument&&this.document.activeElement===t&&(t.href||t.type||this.hasAttribute(t,"tabindex"))},root:function(t){return t===this.root},selected:function(t){return t.selected}};for(var s in i)r["pseudo:"+s]=i[s];var o=r.attributeGetters={for:function(){return"htmlFor"in this?this.htmlFor:this.getAttribute("for")},href:function(){return"href"in this?this.getAttribute("href",2):this.getAttribute("href")},style:function(){return this.style?this.style.cssText:this.getAttribute("style")},tabindex:function(){var t=this.getAttributeNode("tabindex");return t&&t.specified?t.nodeValue:null},type:function(){return this.getAttribute("type")},maxlength:function(){var t=this.getAttributeNode("maxLength");return t&&t.specified?t.nodeValue:null}};o.MAXLENGTH=o.maxLength=o.maxlength;var F=r.Slick=this.Slick||{};F.version="1.1.7",F.search=function(t,e,n){return r.search(t,e,n)},F.find=function(t,e){return r.search(t,e,null,!0)},F.contains=function(t,e){return r.setDocument(t),r.contains(t,e)},F.getAttribute=function(t,e){return r.setDocument(t),r.getAttribute(t,e)},F.hasAttribute=function(t,e){return r.setDocument(t),r.hasAttribute(t,e)},F.match=function(t,e){return!(!t||!e)&&(!e||e===t||(r.setDocument(t),r.matchNode(t,e)))},F.defineAttributeGetter=function(t,e){return r.attributeGetters[t]=e,this},F.lookupAttributeGetter=function(t){return r.attributeGetters[t]},F.definePseudo=function(t,n){return r["pseudo:"+t]=function(t,e){return n.call(t,e)},this},F.lookupPseudo=function(t){var e=r["pseudo:"+t];return e?function(t){return e.call(this,t)}:null},F.override=function(t,e){return r.override(t,e),this},F.isXML=r.isXML,F.uidOf=function(t){return r.getUIDHTML(t)},this.Slick||(this.Slick=F)}.apply("undefined"!=typeof exports?exports:this);var Element=this.Element=function(t,e){var n=Element.Constructors[t];if(n)return n(e);if("string"!=typeof t)return document.id(t).set(e);if(e||(e={}),!/^[\\w-]+$/.test(t)){var r=Slick.parse(t).expressions[0][0];t="*"==r.tag?"div":r.tag,r.id&&null==e.id&&(e.id=r.id);var i=r.attributes;if(i)for(var s,o=0,a=i.length;o<a;o++)null==e[(s=i[o]).key]&&(null!=s.value&&"="==s.operator?e[s.key]=s.value:s.value||s.operator||(e[s.key]=!0));r.classList&&null==e.class&&(e.class=r.classList.join(" "))}return document.newElement(t,e)};Browser.Element&&(Element.prototype=Browser.Element.prototype,Element.prototype._fireEvent=function(n){return function(t,e){return n.call(this,t,e)}}(Element.prototype.fireEvent)),new Type("Element",Element).mirror(function(a){if(!Array.prototype[a]){var t={};t[a]=function(){for(var t=[],e=arguments,n=!0,r=0,i=this.length;r<i;r++){var s=this[r],o=t[r]=s[a].apply(s,e);n=n&&"element"==typeOf(o)}return n?new Elements(t):t},Elements.implement(t)}}),Browser.Element||(Element.parent=Object,Element.Prototype={$constructor:Element,$family:Function.convert("element").hide()},Element.mirror(function(t,e){Element.Prototype[t]=e})),Element.Constructors={};var IFrame=new Type("IFrame",function(){var t,e=Array.link(arguments,{properties:Type.isObject,iframe:function(t){return null!=t}}),n=e.properties||{};e.iframe&&(t=document.id(e.iframe));var r=n.onload||function(){};delete n.onload,n.id=n.name=[n.id,n.name,t?t.id||t.name:"IFrame_"+String.uniqueID()].pick(),t=new Element(t||"iframe",n);var i=function(){r.call(t.contentWindow)};return window.frames[n.id]?i():t.addListener("load",i),t}),Elements=this.Elements=function(t){if(t&&t.length)for(var e,n={},r=0;e=t[r++];){var i=Slick.uidOf(e);n[i]||(n[i]=!0,this.push(e))}};Elements.prototype={length:0},Elements.parent=Array,new Type("Elements",Elements).implement({filter:function(e,t){return e?new Elements(Array.filter(this,"string"==typeOf(e)?function(t){return t.match(e)}:e,t)):this}.protect(),push:function(){for(var t=this.length,e=0,n=arguments.length;e<n;e++){var r=document.id(arguments[e]);r&&(this[t++]=r)}return this.length=t}.protect(),unshift:function(){for(var t=[],e=0,n=arguments.length;e<n;e++){var r=document.id(arguments[e]);r&&t.push(r)}return Array.prototype.unshift.apply(this,t)}.protect(),concat:function(){for(var t=new Elements(this),e=0,n=arguments.length;e<n;e++){var r=arguments[e];Type.isEnumerable(r)?t.append(r):t.push(r)}return t}.protect(),append:function(t){for(var e=0,n=t.length;e<n;e++)this.push(t[e]);return this}.protect(),empty:function(){for(;this.length;)delete this[--this.length];return this}.protect()}),function(){var r,n=Array.prototype.splice,t={0:0,1:1,length:2};n.call(t,1,1),1==t[1]&&Elements.implement("splice",function(){for(var t=this.length,e=n.apply(this,arguments);t>=this.length;)delete this[t--];return e}.protect()),Array.forEachMethod(function(t,e){Elements.implement(e,t)}),Array.mirror(Elements);try{r="x"==document.createElement("<input name=x>").name}catch(t){}var i=function(t){return(""+t).replace(/&/g,"&").replace(/"/g,""")},s=function(){var t=document.createElement("style"),e=!1;try{t.innerHTML="#justTesing{margin: 0px;}",e=!!t.innerHTML}catch(t){}return e}();Document.implement({newElement:function(t,e){if(e){if(null!=e.checked&&(e.defaultChecked=e.checked),"checkbox"!=e.type&&"radio"!=e.type||null!=e.value||(e.value="on"),!s&&"style"==t){var n=document.createElement("style");return n.setAttribute("type","text/css"),e.type&&delete e.type,this.id(n).set(e)}r&&(t="<"+t,e.name&&(t+=' name="'+i(e.name)+'"'),e.type&&(t+=' type="'+i(e.type)+'"'),t+=">",delete e.name,delete e.type)}return this.id(this.createElement(t)).set(e)}})}(),function(){var i;Slick.uidOf(window),Slick.uidOf(document),Document.implement({newTextNode:function(t){return this.createTextNode(t)},getDocument:function(){return this},getWindow:function(){return this.window},id:(i={string:function(t,e,n){return(t=Slick.find(n,"#"+t.replace(/(\\W)/g,"\\\\$1")))?i.element(t,e):null},element:function(t,e){if(Slick.uidOf(t),!e&&!t.$family&&!/^(?:object|embed)$/i.test(t.tagName)){var n=t.fireEvent;t._fireEvent=function(t,e){return n(t,e)},Object.append(t,Element.Prototype)}return t},object:function(t,e,n){return t.toElement?i.element(t.toElement(n),e):null}},i.textnode=i.whitespace=i.window=i.document=function(t){return t},function(t,e,n){if(t&&t.$family&&t.uniqueNumber)return t;var r=typeOf(t);return i[r]?i[r](t,e,n||document):null})}),null==window.$&&Window.implement("$",function(t,e){return document.id(t,e,this.document)}),Window.implement({getDocument:function(){return this.document},getWindow:function(){return this}}),[Document,Element].invoke("implement",{getElements:function(t){return Slick.search(this,t,new Elements)},getElement:function(t){return document.id(Slick.find(this,t))}});var t={contains:function(t){return Slick.contains(this,t)}};document.contains||Document.implement(t),document.createElement("div").contains||Element.implement(t);var n=function(t,e){if(!t)return e;for(var n=(t=Object.clone(Slick.parse(t))).expressions,r=n.length;r--;)n[r][0].combinator=e;return t};Object.forEach({getNext:"~",getPrevious:"!~",getParent:"!"},function(e,t){Element.implement(t,function(t){return this.getElement(n(t,e))})}),Object.forEach({getAllNext:"~",getAllPrevious:"!~",getSiblings:"~~",getChildren:">",getParents:"!"},function(e,t){Element.implement(t,function(t){return this.getElements(n(t,e))})}),Element.implement({getFirst:function(t){return document.id(Slick.search(this,n(t,">"))[0])},getLast:function(t){return document.id(Slick.search(this,n(t,">")).getLast())},getWindow:function(){return this.ownerDocument.window},getDocument:function(){return this.ownerDocument},getElementById:function(t){return document.id(Slick.find(this,"#"+(""+t).replace(/(\\W)/g,"\\\\$1")))},match:function(t){return!t||Slick.match(this,t)}}),null==window.$$&&Window.implement("$$",function(t){if(1==arguments.length){if("string"==typeof t)return Slick.search(this.document,t,new Elements);if(Type.isEnumerable(t))return new Elements(t)}return new Elements(arguments)});var a={before:function(t,e){var n=e.parentNode;n&&n.insertBefore(t,e)},after:function(t,e){var n=e.parentNode;n&&n.insertBefore(t,e.nextSibling)},bottom:function(t,e){e.appendChild(t)},top:function(t,e){e.insertBefore(t,e.firstChild)}};a.inside=a.bottom;var e,o={},s={},r={};Array.forEach(["type","value","defaultValue","accessKey","cellPadding","cellSpacing","colSpan","frameBorder","rowSpan","tabIndex","useMap"],function(t){r[t.toLowerCase()]=t}),r.html="innerHTML",r.text=null==document.createElement("div").textContent?"innerText":"textContent",Object.forEach(r,function(n,t){s[t]=function(t,e){t[n]=e},o[t]=function(t){return t[n]}}),s.text=(s.text,function(t,e){"style"==t.get("tag")?t.set("html",e):t[r.text]=e}),o.text=(e=o.text,function(t){return"style"==t.get("tag")?t.innerHTML:e(t)});var u={};Array.forEach(["compact","nowrap","ismap","declare","noshade","checked","disabled","readOnly","multiple","selected","noresize","defer","defaultChecked","autofocus","controls","autoplay","loop"],function(n){var t=n.toLowerCase();u[t]=n,s[t]=function(t,e){t[n]=!!e},o[t]=function(t){return!!t[n]}}),Object.append(s,{class:function(t,e){"className"in t?t.className=e||"":t.setAttribute("class",e)},for:function(t,e){"htmlFor"in t?t.htmlFor=e:t.setAttribute("for",e)},style:function(t,e){t.style?t.style.cssText=e:t.setAttribute("style",e)},value:function(t,e){t.value=null!=e?e:""}}),o.class=function(t){return"className"in t?t.className||null:t.getAttribute("class")};var c=document.createElement("button");try{c.type="button"}catch(t){}"button"!=c.type&&(s.type=function(t,e){t.setAttribute("type",e)}),c=null;var h,f,p=function(){var t=document.createElement("style"),e=!1;try{t.innerHTML="#justTesing{margin: 0px;}",e=!!t.innerHTML}catch(t){}return e}(),d=document.createElement("input");d.value="t",d.type="submit",h="t"!=d.value;try{d.value="",f=(d.type="email")==d.type}catch(t){}d=null,!h&&f||(s.type=function(t,e){try{var n=t.value;t.type=e,t.value=n}catch(t){}});var m,v,g=((m=document.createElement("div")).random="attribute")==m.getAttribute("random"),y=((v=document.createElement("div")).innerHTML='<object><param name="should_fix" value="the unknown" /></object>',1!=v.cloneNode(!0).firstChild.childNodes.length),b=!!document.createElement("div").classList,x=function(t){var e=(t||"").clean().split(" "),n={};return e.filter(function(t){if(""!==t&&!n[t])return n[t]=t})},E=function(t){this.classList.add(t)},S=function(t){this.classList.remove(t)};Element.implement({setProperty:function(t,e){var n,r=s[t.toLowerCase()];r?r(this,e):(g&&(n=this.retrieve("$attributeWhiteList",{})),null==e?(this.removeAttribute(t),g&&delete n[t]):(this.setAttribute(t,""+e),g&&(n[t]=!0)));return this},setProperties:function(t){for(var e in t)this.setProperty(e,t[e]);return this},getProperty:function(t){var e=o[t.toLowerCase()];if(e)return e(this);if(g){var n=this.getAttributeNode(t),r=this.retrieve("$attributeWhiteList",{});if(!n)return null;if(n.expando&&!r[t]){var i=this.outerHTML;if(i.substr(0,i.search(/\\/?['"]?>(?![^<]*<['"])/)).indexOf(t)<0)return null;r[t]=!0}}var s=Slick.getAttribute(this,t);return s||Slick.hasAttribute(this,t)?s:null},getProperties:function(){var t=Array.convert(arguments);return t.map(this.getProperty,this).associate(t)},removeProperty:function(t){return this.setProperty(t,null)},removeProperties:function(){return Array.each(arguments,this.removeProperty,this),this},set:function(t,e){var n=Element.Properties[t];n&&n.set?n.set.call(this,e):this.setProperty(t,e)}.overloadSetter(),get:function(t){var e=Element.Properties[t];return e&&e.get?e.get.apply(this):this.getProperty(t)}.overloadGetter(),erase:function(t){var e=Element.Properties[t];return e&&e.erase?e.erase.apply(this):this.removeProperty(t),this},hasClass:b?function(t){return this.classList.contains(t)}:function(t){return x(this.className).contains(t)},addClass:b?function(t){return x(t).forEach(E,this),this}:function(t){return this.className=x(t+" "+this.className).join(" "),this},removeClass:b?function(t){return x(t).forEach(S,this),this}:function(t){var e=x(this.className);return x(t).forEach(e.erase,e),this.className=e.join(" "),this},toggleClass:function(t,e){return null==e&&(e=!this.hasClass(t)),e?this.addClass(t):this.removeClass(t)},adopt:function(){var t,e=this,n=Array.flatten(arguments),r=n.length;1<r&&(e=t=document.createDocumentFragment());for(var i=0;i<r;i++){var s=document.id(n[i],!0);s&&e.appendChild(s)}return t&&this.appendChild(t),this},appendText:function(t,e){return this.grab(this.getDocument().newTextNode(t),e)},grab:function(t,e){return a[e||"bottom"](document.id(t,!0),this),this},inject:function(t,e){return a[e||"bottom"](this,document.id(t,!0)),this},replaces:function(t){return(t=document.id(t,!0)).parentNode.replaceChild(this,t),this},wraps:function(t,e){return t=document.id(t,!0),this.replaces(t).grab(t,e)},getSelected:function(){return this.selectedIndex,new Elements(Array.convert(this.options).filter(function(t){return t.selected}))},toQueryString:function(){var r=[];return this.getElements("input, select, textarea").each(function(e){var t=e.type;if(e.name&&!e.disabled&&"submit"!=t&&"reset"!=t&&"file"!=t&&"image"!=t){var n="select"==e.get("tag")?e.getSelected().map(function(t){return document.id(t).get("value")}):"radio"!=t&&"checkbox"!=t||e.checked?e.get("value"):null;Array.convert(n).each(function(t){void 0!==t&&r.push(encodeURIComponent(e.name)+"="+encodeURIComponent(t))})}}),r.join("&")}});var w={before:"beforeBegin",after:"afterEnd",bottom:"beforeEnd",top:"afterBegin",inside:"beforeEnd"};Element.implement("appendHTML","insertAdjacentHTML"in document.createElement("div")?function(t,e){return this.insertAdjacentHTML(w[e||"bottom"],t),this}:function(t,e){var n=new Element("div",{html:t}),r=n.childNodes,i=n.firstChild;if(!i)return this;if(1<r.length){i=document.createDocumentFragment();for(var s=0,o=r.length;s<o;s++)i.appendChild(r[s])}return a[e||"bottom"](i,this),this});var k={},T={},C=function(t){return T[t]||(T[t]={})},N=function(t){var e=t.uniqueNumber;return t.removeEvents&&t.removeEvents(),t.clearAttributes&&t.clearAttributes(),null!=e&&(delete k[e],delete T[e]),t},O={input:"checked",option:"selected",textarea:"value"};if(Element.implement({destroy:function(){var t=N(this).getElementsByTagName("*");return Array.each(t,N),Element.dispose(this),null},empty:function(){return Array.convert(this.childNodes).each(Element.dispose),this},dispose:function(){return this.parentNode?this.parentNode.removeChild(this):this},clone:function(t,e){t=!1!==t;var n,r=this.cloneNode(t),i=[r],s=[this];for(t&&(i.append(Array.convert(r.getElementsByTagName("*"))),s.append(Array.convert(this.getElementsByTagName("*")))),n=i.length;n--;){var o=i[n],a=s[n];if(e||o.removeAttribute("id"),o.clearAttributes&&(o.clearAttributes(),o.mergeAttributes(a),o.removeAttribute("uniqueNumber"),o.options))for(var u=o.options,c=a.options,l=u.length;l--;)u[l].selected=c[l].selected;var h=O[a.tagName.toLowerCase()];h&&a[h]&&(o[h]=a[h])}if(y){var f=r.getElementsByTagName("object"),p=this.getElementsByTagName("object");for(n=f.length;n--;)f[n].outerHTML=p[n].outerHTML}return document.id(r)}}),[Element,Window,Document].invoke("implement",{addListener:function(t,e){return window.attachEvent&&!window.addEventListener&&(k[Slick.uidOf(this)]=this),this.addEventListener?this.addEventListener(t,e,!!arguments[2]):this.attachEvent("on"+t,e),this},removeListener:function(t,e){return this.removeEventListener?this.removeEventListener(t,e,!!arguments[2]):this.detachEvent("on"+t,e),this},retrieve:function(t,e){var n=C(Slick.uidOf(this)),r=n[t];return null!=e&&null==r&&(r=n[t]=e),null!=r?r:null},store:function(t,e){return C(Slick.uidOf(this))[t]=e,this},eliminate:function(t){return delete C(Slick.uidOf(this))[t],this}}),window.attachEvent&&!window.addEventListener){var A=function(){Object.each(k,N),window.CollectGarbage&&CollectGarbage(),window.removeListener("unload",A)};window.addListener("unload",A)}Element.Properties={},Element.Properties.style={set:function(t){this.style.cssText=t},get:function(){return this.style.cssText},erase:function(){this.style.cssText=""}},Element.Properties.tag={get:function(){return this.tagName.toLowerCase()}},Element.Properties.html={set:function(t){null==t?t="":"array"==typeOf(t)&&(t=t.join("")),this.styleSheet&&!p?this.styleSheet.cssText=t:this.innerHTML=t},erase:function(){this.set("html","")}};var L,M,$,j,D=document.createElement("div");if(D.innerHTML="<nav></nav>",!(L=1==D.childNodes.length)){var P="abbr article aside audio canvas datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video".split(" ");for(j=document.createDocumentFragment(),l=P.length;l--;)j.createElement(P[l])}D=null,M=Function.attempt(function(){return document.createElement("table").innerHTML="<tr><td></td></tr>",!0});var H,F,R=document.createElement("tr"),I="<td></td>";R.innerHTML=I,$=R.innerHTML==I,R=null,M&&$&&L||(Element.Properties.html.set=(H=Element.Properties.html.set,(F={table:[1,"<table>","</table>"],select:[1,"<select>","</select>"],tbody:[2,"<table><tbody>","</tbody></table>"],tr:[3,"<table><tbody><tr>","</tr></tbody></table>"]}).thead=F.tfoot=F.tbody,function(t){if(this.styleSheet)return H.call(this,t);var e=F[this.get("tag")];if(e||L||(e=[0,"",""]),!e)return H.call(this,t);var n=e[0],r=document.createElement("div"),i=r;for(L||j.appendChild(r),r.innerHTML=[e[1],t,e[2]].flatten().join("");n--;)i=i.firstChild;this.empty().adopt(i.childNodes),L||j.removeChild(r),r=null}));var B=document.createElement("form");B.innerHTML="<select><option>s</option></select>","s"!=B.firstChild.value&&(Element.Properties.value={set:function(t){if("select"!=this.get("tag"))return this.setProperty("value",t);var e=this.getElements("option");t=String(t);for(var n=0;n<e.length;n++){var r=e[n],i=r.getAttributeNode("value");if((i&&i.specified?r.value:r.get("text"))===t)return r.selected=!0}},get:function(){var t=this,e=t.get("tag");if("select"!=e&&"option"!=e)return this.getProperty("value");if("select"==e&&!(t=t.getSelected()[0]))return"";var n=t.getAttributeNode("value");return n&&n.specified?t.value:t.get("text")}}),B=null,document.createElement("div").getAttributeNode("id")&&(Element.Properties.id={set:function(t){this.id=this.getAttributeNode("id").value=t},get:function(){return this.id||null},erase:function(){this.id=this.getAttributeNode("id").value=""}})}(),function(){var t,e=document.html;(t=document.createElement("div")).style.color="red",t.style.color=null;var s="red"==t.style.color,n="1px solid #123abc";t.style.border=n;var o=t.style.border!=n;t=null;var a=!!window.getComputedStyle,u=null!=document.createElement("div").style.borderRadius;Element.Properties.styles={set:function(t){this.setStyles(t)}};var r=null!=e.style.opacity,i=null!=e.style.filter,c=/alpha\\(opacity=([\\d.]+)\\)/i,l=function(t,e,n){var r=t.style,i=r.filter||t.getComputedStyle("filter")||"";r.filter=(e.test(i)?i.replace(e,n):i+" "+n).trim(),r.filter||r.removeAttribute("filter")},h=r?function(t,e){t.style.opacity=e}:i?function(t,e){t.currentStyle&&t.currentStyle.hasLayout||(t.style.zoom=1),null==e||1==e?(l(t,c,""),1==e&&1!=f(t)&&l(t,c,"alpha(opacity=100)")):l(t,c,"alpha(opacity="+(100*e).limit(0,100).round()+")")}:function(t,e){t.store("$opacity",e),t.style.visibility=0<e||null==e?"visible":"hidden"},f=r?function(t){var e=t.style.opacity||t.getComputedStyle("opacity");return""==e?1:e.toFloat()}:i?function(t){var e,n=t.style.filter||t.getComputedStyle("filter");return n&&(e=n.match(c)),null==e||null==n?1:e[1]/100}:function(t){var e=t.retrieve("$opacity");return null==e&&(e="hidden"==t.style.visibility?0:1),e},p=null==e.style.cssFloat?"styleFloat":"cssFloat",d={left:"0%",top:"0%",center:"50%",right:"100%",bottom:"100%"},m=null!=e.style.backgroundPositionX,v=/^-(ms)-/,g=function(t){return t.replace(v,"$1-").camelCase()};Element.implement({getComputedStyle:function(t){if(!a&&this.currentStyle)return this.currentStyle[g(t)];var e=Element.getDocument(this).defaultView,n=e?e.getComputedStyle(this,null):null;return n?n.getPropertyValue(t==p?"float":t.hyphenate()):""},setStyle:function(t,e){if("opacity"==t)return null!=e&&(e=parseFloat(e)),h(this,e),this;if(t=g("float"==t?p:t),"string"!=typeOf(e)){var n=(Element.Styles[t]||"@").split(" ");e=Array.convert(e).map(function(t,e){return n[e]?"number"==typeOf(t)?n[e].replace("@",Math.round(t)):t:""}).join(" ")}else e==String(Number(e))&&(e=Math.round(e));var r,i;return(""==(this.style[t]=e)||null==e)&&s&&this.style.removeAttribute&&(r=this.style,"backgroundPosition"==(i=t)&&(r.removeAttribute(i+"X"),i+="Y"),r.removeAttribute(i)),this},getStyle:function(t){if("opacity"==t)return f(this);if(t=g("float"==t?p:t),u&&-1!=t.indexOf("borderRadius"))return["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"].map(function(t){return this.style[t]||"0px"},this).join(" ");var e=this.style[t];if(!e||"zIndex"==t){if(Element.ShortStyles.hasOwnProperty(t)){for(var n in e=[],Element.ShortStyles[t])e.push(this.getStyle(n));return e.join(" ")}e=this.getComputedStyle(t)}if(m&&/^backgroundPosition[XY]?$/.test(t))return e.replace(/(top|right|bottom|left)/g,function(t){return d[t]})||"0px";if(!e&&"backgroundPosition"==t)return"0px 0px";if(e){var r=(e=String(e)).match(/rgba?\\([\\d\\s,]+\\)/);r&&(e=e.replace(r[0],r[0].rgbToHex()))}if(!a&&!this.style[t]){if(/^(height|width)$/.test(t)&&!/px$/.test(e)){var i=0;return("width"==t?["left","right"]:["top","bottom"]).each(function(t){i+=this.getStyle("border-"+t+"-width").toInt()+this.getStyle("padding-"+t).toInt()},this),this["offset"+t.capitalize()]-i+"px"}if(/^border(.+)Width|margin|padding/.test(t)&&isNaN(parseFloat(e)))return"0px"}return o&&/^border(Top|Right|Bottom|Left)?$/.test(t)&&/^#/.test(e)?e.replace(/^(.+)\\s(.+)\\s(.+)$/,"$2 $3 $1"):e},setStyles:function(t){for(var e in t)this.setStyle(e,t[e]);return this},getStyles:function(){var e={};return Array.flatten(arguments).each(function(t){e[t]=this.getStyle(t)},this),e}}),Element.Styles={left:"@px",top:"@px",bottom:"@px",right:"@px",width:"@px",height:"@px",maxWidth:"@px",maxHeight:"@px",minWidth:"@px",minHeight:"@px",backgroundColor:"rgb(@, @, @)",backgroundSize:"@px",backgroundPosition:"@px @px",color:"rgb(@, @, @)",fontSize:"@px",letterSpacing:"@px",lineHeight:"@px",clip:"rect(@px @px @px @px)",margin:"@px @px @px @px",padding:"@px @px @px @px",border:"@px @ rgb(@, @, @) @px @ rgb(@, @, @) @px @ rgb(@, @, @)",borderWidth:"@px @px @px @px",borderStyle:"@ @ @ @",borderColor:"rgb(@, @, @) rgb(@, @, @) rgb(@, @, @) rgb(@, @, @)",zIndex:"@",zoom:"@",fontWeight:"@",textIndent:"@px",opacity:"@",borderRadius:"@px @px @px @px"},Element.ShortStyles={margin:{},padding:{},border:{},borderWidth:{},borderStyle:{},borderColor:{}},["Top","Right","Bottom","Left"].each(function(n){var r=Element.ShortStyles,i=Element.Styles;["margin","padding"].each(function(t){var e=t+n;r[t][e]=i[e]="@px"});var t="border"+n;r.border[t]=i[t]="@px @ rgb(@, @, @)";var e=t+"Width",s=t+"Style",o=t+"Color";r[t]={},r.borderWidth[e]=r[t][e]=i[e]="@px",r.borderStyle[s]=r[t][s]=i[s]="@",r.borderColor[o]=r[t][o]=i[o]="rgb(@, @, @)"}),m&&(Element.ShortStyles.backgroundPosition={backgroundPositionX:"@",backgroundPositionY:"@"})}(),function(){Element.Properties.events={set:function(t){this.addEvents(t)}},[Element,Window,Document].invoke("implement",{addEvent:function(e,n){var t=this.retrieve("events",{});if(t[e]||(t[e]={keys:[],values:[]}),t[e].keys.contains(n))return this;t[e].keys.push(n);var r=e,i=Element.Events[e],s=n,o=this;i&&(i.onAdd&&i.onAdd.call(this,n,e),i.condition&&(s=function(t){return!i.condition.call(this,t,e)||n.call(this,t)}),i.base&&(r=Function.convert(i.base).call(this,e)));var a=function(){return n.call(o)},u=Element.NativeEvents[r];return u&&(2==u&&(a=function(t){t=new DOMEvent(t,o.getWindow()),!1===s.call(o,t)&&t.stop()}),this.addListener(r,a,arguments[2])),t[e].values.push(a),this},removeEvent:function(t,e){var n=this.retrieve("events");if(!n||!n[t])return this;var r=n[t],i=r.keys.indexOf(e);if(-1==i)return this;var s=r.values[i];delete r.keys[i],delete r.values[i];var o=Element.Events[t];return o&&(o.onRemove&&o.onRemove.call(this,e,t),o.base&&(t=Function.convert(o.base).call(this,t))),Element.NativeEvents[t]?this.removeListener(t,s,arguments[2]):this},addEvents:function(t){for(var e in t)this.addEvent(e,t[e]);return this},removeEvents:function(e){var t;if("object"==typeOf(e)){for(t in e)this.removeEvent(t,e[t]);return this}var n=this.retrieve("events");if(!n)return this;if(e)n[e]&&(n[e].keys.each(function(t){this.removeEvent(e,t)},this),delete n[e]);else{for(t in n)this.removeEvents(t);this.eliminate("events")}return this},fireEvent:function(t,e,n){var r=this.retrieve("events");return r&&r[t]&&(e=Array.convert(e),r[t].keys.each(function(t){n?t.delay(n,this,e):t.apply(this,e)},this)),this},cloneEvents:function(t,e){var n=(t=document.id(t)).retrieve("events");if(!n)return this;if(e)n[e]&&n[e].keys.each(function(t){this.addEvent(e,t)},this);else for(var r in n)this.cloneEvents(t,r);return this}}),Element.NativeEvents={click:2,dblclick:2,mouseup:2,mousedown:2,contextmenu:2,wheel:2,mousewheel:2,DOMMouseScroll:2,mouseover:2,mouseout:2,mousemove:2,selectstart:2,selectend:2,keydown:2,keypress:2,keyup:2,orientationchange:2,touchstart:2,touchmove:2,touchend:2,touchcancel:2,gesturestart:2,gesturechange:2,gestureend:2,focus:2,blur:2,change:2,reset:2,select:2,submit:2,paste:2,input:2,load:2,unload:1,beforeunload:2,resize:1,move:1,DOMContentLoaded:1,readystatechange:1,hashchange:1,popstate:2,pageshow:2,pagehide:2,error:1,abort:1,scroll:1,message:2},Element.Events={mousewheel:{base:"onwheel"in document?"wheel":"onmousewheel"in document?"mousewheel":"DOMMouseScroll"}};var t=function(t){var e=t.relatedTarget;return null==e||!!e&&(e!=this&&"xul"!=e.prefix&&"document"!=typeOf(this)&&!this.contains(e))};"onmouseenter"in document.documentElement?(Element.NativeEvents.mouseenter=Element.NativeEvents.mouseleave=2,Element.MouseenterCheck=t):(Element.Events.mouseenter={base:"mouseover",condition:t},Element.Events.mouseleave={base:"mouseout",condition:t}),window.addEventListener||(Element.NativeEvents.propertychange=2,Element.Events.change={base:function(){var t=this.type;return"input"!=this.get("tag")||"radio"!=t&&"checkbox"!=t?"change":"propertychange"},condition:function(t){return"propertychange"!=t.type||"checked"==t.event.propertyName}})}(),function(){var t=!!window.addEventListener;Element.NativeEvents.focusin=Element.NativeEvents.focusout=2;var v=function(t,e,n,r,i){for(;i&&i!=t;){if(e(i,r))return n.call(i,r,i);i=document.id(i.parentNode)}},g={mouseenter:{base:"mouseover",condition:Element.MouseenterCheck},mouseleave:{base:"mouseout",condition:Element.MouseenterCheck},focus:{base:"focus"+(t?"":"in"),capture:!0},blur:{base:t?"blur":"focusout",capture:!0}},p="$delegation:",e=function(f){return{base:"focusin",remove:function(t,e){var n=t.retrieve(p+f+"listeners",{})[e];if(n&&n.forms)for(var r=n.forms.length;r--;)n.forms[r].removeEvent&&n.forms[r].removeEvent(f,n.fns[r])},listen:function(e,n,r,t,i,s){var o="form"==i.get("tag")?i:t.target.getParent("form");if(o){var a=e.retrieve(p+f+"listeners",{}),u=a[s]||{forms:[],fns:[]},c=u.forms,l=u.fns;if(-1==c.indexOf(o)){c.push(o);var h=function(t){v(e,n,r,t,i)};o.addEvent(f,h),l.push(h),a[s]=u,e.store(p+f+"listeners",a)}}}}},n=function(o){return{base:"focusin",listen:function(e,n,r,t,i){var s={blur:function(){this.removeEvents(s)}};s[o]=function(t){v(e,n,r,t,i)},t.target.addEvents(s)}}};t||Object.append(g,{submit:e("submit"),reset:e("reset"),change:n("change"),select:n("select")});var r=Element.prototype,y=r.addEvent,h=r.removeEvent,i=function(s,o){return function(t,e,n){if(-1==t.indexOf(":relay"))return s.call(this,t,e,n);var r=Slick.parse(t).expressions[0][0];if("relay"!=r.pseudos[0].key)return s.call(this,t,e,n);var i=r.tag;return r.pseudos.slice(1).each(function(t){i+=":"+t.key+(t.value?"("+t.value+")":"")}),s.call(this,t,e),o.call(this,i,r.pseudos[0].value,e)}},f={addEvent:function(n,r,i){var t=this.retrieve("$delegates",{}),e=t[n];if(e)for(var s in e)if(e[s].fn==i&&e[s].match==r)return this;var o=n,a=r,u=i,c=g[n]||{};n=c.base||o,r=function(t){return Slick.match(t,a)};var l=Element.Events[o];if(c.condition||l&&l.condition){var h=r,f=c.condition||l.condition;r=function(t,e){return h(t,e)&&f.call(t,e,n)}}var p=this,d=String.uniqueID(),m=c.listen?function(t,e){!e&&t&&t.target&&(e=t.target),e&&c.listen(p,r,i,t,e,d)}:function(t,e){!e&&t&&t.target&&(e=t.target),e&&v(p,r,i,t,e)};return e||(e={}),e[d]={match:a,fn:u,delegator:m},t[o]=e,y.call(this,n,m,c.capture)},removeEvent:function(t,e,n,r){var i,s,o=this.retrieve("$delegates",{}),a=o[t];if(!a)return this;if(r){var u=t,c=a[r].delegator,l=g[t]||{};return t=l.base||u,l.remove&&l.remove(this,r),delete a[r],o[u]=a,h.call(this,t,c,l.capture)}if(n){for(i in a)if((s=a[i]).match==e&&s.fn==n)return f.removeEvent.call(this,t,e,n,i)}else for(i in a)(s=a[i]).match==e&&f.removeEvent.call(this,t,e,s.fn,i);return this}};[Element,Window,Document].invoke("implement",{addEvent:i(y,f.addEvent),removeEvent:i(h,f.removeEvent)})}(),function(){var t=document.createElement("div"),e=document.createElement("div");t.style.height="0",t.appendChild(e);var n=e.offsetParent===t;t=e=null;var i=["height","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"],s=["width","paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],r=function(t){return"static"!=a(t,"position")||c(t)},o=function(t){return r(t)||/^(?:table|td|th)$/i.test(t.tagName)};Element.implement({scrollTo:function(t,e){return c(this)?this.getWindow().scrollTo(t,e):(this.scrollLeft=t,this.scrollTop=e),this},getSize:function(){if(c(this))return this.getWindow().getSize();if(!window.getComputedStyle)return{x:this.offsetWidth,y:this.offsetHeight};if("svg"==this.get("tag"))return t=this,e=window.getComputedStyle(t),n={x:0,y:0},i.each(function(t){n.y+=parseFloat(e[t])}),s.each(function(t){n.x+=parseFloat(e[t])}),n;var t,e,n;try{var r=this.getBoundingClientRect();return{x:r.width,y:r.height}}catch(t){return{x:0,y:0}}},getScrollSize:function(){return c(this)?this.getWindow().getScrollSize():{x:this.scrollWidth,y:this.scrollHeight}},getScroll:function(){return c(this)?this.getWindow().getScroll():{x:this.scrollLeft,y:this.scrollTop}},getScrolls:function(){for(var t=this.parentNode,e={x:0,y:0};t&&!c(t);)e.x+=t.scrollLeft,e.y+=t.scrollTop,t=t.parentNode;return e},getOffsetParent:n?function(){var t=this;if(c(t)||"fixed"==a(t,"position"))return null;for(var e="static"==a(t,"position")?o:r;t=t.parentNode;)if(e(t))return t;return null}:function(){if(c(this)||"fixed"==a(this,"position"))return null;try{return this.offsetParent}catch(t){}return null},getOffsets:function(){if(this.getBoundingClientRect){var t=this.getBoundingClientRect(),e=document.id(this.getDocument().documentElement),n=e.getScroll(),r=this.getScrolls(),i="fixed"==a(this,"position");return{x:t.left.toFloat()+r.x+(i?0:n.x)-e.clientLeft,y:t.top.toFloat()+r.y+(i?0:n.y)-e.clientTop}}var s=this,o={x:0,y:0};if(c(this))return o;for(;s&&!c(s);)o.x+=s.offsetLeft,o.y+=s.offsetTop,s=s.offsetParent;return o},getPosition:function(t){var e,n,r=this.getOffsets(),i=this.getScrolls(),s={x:r.x-i.x,y:r.y-i.y};if(t&&(t=document.id(t))){var o=t.getPosition();return{x:s.x-o.x-(n=t,u(n,"border-left-width")),y:s.y-o.y-(e=t,u(e,"border-top-width"))}}return s},getCoordinates:function(t){if(c(this))return this.getWindow().getCoordinates();var e=this.getPosition(t),n=this.getSize(),r={left:e.x,top:e.y,width:n.x,height:n.y};return r.right=r.left+r.width,r.bottom=r.top+r.height,r},computePosition:function(t){return{left:t.x-u(this,"margin-left"),top:t.y-u(this,"margin-top")}},setPosition:function(t){return this.setStyles(this.computePosition(t))}}),[Document,Window].invoke("implement",{getSize:function(){var t=l(this);return{x:t.clientWidth,y:t.clientHeight}},getScroll:function(){var t=this.getWindow(),e=l(this);return{x:t.pageXOffset||e.scrollLeft,y:t.pageYOffset||e.scrollTop}},getScrollSize:function(){var t=l(this),e=this.getSize(),n=this.getDocument().body;return{x:Math.max(t.scrollWidth,n.scrollWidth,e.x),y:Math.max(t.scrollHeight,n.scrollHeight,e.y)}},getPosition:function(){return{x:0,y:0}},getCoordinates:function(){var t=this.getSize();return{top:0,left:0,bottom:t.y,right:t.x,height:t.y,width:t.x}}});var a=Element.getComputedStyle;function u(t,e){return a(t,e).toInt()||0}function c(t){return/^(?:body|html)$/i.test(t.tagName)}function l(t){var e=t.getDocument();return e.compatMode&&"CSS1Compat"!=e.compatMode?e.body:e.html}}(),Element.alias({position:"setPosition"}),[Window,Document,Element].invoke("implement",{getHeight:function(){return this.getSize().y},getWidth:function(){return this.getSize().x},getScrollTop:function(){return this.getScroll().y},getScrollLeft:function(){return this.getScroll().x},getScrollHeight:function(){return this.getScrollSize().y},getScrollWidth:function(){return this.getScrollSize().x},getTop:function(){return this.getPosition().y},getLeft:function(){return this.getPosition().x}}),function(){var s=this.Fx=new Class({Implements:[Chain,Events,Options,Class.Thenable],options:{fps:60,unit:!1,duration:500,frames:null,frameSkip:!0,link:"ignore"},initialize:function(t){this.subject=this.subject||this,this.setOptions(t)},getTransition:function(){return function(t){return-(Math.cos(Math.PI*t)-1)/2}},step:function(t){if(this.options.frameSkip){var e=(null!=this.time?t-this.time:0)/this.frameInterval;this.time=t,this.frame+=e}else this.frame++;if(this.frame<this.frames){var n=this.transition(this.frame/this.frames);this.set(this.compute(this.from,this.to,n))}else this.frame=this.frames,this.set(this.compute(this.from,this.to,1)),this.stop()},set:function(t){return t},compute:function(t,e,n){return s.compute(t,e,n)},check:function(){if(!this.isRunning())return!0;switch(this.options.link){case"cancel":return this.cancel(),!0;case"chain":return this.chain(this.caller.pass(arguments,this)),!1}return!1},start:function(t,e){if(!this.check(t,e))return this;this.from=t,this.to=e,this.frame=this.options.frameSkip?0:-1,this.time=null,this.transition=this.getTransition();var n=this.options.frames,r=this.options.fps,i=this.options.duration;return this.duration=s.Durations[i]||i.toInt(),this.frameInterval=1e3/r,this.frames=n||Math.round(this.duration/this.frameInterval),"pending"!==this.getThenableState()&&this.resetThenable(this.subject),this.fireEvent("start",this.subject),o.call(this,r),this},stop:function(){return this.isRunning()&&(this.time=null,t.call(this,this.options.fps),this.frames==this.frame?(this.fireEvent("complete",this.subject),this.callChain()||this.fireEvent("chainComplete",this.subject)):this.fireEvent("stop",this.subject),this.resolve(this.subject===this?null:this.subject)),this},cancel:function(){return this.isRunning()&&(this.time=null,t.call(this,this.options.fps),this.frame=this.frames,this.fireEvent("cancel",this.subject).clearChain(),this.reject(this.subject)),this},pause:function(){return this.isRunning()&&(this.time=null,t.call(this,this.options.fps)),this},resume:function(){return this.isPaused()&&o.call(this,this.options.fps),this},isRunning:function(){var t=n[this.options.fps];return t&&t.contains(this)},isPaused:function(){return this.frame<this.frames&&!this.isRunning()}});s.compute=function(t,e,n){return(e-t)*n+t},s.Durations={short:250,normal:500,long:1e3};var n={},r={},o=function(t){var e=n[t]||(n[t]=[]);e.push(this),r[t]||(r[t]=function(){for(var t=Date.now(),e=this.length;e--;){var n=this[e];n&&n.step(t)}}.periodical(Math.round(1e3/t),e))},t=function(t){var e=n[t];e&&(e.erase(this),!e.length&&r[t]&&(delete n[t],r[t]=clearInterval(r[t])))}}(),Fx.CSS=new Class({Extends:Fx,prepare:function(t,e,n){var r=(n=Array.convert(n))[0],i=n[1];if(null==i){i=r,r=t.getStyle(e);var s=this.options.unit;if(s&&r&&"string"==typeof r&&r.slice(-s.length)!=s&&0!=parseFloat(r)){t.setStyle(e,i+s);var o=t.getComputedStyle(e);if(!/px$/.test(o)&&null==(o=t.style[("pixel-"+e).camelCase()])){var a=t.style.left;t.style.left=i+s,o=t.style.pixelLeft,t.style.left=a}r=(i||1)/(parseFloat(o)||1)*(parseFloat(r)||0),t.setStyle(e,r+s)}}return{from:this.parse(r),to:this.parse(i)}},parse:function(t){return(t="string"==typeof(t=Function.convert(t)())?t.split(" "):Array.convert(t)).map(function(n){n=String(n);var r=!1;return Object.each(Fx.CSS.Parsers,function(t){if(!r){var e=t.parse(n);(e||0===e)&&(r={value:e,parser:t})}}),r=r||{value:n,parser:Fx.CSS.Parsers.String}})},compute:function(e,n,r){var i=[];return Math.min(e.length,n.length).times(function(t){i.push({value:e[t].parser.compute(e[t].value,n[t].value,r),parser:e[t].parser})}),i.$family=Function.convert("fx:css:value"),i},serve:function(t,e){"fx:css:value"!=typeOf(t)&&(t=this.parse(t));var n=[];return t.each(function(t){n=n.concat(t.parser.serve(t.value,e))}),n},render:function(t,e,n,r){t.setStyle(e,this.serve(n,r))},search:function(t){if(Fx.CSS.Cache[t])return Fx.CSS.Cache[t];var r={},e=new RegExp("^"+t.escapeRegExp()+"$"),i=function(t){Array.each(t,function(n){if(n.media)i(n.rules||n.cssRules);else if(n.style){var t=n.selectorText?n.selectorText.replace(/^\\w+/,function(t){return t.toLowerCase()}):null;t&&e.test(t)&&Object.each(Element.Styles,function(t,e){n.style[e]&&!Element.ShortStyles[e]&&(t=String(n.style[e]),r[e]=/^rgb/.test(t)?t.rgbToHex():t)})}})};return Array.each(document.styleSheets,function(t){var e=t.href;if(!(e&&-1<e.indexOf("://")&&-1==e.indexOf(document.domain))){var n=t.rules||t.cssRules;i(n)}}),Fx.CSS.Cache[t]=r}}),Fx.CSS.Cache={},Fx.CSS.Parsers={Color:{parse:function(t){return t.match(/^#[0-9a-f]{3,6}$/i)?t.hexToRgb(!0):!!(t=t.match(/(\\d+),\\s*(\\d+),\\s*(\\d+)/))&&[t[1],t[2],t[3]]},compute:function(n,r,i){return n.map(function(t,e){return Math.round(Fx.compute(n[e],r[e],i))})},serve:function(t){return t.map(Number)}},Number:{parse:parseFloat,compute:Fx.compute,serve:function(t,e){return e?t+e:t}},String:{parse:Function.convert(!1),compute:function(t,e){return e},serve:function(t){return t}}},Fx.Tween=new Class({Extends:Fx.CSS,initialize:function(t,e){this.element=this.subject=document.id(t),this.parent(e)},set:function(t,e){return 1==arguments.length&&(e=t,t=this.property||this.options.property),this.render(this.element,t,e,this.options.unit),this},start:function(t,e,n){if(!this.check(t,e,n))return this;var r=Array.flatten(arguments);this.property=this.options.property||r.shift();var i=this.prepare(this.element,this.property,r);return this.parent(i.from,i.to)}}),Element.Properties.tween={set:function(t){return this.get("tween").cancel().setOptions(t),this},get:function(){var t=this.retrieve("tween");return t||(t=new Fx.Tween(this,{link:"cancel"}),this.store("tween",t)),t}},Element.implement({tween:function(t,e,n){return this.get("tween").start(t,e,n),this},fade:function(){var t,e,n=this.get("tween"),r=["opacity"].append(arguments);switch(null==r[1]&&(r[1]="toggle"),r[1]){case"in":t="start",r[1]=1;break;case"out":t="start",r[1]=0;break;case"show":t="set",r[1]=1;break;case"hide":t="set",r[1]=0;break;case"toggle":var i=this.retrieve("fade:flag",1==this.getStyle("opacity"));t="start",r[1]=i?0:1,this.store("fade:flag",!i),e=!0;break;default:t="start"}e||this.eliminate("fade:flag"),n[t].apply(n,r);var s=r[r.length-1];return"set"==t?this.setStyle("visibility",0==s?"hidden":"visible"):0!=s?n.$chain.length?n.chain(function(){this.element.setStyle("visibility","visible"),this.callChain()}):this.setStyle("visibility","visible"):n.chain(function(){this.element.getStyle("opacity")||(this.element.setStyle("visibility","hidden"),this.callChain())}),this},highlight:function(t,e){e||(e="transparent"==(e=this.retrieve("highlight:original",this.getStyle("background-color")))?"#fff":e);var n=this.get("tween");return n.start("background-color",t||"#ffff88",e).chain(function(){this.setStyle("background-color",this.retrieve("highlight:original")),n.callChain()}.bind(this)),this}}),Fx.Morph=new Class({Extends:Fx.CSS,initialize:function(t,e){this.element=this.subject=document.id(t),this.parent(e)},set:function(t){for(var e in"string"==typeof t&&(t=this.search(t)),t)this.render(this.element,e,t[e],this.options.unit);return this},compute:function(t,e,n){var r={};for(var i in t)r[i]=this.parent(t[i],e[i],n);return r},start:function(t){if(!this.check(t))return this;"string"==typeof t&&(t=this.search(t));var e={},n={};for(var r in t){var i=this.prepare(this.element,r,t[r]);e[r]=i.from,n[r]=i.to}return this.parent(e,n)}}),Element.Properties.morph={set:function(t){return this.get("morph").cancel().setOptions(t),this},get:function(){var t=this.retrieve("morph");return t||(t=new Fx.Morph(this,{link:"cancel"}),this.store("morph",t)),t}},Element.implement({morph:function(t){return this.get("morph").start(t),this}}),Fx.implement({getTransition:function(){var t=this.options.transition||Fx.Transitions.Sine.easeInOut;if("string"==typeof t){var e=t.split(":");t=(t=Fx.Transitions)[e[0]]||t[e[0].capitalize()],e[1]&&(t=t["ease"+e[1].capitalize()+(e[2]?e[2].capitalize():"")])}return t}}),Fx.Transition=function(e,n){n=Array.convert(n);var t=function(t){return e(t,n)};return Object.append(t,{easeIn:t,easeOut:function(t){return 1-e(1-t,n)},easeInOut:function(t){return(t<=.5?e(2*t,n):2-e(2*(1-t),n))/2}})},Fx.Transitions={linear:function(t){return t}},Fx.Transitions.extend=function(t){for(var e in t)Fx.Transitions[e]=new Fx.Transition(t[e])},Fx.Transitions.extend({Pow:function(t,e){return Math.pow(t,e&&e[0]||6)},Expo:function(t){return Math.pow(2,8*(t-1))},Circ:function(t){return 1-Math.sin(Math.acos(t))},Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Back:function(t,e){return e=e&&e[0]||1.618,Math.pow(t,2)*((e+1)*t-e)},Bounce:function(t){for(var e,n=0,r=1;;n+=r,r/=2)if((7-4*n)/11<=t){e=r*r-Math.pow((11-6*n-11*t)/4,2);break}return e},Elastic:function(t,e){return Math.pow(2,10*--t)*Math.cos(20*t*Math.PI*(e&&e[0]||1)/3)}}),["Quad","Cubic","Quart","Quint"].each(function(t,e){Fx.Transitions[t]=new Fx.Transition(function(t){return Math.pow(t,e+2)})}),function(){var n=function(){},h="onprogress"in new Browser.Request,e=this.Request=new Class({Implements:[Chain,Events,Options,Class.Thenable],options:{url:"",data:"",headers:{"X-Requested-With":"XMLHttpRequest",Accept:"text/javascript, text/html, application/xml, text/xml, */*"},async:!0,format:!1,method:"post",link:"ignore",isSuccess:null,emulation:!0,urlEncoded:!0,encoding:"utf-8",evalScripts:!1,evalResponse:!1,timeout:0,noCache:!1},initialize:function(t){this.xhr=new Browser.Request,this.setOptions(t),this.headers=this.options.headers},onStateChange:function(){var e=this.xhr;4==e.readyState&&this.running&&(this.running=!1,this.status=0,Function.attempt(function(){var t=e.status;this.status=1223==t?204:t}.bind(this)),e.onreadystatechange=n,h&&(e.onprogress=e.onloadstart=n),this.timer&&(clearTimeout(this.timer),delete this.timer),this.response={text:this.xhr.responseText||"",xml:this.xhr.responseXML},this.options.isSuccess.call(this,this.status)?this.success(this.response.text,this.response.xml):this.failure())},isSuccess:function(){var t=this.status;return 200<=t&&t<300},isRunning:function(){return!!this.running},processScripts:function(t){return this.options.evalResponse||/(ecma|java)script/.test(this.getHeader("Content-type"))?Browser.exec(t):t.stripScripts(this.options.evalScripts)},success:function(t,e){this.onSuccess(this.processScripts(t),e),this.resolve({text:t,xml:e})},onSuccess:function(){this.fireEvent("complete",arguments).fireEvent("success",arguments).callChain()},failure:function(){this.onFailure(),this.reject({reason:"failure",xhr:this.xhr})},onFailure:function(){this.fireEvent("complete").fireEvent("failure",this.xhr)},loadstart:function(t){this.fireEvent("loadstart",[t,this.xhr])},progress:function(t){this.fireEvent("progress",[t,this.xhr])},timeout:function(){this.fireEvent("timeout",this.xhr),this.reject({reason:"timeout",xhr:this.xhr})},setHeader:function(t,e){return this.headers[t]=e,this},getHeader:function(t){return Function.attempt(function(){return this.xhr.getResponseHeader(t)}.bind(this))},check:function(){if(!this.running)return!0;switch(this.options.link){case"cancel":return this.cancel(),!0;case"chain":return this.chain(this.caller.pass(arguments,this)),!1}return!1},send:function(t){if(!this.check(t))return this;this.options.isSuccess=this.options.isSuccess||this.isSuccess,this.running=!0;var e=typeOf(t);"string"!=e&&"element"!=e||(t={data:t});var n=this.options,r=(t=Object.append({data:n.data,url:n.url,method:n.method},t)).data,i=String(t.url),s=t.method.toLowerCase();switch(typeOf(r)){case"element":r=document.id(r).toQueryString();break;case"object":case"hash":r=Object.toQueryString(r)}if(this.options.format){var o="format="+this.options.format;r=r?o+"&"+r:o}if(this.options.emulation&&!["get","post"].contains(s)){var a="_method="+s;r=r?a+"&"+r:a,s="post"}if(this.options.urlEncoded&&["post","put"].contains(s)){var u=this.options.encoding?"; charset="+this.options.encoding:"";this.headers["Content-type"]="application/x-www-form-urlencoded"+u}i||(i=document.location.pathname);var c=i.lastIndexOf("/");-1<c&&-1<(c=i.indexOf("#"))&&(i=i.substr(0,c)),this.options.noCache&&(i+=(-1<i.indexOf("?")?"&":"?")+String.uniqueID()),!r||"get"!=s&&"delete"!=s||(i+=(-1<i.indexOf("?")?"&":"?")+r,r=null);var l=this.xhr;return h&&(l.onloadstart=this.loadstart.bind(this),l.onprogress=this.progress.bind(this)),l.open(s.toUpperCase(),i,this.options.async,this.options.user,this.options.password),this.options.withCredentials&&"withCredentials"in l&&(l.withCredentials=!0),l.onreadystatechange=this.onStateChange.bind(this),Object.each(this.headers,function(e,n){try{l.setRequestHeader(n,e)}catch(t){this.fireEvent("exception",[n,e]),this.reject({reason:"exception",xhr:l,exception:t})}},this),"pending"!==this.getThenableState()&&this.resetThenable({reason:"send"}),this.fireEvent("request"),l.send(r),this.options.async?this.options.timeout&&(this.timer=this.timeout.delay(this.options.timeout,this)):this.onStateChange(),this},cancel:function(){if(!this.running)return this;this.running=!1;var t=this.xhr;return t.abort(),this.timer&&(clearTimeout(this.timer),delete this.timer),t.onreadystatechange=n,h&&(t.onprogress=t.onloadstart=n),this.xhr=new Browser.Request,this.fireEvent("cancel"),this.reject({reason:"cancel",xhr:t}),this}}),t={};["get","post","put","delete","patch","head","GET","POST","PUT","DELETE","PATCH","HEAD"].each(function(n){t[n]=function(t){var e={method:n};return null!=t&&(e.data=t),this.send(e)}}),e.implement(t),Element.Properties.send={set:function(t){return this.get("send").cancel().setOptions(t),this},get:function(){var t=this.retrieve("send");return t||(t=new e({data:this,link:"cancel",method:this.get("method")||"post",url:this.get("action")}),this.store("send",t)),t}},Element.implement({send:function(t){var e=this.get("send");return e.send({data:this,url:t||e.options.url}),this}})}(),Request.HTML=new Class({Extends:Request,options:{update:!1,append:!1,evalScripts:!0,filter:!1,headers:{Accept:"text/html, application/xml, text/xml, */*"}},success:function(t){var e=this.options,n=this.response;n.html=t.stripScripts(function(t){n.javascript=t});var r=n.html.match(/<body[^>]*>([\\s\\S]*?)<\\/body>/i);r&&(n.html=r[1]);var i=new Element("div").set("html",n.html);if(n.tree=i.childNodes,n.elements=i.getElements(e.filter||"*"),e.filter&&(n.tree=n.elements),e.update){var s=document.id(e.update).empty();e.filter?s.adopt(n.elements):s.set("html",n.html)}else if(e.append){var o=document.id(e.append);e.filter?n.elements.reverse().inject(o):o.adopt(i.getChildren())}e.evalScripts&&Browser.exec(n.javascript),this.onSuccess(n.tree,n.elements,n.html,n.javascript),this.resolve({tree:n.tree,elements:n.elements,html:n.html,javascript:n.javascript})}}),Element.Properties.load={set:function(t){return this.get("load").cancel().setOptions(t),this},get:function(){var t=this.retrieve("load");return t||(t=new Request.HTML({data:this,link:"cancel",update:this,method:"get"}),this.store("load",t)),t}},Element.implement({load:function(){return this.get("load").send(Array.link(arguments,{data:Type.isObject,url:Type.isString})),this}}),"undefined"==typeof JSON&&(this.JSON={}),function(){var special={"\\b":"\\\\b","\\t":"\\\\t","\\n":"\\\\n","\\f":"\\\\f","\\r":"\\\\r",'"':'\\\\"',"\\\\":"\\\\\\\\"},escape=function(t){return special[t]||"\\\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)};JSON.validate=function(t){return t=t.replace(/\\\\(?:["\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\\\\n\\r]*"|true|false|null|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g,"]").replace(/(?:^|:|,)(?:\\s*\\[)+/g,""),/^[\\],:{}\\s]*$/.test(t)},JSON.encode=JSON.stringify?function(t){return JSON.stringify(t)}:function(t){switch(t&&t.toJSON&&(t=t.toJSON()),typeOf(t)){case"string":return'"'+t.replace(/[\\x00-\\x1f\\\\"]/g,escape)+'"';case"array":return"["+t.map(JSON.encode).clean()+"]";case"object":case"hash":var r=[];return Object.each(t,function(t,e){var n=JSON.encode(t);n&&r.push(JSON.encode(e)+":"+n)}),"{"+r+"}";case"number":case"boolean":return""+t;case"null":return"null"}return null},JSON.secure=!0,JSON.decode=function(string,secure){if(!string||"string"!=typeOf(string))return null;if(null==secure&&(secure=JSON.secure),secure){if(JSON.parse)return JSON.parse(string);if(!JSON.validate(string))throw new Error("JSON could not decode the input; security is enabled and the value is not secure.")}return eval("("+string+")")}}(),Request.JSON=new Class({Extends:Request,options:{secure:!0},initialize:function(t){this.parent(t),Object.append(this.headers,{Accept:"application/json","X-Request":"JSON"})},success:function(e){var t;try{t=this.response.json=JSON.decode(e,this.options.secure)}catch(t){return void this.fireEvent("error",[e,t])}null==t?this.failure():(this.onSuccess(t,e),this.resolve({json:t,text:e}))}});var Cookie=new Class({Implements:Options,options:{path:"/",domain:!1,duration:!1,secure:!1,document:document,encode:!0,httpOnly:!1},initialize:function(t,e){this.key=t,this.setOptions(e)},write:function(t){if(this.options.encode&&(t=encodeURIComponent(t)),this.options.domain&&(t+="; domain="+this.options.domain),this.options.path&&(t+="; path="+this.options.path),this.options.duration){var e=new Date;e.setTime(e.getTime()+24*this.options.duration*60*60*1e3),t+="; expires="+e.toGMTString()}return this.options.secure&&(t+="; secure"),this.options.httpOnly&&(t+="; HttpOnly"),this.options.document.cookie=this.key+"="+t,this},read:function(){var t=this.options.document.cookie.match("(?:^|;)\\\\s*"+this.key.escapeRegExp()+"=([^;]*)");return t?decodeURIComponent(t[1]):null},dispose:function(){return new Cookie(this.key,Object.merge({},this.options,{duration:-1})).write(""),this}});Cookie.write=function(t,e,n){return new Cookie(t,n).write(e)},Cookie.read=function(t){return new Cookie(t).read()},Cookie.dispose=function(t,e){return new Cookie(t,e).dispose()},function(e,n){var r,i,t,s,o=[],a=n.createElement("div"),u=function(){clearTimeout(s),r||(Browser.loaded=r=!0,n.removeListener("DOMContentLoaded",u).removeListener("readystatechange",c),n.fireEvent("domready"),e.fireEvent("domready")),n=e=a=null},c=function(){for(var t=o.length;t--;)if(o[t]())return u(),!0;return!1},l=function(){clearTimeout(s),c()||(s=setTimeout(l,10))};n.addListener("DOMContentLoaded",u);var h=function(){try{return a.doScroll(),!0}catch(t){}return!1};a.doScroll&&!h()&&(o.push(h),t=!0),n.readyState&&o.push(function(){var t=n.readyState;return"loaded"==t||"complete"==t}),"onreadystatechange"in n?n.addListener("readystatechange",c):t=!0,t&&l(),Element.Events.domready={onAdd:function(t){r&&t.call(this)}},Element.Events.load={base:"load",onAdd:function(t){i&&this==e&&t.call(this)},condition:function(){return this==e&&(u(),delete Element.Events.load),!0}},e.addEvent("load",function(){i=!0})}(window,document);
(function(){function I(g){"use strict";var A={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \\" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===g)return JSON.parse(JSON.stringify(A));var C={};for(var I in A)A.hasOwnProperty(I)&&(C[I]=A[I].defaultValue);return C}var m={},C={},i={},l=I(!0),c="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:I(!0),allOn:function(){"use strict";var g=I(!0),A={};for(var C in g)g.hasOwnProperty(C)&&(A[C]=!0);return A}()};function d(g,A){"use strict";var C=A?"Error in "+A+" extension->":"Error in unnamed extension",I={valid:!0,error:""};m.helper.isArray(g)||(g=[g]);for(var e=0;e<g.length;++e){var r=C+" sub-extension "+e+": ",t=g[e];if("object"!=typeof t)return I.valid=!1,I.error=r+"must be an object, but "+typeof t+" given",I;if(!m.helper.isString(t.type))return I.valid=!1,I.error=r+'property "type" must be a string, but '+typeof t.type+" given",I;var a=t.type=t.type.toLowerCase();if("language"===a&&(a=t.type="lang"),"html"===a&&(a=t.type="output"),"lang"!==a&&"output"!==a&&"listener"!==a)return I.valid=!1,I.error=r+"type "+a+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',I;if("listener"===a){if(m.helper.isUndefined(t.listeners))return I.valid=!1,I.error=r+'. Extensions of type "listener" must have a property called "listeners"',I}else if(m.helper.isUndefined(t.filter)&&m.helper.isUndefined(t.regex))return I.valid=!1,I.error=r+a+' extensions must define either a "regex" property or a "filter" method',I;if(t.listeners){if("object"!=typeof t.listeners)return I.valid=!1,I.error=r+'"listeners" property must be an object but '+typeof t.listeners+" given",I;for(var n in t.listeners)if(t.listeners.hasOwnProperty(n)&&"function"!=typeof t.listeners[n])return I.valid=!1,I.error=r+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+n+" must be a function but "+typeof t.listeners[n]+" given",I}if(t.filter){if("function"!=typeof t.filter)return I.valid=!1,I.error=r+'"filter" must be a function, but '+typeof t.filter+" given",I}else if(t.regex){if(m.helper.isString(t.regex)&&(t.regex=new RegExp(t.regex,"g")),!(t.regex instanceof RegExp))return I.valid=!1,I.error=r+'"regex" property must either be a string or a RegExp object, but '+typeof t.regex+" given",I;if(m.helper.isUndefined(t.replace))return I.valid=!1,I.error=r+'"regex" extensions must implement a replace string or function',I}}return I}function r(g,A){"use strict";return"¨E"+A.charCodeAt(0)+"E"}m.helper={},m.extensions={},m.setOption=function(g,A){"use strict";return l[g]=A,this},m.getOption=function(g){"use strict";return l[g]},m.getOptions=function(){"use strict";return l},m.resetOptions=function(){"use strict";l=I(!0)},m.setFlavor=function(g){"use strict";if(!u.hasOwnProperty(g))throw Error(g+" flavor was not found");m.resetOptions();var A=u[g];for(var C in c=g,A)A.hasOwnProperty(C)&&(l[C]=A[C])},m.getFlavor=function(){"use strict";return c},m.getFlavorOptions=function(g){"use strict";if(u.hasOwnProperty(g))return u[g]},m.getDefaultOptions=function(g){"use strict";return I(g)},m.subParser=function(g,A){"use strict";if(m.helper.isString(g)){if(void 0===A){if(C.hasOwnProperty(g))return C[g];throw Error("SubParser named "+g+" not registered!")}C[g]=A}},m.extension=function(g,A){"use strict";if(!m.helper.isString(g))throw Error("Extension 'name' must be a string");if(g=m.helper.stdExtName(g),m.helper.isUndefined(A)){if(!i.hasOwnProperty(g))throw Error("Extension named "+g+" is not registered!");return i[g]}"function"==typeof A&&(A=A()),m.helper.isArray(A)||(A=[A]);var C=d(A,g);if(!C.valid)throw Error(C.error);i[g]=A},m.getAllExtensions=function(){"use strict";return i},m.removeExtension=function(g){"use strict";delete i[g]},m.resetExtensions=function(){"use strict";i={}},m.validateExtension=function(g){"use strict";var A=d(g,null);return!!A.valid||(console.warn(A.error),!1)},m.hasOwnProperty("helper")||(m.helper={}),m.helper.isString=function(g){"use strict";return"string"==typeof g||g instanceof String},m.helper.isFunction=function(g){"use strict";return g&&"[object Function]"==={}.toString.call(g)},m.helper.isArray=function(g){"use strict";return Array.isArray(g)},m.helper.isUndefined=function(g){"use strict";return void 0===g},m.helper.forEach=function(g,A){"use strict";if(m.helper.isUndefined(g))throw new Error("obj param is required");if(m.helper.isUndefined(A))throw new Error("callback param is required");if(!m.helper.isFunction(A))throw new Error("callback param must be a function/closure");if("function"==typeof g.forEach)g.forEach(A);else if(m.helper.isArray(g))for(var C=0;C<g.length;C++)A(g[C],C,g);else{if("object"!=typeof g)throw new Error("obj does not seem to be an array or an iterable object");for(var I in g)g.hasOwnProperty(I)&&A(g[I],I,g)}},m.helper.stdExtName=function(g){"use strict";return g.replace(/[_?*+\\/\\\\.^-]/g,"").replace(/\\s/g,"").toLowerCase()},m.helper.escapeCharactersCallback=r,m.helper.escapeCharacters=function(g,A,C){"use strict";var I="(["+A.replace(/([\\[\\]\\\\])/g,"\\\\$1")+"])";C&&(I="\\\\\\\\"+I);var e=new RegExp(I,"g");return g=g.replace(e,r)};var p=function(g,A,C,I){"use strict";var e,r,t,a,n,o=I||"",s=-1<o.indexOf("g"),i=new RegExp(A+"|"+C,"g"+o.replace(/g/g,"")),l=new RegExp(A,o.replace(/g/g,"")),c=[];do{for(e=0;t=i.exec(g);)if(l.test(t[0]))e++||(a=(r=i.lastIndex)-t[0].length);else if(e&&!--e){n=t.index+t[0].length;var u={left:{start:a,end:r},match:{start:r,end:t.index},right:{start:t.index,end:n},wholeMatch:{start:a,end:n}};if(c.push(u),!s)return c}}while(e&&(i.lastIndex=r));return c};m.helper.matchRecursiveRegExp=function(g,A,C,I){"use strict";for(var e=p(g,A,C,I),r=[],t=0;t<e.length;++t)r.push([g.slice(e[t].wholeMatch.start,e[t].wholeMatch.end),g.slice(e[t].match.start,e[t].match.end),g.slice(e[t].left.start,e[t].left.end),g.slice(e[t].right.start,e[t].right.end)]);return r},m.helper.replaceRecursiveRegExp=function(g,A,C,I,e){"use strict";if(!m.helper.isFunction(A)){var r=A;A=function(){return r}}var t=p(g,C,I,e),a=g,n=t.length;if(0<n){var o=[];0!==t[0].wholeMatch.start&&o.push(g.slice(0,t[0].wholeMatch.start));for(var s=0;s<n;++s)o.push(A(g.slice(t[s].wholeMatch.start,t[s].wholeMatch.end),g.slice(t[s].match.start,t[s].match.end),g.slice(t[s].left.start,t[s].left.end),g.slice(t[s].right.start,t[s].right.end))),s<n-1&&o.push(g.slice(t[s].wholeMatch.end,t[s+1].wholeMatch.start));t[n-1].wholeMatch.end<g.length&&o.push(g.slice(t[n-1].wholeMatch.end)),a=o.join("")}return a},m.helper.regexIndexOf=function(g,A,C){"use strict";if(!m.helper.isString(g))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(A instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var I=g.substring(C||0).search(A);return 0<=I?I+(C||0):I},m.helper.splitAtIndex=function(g,A){"use strict";if(!m.helper.isString(g))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[g.substring(0,A),g.substring(A)]},m.helper.encodeEmailAddress=function(g){"use strict";var C=[function(g){return"&#"+g.charCodeAt(0)+";"},function(g){return"&#x"+g.charCodeAt(0).toString(16)+";"},function(g){return g}];return g=g.replace(/./g,function(g){if("@"===g)g=C[Math.floor(2*Math.random())](g);else{var A=Math.random();g=.9<A?C[2](g):.45<A?C[1](g):C[0](g)}return g})},"undefined"==typeof console&&(console={warn:function(g){"use strict";alert(g)},log:function(g){"use strict";alert(g)},error:function(g){"use strict";throw g}}),m.helper.regexes={asteriskDashAndColon:/([*_:~])/g},m.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img width="20" height="20" align="absmiddle" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAOwUlEQVR42uVbCVyO6RbPmn0sw9gZS0aZO4y5GTEUE2ObxjZjrbHEJVy3sWS5pkaWxjLEkCVDSbSgFLdESaWSLIVUSIi4kvb9f895vi/zbbR+yZ339/tbnu99n/ec/3Oe85xznufV0CjDBaAdwZqwnzCJ0FXjHV70/i8J5oQDhCFV8cJdq1atwqxZs+Ds7Iz4+HhqwgXCLELNKlK6G2Ej4e6lS5ewZcsWzJgxA+fOnWNZFqvzxT1v3boF/qcsBg0ahP3796OwsJAFWKYuIqjfPoS9cXFxWL58Obp06SInh5aWFr//jjoJWLlu3TolAorRuXNn7Ny5k4W4Spgj81xrgj5hLmED4RDhlNRygglBhADCSakpWxFMCHoETUJTwrYHDx7A1NT0je9nPHz4kN/fXl0EeI0aNeqtAjB69+4NPz8/FsSdlXvy5An8/f1hZ2cHCwsLGBsbY/To0cJy9PT0MGDAAAwePBhGRkbClNesWYODBw8iODgYOTk53M/d9evXo27duiW++8iRI3z/ZHURENOjR48ShSjGuHHjhHJ16tQp9TOKaNWqlZKpvw1MHluQOpSvk5eXh5YtW5ZbmarAvHnzmIBd6iCgXnZ2Npo1a1atCWAfwY5SHQTUKCoqQocOHao1AebmHBJgi7p8QBDP6epMwKFDvMDAWF0ELLS1ta3WBNy9e5cJMFIXAdvt7e2rNQHDhw9nAv5D+KKylV9y8+bNCi1pVYWZM2cyCfaVTcDdsqzH7xpBQRxcwqyylLdi5/K+KM/Q0dFhAqIri4Bn1T0AUgVpdmhYUeVHnD59+r1TnjF27Fgm4HhFCThoYmLyXhLQoEGD4mRKsyIE3OrZs+d7SQCDCyZcNSqv8k1evXoFTU3NUr+wzUcfYqRBf8yb/C2WzfoBFoTF08fBdMIITDD8CsP1+kL30x7Q6dYZH7drjfZ0f4fWLdG1Q1t81qMLBvTRwejB/TBl1BDMnzQGS2dMxKo5k7Fs9iSY/jAaBvR8Pc26pZaH02quLZSXgO6xsbGlelGnli1wZKcVMqN8gKcRwItrf+K/VB95doXaLwOJIVSzOU/+2Re5kV7IuuyJrIhTyLt6mmztLBBPNZLHoUAy9fE8UvJ8ikxfj8PwJPQErJeYlkquTZs2MQFLykuANgc/Jb2kn3Z3ZMaQUrmxwO1zyAo7gfRAJ6RfOIyMEFdkXj5F8BTK5lzxQv610yi8QcFatI8gQoCIK7x+hojwRnaE5H4JTiEj9Pjr/rJDqcZyn9b4ovu45LYbdWvXeqtsXMHiSlZ5CegRExPz1hd83PYj5POo0QinXyLFg48hnZTOiQ1Dzr1IZEaeQRoJn0HKZIR7lA2kfHrQUerXHTlx4ZL+rnjjFRGRGeYB5MUj2GnbW+XbuJFrp1heXgI6JCYmvvUFN1x3Aek3SWkapRAXMeJFGS8ge2Xfuog0toaykED3Mpk8+shOk+sv68Y50V9WuKewBKt5094o39atW/mRf5WXgIYZGRlo3Lixys4nj6A6Z1YMcqRCpwU4ouDlUyHk/QA/hNttR25Wlvh/ZthJUsil9ATQ/axkYbqEzDgfL0Ts/x35+aLyTES7IY36Q6w/+Q4/tP6wuUoZ9+7dy7ebVmQZjO/atavKzn32rAdeXkd6KCkXdAxZ13yFcLFnvPD73zrDVrsdTs6eggKSuSjjORHkUGoC0i86Iyc6QPQX7eqMnTodYNuzHU4vnosiaitMSUSavwMy6d3IvEUrzViVMrq5uXEX4ytCgL++vr5Sx7Vr1cIDX0dKkQJfj37Rs3jw1sBxkwlwGD4Ax3+ciN1faCHW76xQRFgAOcjSEMBkIe0x8nLzcez7kTg8Rh/uxuOxR/cTJISFSfq7eATpZCk8CAfXLVFJwIULXHnHoIoQYLtw4UKljps2aogXQcQuef/XAiMDKY+S4DhyEFwpDnCj9f+Afl8EbbWRTANaAdihlYoAMn8aZzyNuYODX/eD29TvRH/7v+qN8H27JdOAyWQfQQ74xPafVRLAPox9WUlK6hIGEgx4f00Kg2JcvHhRqeP6FIwknXemyen/2gLIIeC/CYk49M0AuE4xgtu0sThg8AUCN62TEuBdRgJo2Y+Kxh9D/k59SQiwH9QHobt3SAk4KSGA4oWjm1YqyVi8U6Soj4yOrHM/jTAyKVby/PnzIoNi8L+L4eXlpXoFcLcTgc1rAlISkJeXDxeK2A6P1hdTwI6mQPTJE+WbAlnJyE7PhNO3Q3BkrKGYWtxfHMkkmQLO0ilwA7+vXqAkn66urtBLUZ9iHfm30NBQaPAf165dA0d9vP2UlJSEp0+f4vHjx3j06JH4e+rUqUovcNmyGkiNEkLwklXsBG+ecMUOnfbYod1emG5uboFKJ8jPFVD0l0dBUHqoPDHpQeQEb0qc4FUHe3KAbYUT9JgzDbwOFL5MfN0fXkXhJ5PxSvLt2LFD1Ah5u4z1YJ14l4qnBe8v3rhxAzz4PAVG8nLHivIP0dHRiIiIQGRkpEgmrl69ClW1QBMjQ7LDW8hmU+RRI69ckJIkhL7jfRJBm62R+TJVYq6h0jhBRslsivqenT2MF/7OyI70VmkFhWnPJaS6OyPkt43IycqR9EfWlH7JDQUUTuNhCHR7Ke9YcRp/5coVoQPrcvnyZURFRYmBZlLS0kR8MVLD29sbnp6e8PHxQUBAgCgn8YO8E3z79m3BGKeVc+bMkXuBZt06SA12F/F5Go0gR4C8HBalPZMPXKL8lQKhPAqF+f97KXFyNx6HQsoPsshJ/kmAp2TKkJLISpXvjyxNhMYcDVLOEO+lPDi8B5mamipkZx1YF9YpJCRErAy+vr5CZ9ZdWABhDGEYYTBhAOFz3g4nfMJelNCbkNCpUye5F034mvxIPi1/FM+zQCw0k5B9O0iEr5kRXkqhMJOVf9NXIHjtT7hmaymSoBzKETimkAuFpaF1dkwI9RcmIYaXv3BJXoGCuyIgk5WpefPmKCgoYK46SmX/RKoL69Sfl0WuFEl1HlmWJXE5z6WmTZvKJxxmxkIQ3AuU5APk6NICj4hRT6eITTEEzqWk55HHPjz3cxJhNF5cxeNT9kj2cRDTQjEkzpDtjyyCic5l5fEA7uSHFEefR5pPsahrb2B9QkICFHeJ51HunkdLIg0VLY0BFKdLwllVHp4dHyvst3QuEiiju21vA/+VZkiluIKt4I3RIfWXQ4QgKUxkni47LJWUP3PmjHo2RxVI+CebmKJP6EiFDVurxUgmExe5PHlnPAkn8w4QqW62NCVmYopozid5H0CI9RKE21ggJeAYEeMnfitOnRn5XCfgeJ+VTosWQU8MOc6ZE0cqnUm4fv165SrPBVHCfMI4TowUfmOfsIcdJh92kBWmUcP6GDt8EDZbzIffH5tx3/ewSFjw5LKk0MEFEkZenDBjgew7Yiog5brkt+QrknvJmhIp4Apw/A1bVpjhG/0v5d7Vrl07bNu2TelUSqUoz8uI3Z49OEtBAy+TdP1CqKtwHzvQUxxgTJs2TeX5gdq1a0ObSmCjh+jB+NuvRamL1+3ls77HCip1rTSdJP5eNnMizKndjMLoH42G4bthX+FzHS3UVVEC69evH3799VeKMXJZrlWKclUGAZ5jxoxB02ZNsNlxH74aagBHZyex986HlVTczyGmI58h4CjL2toa48ePFxsUPEotWrQoc0GT0/C2bduiY8eO4ISMcxLeoOFYhS6qm2EpoZG65jmbv+dPSyRZlt5QfVjvtX19AOFNL+aDFNI4m0eFc9Ho5ORkaGtrl5kAVp6DMOk88efEjLe++ZhclZwHTJHEHbs4YOCmLj2645fdvwnTK42zoXtaEHwNDQ3LXdZm5yad3/2r+gQmDsRnIF5KAldX6zdsgG/GG8F44Vzcu3eP2y1K6GPr2rVrK1zbnz59Or/LoaoJCPZ4kCZsjw9GECL79OmDj9q2wb+320C3/5fgPQO6Vrzh+fpcDqxXr16lbHBwgkZXm6okYJr0ECMrX5vraiJ1lArEjrEnzWuOqemiYj9spGd2ee478XkiPsJakmJ83qA05/8qXNurJFLiunXrhpo1a6LxB02wyHIFZpovgOHwYfjZ0hK2lH5u2rwZ5suWYv5ycyUlmjRpgl69eimlrFy3kwuoyOvXr19frm3RokVMwPZ3TYC57E6xVq+e6KzVDSaL/oEp82Zh8IhhWLjGAp/p9oX5ujVKBNjY2MDV1VWuzd3dXaTesm2biUQuZ8u28elSPmKr8a4vdog8GnJpcT1N1KHUuBbt0jSgWuGbzJh3mVhh2TYHBwdxjFa2jVcZnvPVlQBOLXdZWlqW2ZFxNYYVlm07fPgwAgMD5dr4OD5HeHLFFxM+O42DGtXhIkFaMQlcUjIzM0P37t1Ro0YNpZPjPJcVK7SOjo5ybU5OTqIAo0gAh97VlgAZIj4l8Pn4WFaO64ocuXG6zJtDbMqySnC7IgF8uptLVrJtq1evFuWqak+A4j4i4TNpltiJ8LPiNFFFwNGjRyWFyfedAFUny/joekkEuLi4KK0CfykCeFnkiu1flgBeFtl3/D8SsMbKykpOifv37ysRcPz4cVHKUiSA8wwNdR9/VTMBSh9Y8S4Nf2qnSICiBbDzVCRg9uzZTMC+94kAv6FDh8opwRsVHPjItnl4eEDxHNLKlStFXV+2javQ/M1SpZe+1KA4L4G7WDG57fSm/OUbXiqG0ewAFYOeYcN4fwZhvLkp2y4tftrxcltdlf/w+fPn4qNGxTCYU2m6nrRu3VqunT/EoiuZvw6TTZHpyuNNmEaNGsndP3fu3OJAq1N1JOAHDmyKheVtNP4OkE2crULRAW7fvl20EyyLy24a8p+/7WISFixYIMLt4t82bNhQYjXqXREgPq3j74mlX3AmSL8E1eOPIBXnuVT5OsVZpuLnOMeOHeN7vifwiYhYzhC5IpwlOXj1QXWdBmy/XWU/X+UqMZfKBw4cKAobHPlJlZe9h6tOu+7cuSN2dg0MDMSSyZUpmXvaSD+crq/xvl0k9BTCRa7qEPq+5T4t6ffF52WVV+f1P6zyLG30bsU4AAAAAElFTkSuQmCC">',showdown:'<img width="20" height="20" align="absmiddle" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAECtaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzA2NyA3OS4xNTc3NDcsIDIwMTUvMDMvMzAtMjM6NDA6NDIgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIgogICAgICAgICAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICAgICAgICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgICAgICAgICB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIgogICAgICAgICAgICB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoV2luZG93cyk8L3htcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhtcDpDcmVhdGVEYXRlPjIwMTUtMDEtMTVUMjE6MDE6MTlaPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNy0xMC0yNFQxMzozMTozMCswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTctMTAtMjRUMTM6MzE6MzArMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8cGhvdG9zaG9wOkNvbG9yTW9kZT4zPC9waG90b3Nob3A6Q29sb3JNb2RlPgogICAgICAgICA8cGhvdG9zaG9wOklDQ1Byb2ZpbGU+c1JHQiBJRUM2MTk2Ni0yLjE8L3Bob3Rvc2hvcDpJQ0NQcm9maWxlPgogICAgICAgICA8cGhvdG9zaG9wOlRleHRMYXllcnM+CiAgICAgICAgICAgIDxyZGY6QmFnPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHBob3Rvc2hvcDpMYXllck5hbWU+UyAtPC9waG90b3Nob3A6TGF5ZXJOYW1lPgogICAgICAgICAgICAgICAgICA8cGhvdG9zaG9wOkxheWVyVGV4dD5TIC08L3Bob3Rvc2hvcDpMYXllclRleHQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpCYWc+CiAgICAgICAgIDwvcGhvdG9zaG9wOlRleHRMYXllcnM+CiAgICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2UvcG5nPC9kYzpmb3JtYXQ+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnhtcC5paWQ6N2NkMzQxNzctOWYyZi0yNDRiLWEyYjQtMzU1MzJkY2Y1MWJiPC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06RG9jdW1lbnRJRD5hZG9iZTpkb2NpZDpwaG90b3Nob3A6M2E1YzgxYmYtYjhiNy0xMWU3LTk0NDktYTQ2MzdlZjJkNjMzPC94bXBNTTpEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06T3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6NjBDNUFFNjVGNjlDRTQxMTk0NUE4NTVFM0JDQTdFRUI8L3htcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAgIDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jcmVhdGVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6NjBDNUFFNjVGNjlDRTQxMTk0NUE4NTVFM0JDQTdFRUI8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTUtMDEtMTVUMjE6MDE6MTlaPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6ODZjNjBkMGQtOGY0Yy01ZTRlLWEwMjQtODI4ZWQyNTIwZDc3PC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE3LTEwLTI0VDEzOjMxOjMwKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjdjZDM0MTc3LTlmMmYtMjQ0Yi1hMmI0LTM1NTMyZGNmNTFiYjwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNy0xMC0yNFQxMzozMTozMCswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6U2VxPgogICAgICAgICA8L3htcE1NOkhpc3Rvcnk+CiAgICAgICAgIDx4bXBNTTpEZXJpdmVkRnJvbSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgIDxzdFJlZjppbnN0YW5jZUlEPnhtcC5paWQ6ODZjNjBkMGQtOGY0Yy01ZTRlLWEwMjQtODI4ZWQyNTIwZDc3PC9zdFJlZjppbnN0YW5jZUlEPgogICAgICAgICAgICA8c3RSZWY6ZG9jdW1lbnRJRD54bXAuZGlkOjYwQzVBRTY1RjY5Q0U0MTE5NDVBODU1RTNCQ0E3RUVCPC9zdFJlZjpkb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6NjBDNUFFNjVGNjlDRTQxMTk0NUE4NTVFM0JDQTdFRUI8L3N0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPC94bXBNTTpEZXJpdmVkRnJvbT4KICAgICAgICAgPHRpZmY6T3JpZW50YXRpb24+MTwvdGlmZjpPcmllbnRhdGlvbj4KICAgICAgICAgPHRpZmY6WFJlc29sdXRpb24+NzIwMDAwLzEwMDAwPC90aWZmOlhSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpZUmVzb2x1dGlvbj43MjAwMDAvMTAwMDA8L3RpZmY6WVJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOlJlc29sdXRpb25Vbml0PjI8L3RpZmY6UmVzb2x1dGlvblVuaXQ+CiAgICAgICAgIDxleGlmOkNvbG9yU3BhY2U+MTwvZXhpZjpDb2xvclNwYWNlPgogICAgICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+NjQ8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+NjQ8L2V4aWY6UGl4ZWxZRGltZW5zaW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pse7bzcAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAA1JJREFUeNrsm1+OmlAUhz+aeS9dwZggJn1AnRUMO6jpBgZXULuC2hWUWUGZBTSxKyiuoA4mfUBMnB04K5g+9DihRBHlyh/lJLwIXLgf99xzzu9etZeXFy7Z3nDh1gBoAFy4XeVtQNO0zNcapmUDfUBPnFoBfhQGq6IBaHmjwD4Ahmk5wAD4kKG5J8CNwsAFaHe6DvA9cc0wCgOv8gDka3vA9RHNPgo0D7hNnJtGYWBXxgV2dH4MfMnRRA+Y1WIO2NJ5F/ikoKm3tYsChmkNFHW+fmHQMC1dfHaXPQP3wM1yMdc2B/AOGALTWobBmI1Shu0UGCwX83XyRBQGawHntTtdG5gUNfxVu4CTNqNv6/wWGL7kCc+1AmCYVisl3I2ydD4GYZUCs7IjoLXrxHIx9w9tLAqDCfBwDrXAY457x+cAoCfuwRGjYFUnAGk+PsjR7s8Dn1VeLWCYVlpDw+VivjVHSHt+u9PVJbzGzZXQWTkAkz0V31fATUaEsjVJlQBs4FeGcteLgzgbAALBA+4y3voAeJL8nA0AHfClnM1qm1HhnYUidCSE+KzvSSJUTwAxCOMcpfETMFYpfRUKIAbCFhC3OTJJJwqDWS0BxED0JZ4Pjix1P2+E0loCSMBwyK4S/xc1ojBwag8gMU84cvTKGgmlAYhngu1O9xAXuVE5J1QCQCz3bwHuHvdQui5QKQAxEO6eEKpsFCgTRSXkvdoxSlBMCxhJJbgrrbZRtHCiShN0pRB6PeQ3ckBw2K0oKXMBVYJIP+Nvh9qulFivGoBt1lLQxowT2ykBXCfnhZIglgYACWmqXQv+baioBYCeiCQHm+QEg1O7RhF7hO4OhSAhcJKSFU7qBGADwZeqMMuXn6TUBw8qlaMrirNb4LdhWlP+SWD+cjFfxTpuS2GUpik+o3jFSEkqbJiWn0P0OMSGqlWiOu0TvD+FRHZKAE+oW+cfRmEwqlsesJJEJs8y91QqP+9UL6lqEtz2gpuNEY5sm9sIHln2DRa2aFKGJtiXkZEMiWtgVvRKUSUFkSKt2S7fAGgAXLYpmQQXf36MUChTZdUa2u8/rkvPA6Tz30r4eH3ybcBS5gJ6SaNXb+aABkA1AMxKenclBZLW/He4cYEGwEXb3wEASelexk6LIIIAAAAASUVORK5CYII=">'},m.Converter=function(C){"use strict";var r={},t=[],a=[],n={},I=c,o={parsed:{},raw:"",format:""};function e(g,A){if(A=A||null,m.helper.isString(g)){if(A=g=m.helper.stdExtName(g),m.extensions[g])return console.warn("DEPRECATION WARNING: "+g+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(g,A){"function"==typeof g&&(g=g(new m.Converter));m.helper.isArray(g)||(g=[g]);var C=d(g,A);if(!C.valid)throw Error(C.error);for(var I=0;I<g.length;++I)switch(g[I].type){case"lang":t.push(g[I]);break;case"output":a.push(g[I]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(m.extensions[g],g);if(m.helper.isUndefined(i[g]))throw Error('Extension "'+g+'" could not be loaded. It was either not found or is not a valid extension.');g=i[g]}"function"==typeof g&&(g=g()),m.helper.isArray(g)||(g=[g]);var C=d(g,A);if(!C.valid)throw Error(C.error);for(var I=0;I<g.length;++I){switch(g[I].type){case"lang":t.push(g[I]);break;case"output":a.push(g[I])}if(g[I].hasOwnProperty("listeners"))for(var e in g[I].listeners)g[I].listeners.hasOwnProperty(e)&&s(e,g[I].listeners[e])}}function s(g,A){if(!m.helper.isString(g))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof g+" given");if("function"!=typeof A)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof A+" given");n.hasOwnProperty(g)||(n[g]=[]),n[g].push(A)}!function(){for(var g in C=C||{},l)l.hasOwnProperty(g)&&(r[g]=l[g]);{if("object"!=typeof C)throw Error("Converter expects the passed parameter to be an object, but "+typeof C+" was passed instead.");for(var A in C)C.hasOwnProperty(A)&&(r[A]=C[A])}r.extensions&&m.helper.forEach(r.extensions,e)}(),this._dispatch=function(g,A,C,I){if(n.hasOwnProperty(g))for(var e=0;e<n[g].length;++e){var r=n[g][e](g,A,this,C,I);r&&void 0!==r&&(A=r)}return A},this.listen=function(g,A){return s(g,A),this},this.makeHtml=function(A){if(!A)return A;var g,C,I,e={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:t,outputModifiers:a,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return A=(A=(A=(A=(A=A.replace(/¨/g,"¨T")).replace(/\\$/g,"¨D")).replace(/\\r\\n/g,"\\n")).replace(/\\r/g,"\\n")).replace(/\\u00A0/g," "),r.smartIndentationFix&&(C=(g=A).match(/^\\s*/)[0].length,I=new RegExp("^\\\\s{0,"+C+"}","gm"),A=g.replace(I,"")),A="\\n\\n"+A+"\\n\\n",A=(A=m.subParser("detab")(A,r,e)).replace(/^[ \\t]+$/gm,""),m.helper.forEach(t,function(g){A=m.subParser("runExtension")(g,A,r,e)}),A=m.subParser("metadata")(A,r,e),A=m.subParser("hashPreCodeTags")(A,r,e),A=m.subParser("githubCodeBlocks")(A,r,e),A=m.subParser("hashHTMLBlocks")(A,r,e),A=m.subParser("hashCodeTags")(A,r,e),A=m.subParser("stripLinkDefinitions")(A,r,e),A=m.subParser("blockGamut")(A,r,e),A=m.subParser("unhashHTMLSpans")(A,r,e),A=(A=(A=m.subParser("unescapeSpecialChars")(A,r,e)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),A=m.subParser("completeHTMLDocument")(A,r,e),m.helper.forEach(a,function(g){A=m.subParser("runExtension")(g,A,r,e)}),o=e.metadata,A},this.setOption=function(g,A){r[g]=A},this.getOption=function(g){return r[g]},this.getOptions=function(){return r},this.addExtension=function(g,A){e(g,A=A||null)},this.useExtension=function(g){e(g)},this.setFlavor=function(g){if(!u.hasOwnProperty(g))throw Error(g+" flavor was not found");var A=u[g];for(var C in I=g,A)A.hasOwnProperty(C)&&(r[C]=A[C])},this.getFlavor=function(){return I},this.removeExtension=function(g){m.helper.isArray(g)||(g=[g]);for(var A=0;A<g.length;++A){for(var C=g[A],I=0;I<t.length;++I)t[I]===C&&t[I].splice(I,1);for(;0<a.length;++I)a[0]===C&&a[0].splice(I,1)}},this.getAllExtensions=function(){return{language:t,output:a}},this.getMetadata=function(g){return g?o.raw:o.parsed},this.getMetadataFormat=function(){return o.format},this._setMetadataPair=function(g,A){o.parsed[g]=A},this._setMetadataFormat=function(g){o.format=g},this._setMetadataRaw=function(g){o.raw=g}},m.subParser("anchors",function(g,n,o){"use strict";var A=function(g,A,C,I,e,r,t){if(m.helper.isUndefined(t)&&(t=""),C=C.toLowerCase(),-1<g.search(/\\(<?\\s*>? ?(['"].*['"])?\\)$/m))I="";else if(!I){if(C||(C=A.toLowerCase().replace(/ ?\\n/g," ")),I="#"+C,m.helper.isUndefined(o.gUrls[C]))return g;I=o.gUrls[C],m.helper.isUndefined(o.gTitles[C])||(t=o.gTitles[C])}var a='<a href="'+(I=I.replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback))+'"';return""!==t&&null!==t&&(a+=' title="'+(t=(t=t.replace(/"/g,""")).replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback))+'"'),n.openLinksInNewWindow&&!/^#/.test(I)&&(a+=' target="¨E95Eblank"'),a+=">"+A+"</a>"};return g=(g=(g=(g=(g=o.converter._dispatch("anchors.before",g,n,o)).replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g,A)).replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*((["'])([^"]*?)\\5))?[ \\t]?\\)/g,A)).replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?:[ \\t]*((["'])([^"]*?)\\5))?[ \\t]?\\)/g,A)).replace(/\\[([^\\[\\]]+)]()()()()()/g,A),n.ghMentions&&(g=g.replace(/(^|\\s)(\\\\)?(@([a-z\\d\\-]+))(?=[.!?;,[\\]()]|\\s|$)/gim,function(g,A,C,I,e){if("\\\\"===C)return A+I;if(!m.helper.isString(n.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var r=n.ghMentionsLink.replace(/\\{u}/g,e),t="";return n.openLinksInNewWindow&&(t=' target="¨E95Eblank"'),A+'<a href="'+r+'"'+t+">"+I+"</a>"})),g=o.converter._dispatch("anchors.after",g,n,o)});var e=/([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'">\\s]+?\\.[^'">\\s]+?)()(\\1)?(?=\\s|$)(?!["<>])/gi,t=/([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'">\\s]+\\.[^'">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?!["<>])/gi,a=/()<(((https?|ftp|dict):\\/\\/|www\\.)[^'">\\s]+)()>()/gi,n=/(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gim,o=/<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,s=function(l){"use strict";return function(g,A,C,I,e,r,t){var a=C=C.replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback),n="",o="",s=A||"",i=t||"";return/^www\\./i.test(C)&&(C=C.replace(/^www\\./i,"http://www.")),l.excludeTrailingPunctuationFromURLs&&r&&(n=r),l.openLinksInNewWindow&&(o=' target="¨E95Eblank"'),s+'<a href="'+C+'"'+o+">"+a+"</a>"+n+i}},h=function(e,r){"use strict";return function(g,A,C){var I="mailto:";return A=A||"",C=m.subParser("unescapeSpecialChars")(C,e,r),e.encodeEmails?(I=m.helper.encodeEmailAddress(I+C),C=m.helper.encodeEmailAddress(C)):I+=C,A+'<a href="'+I+'">'+C+"</a>"}};m.subParser("autoLinks",function(g,A,C){"use strict";return g=(g=(g=C.converter._dispatch("autoLinks.before",g,A,C)).replace(a,s(A))).replace(o,h(A,C)),g=C.converter._dispatch("autoLinks.after",g,A,C)}),m.subParser("simplifiedAutoLinks",function(g,A,C){"use strict";return A.simplifiedAutoLink?(g=C.converter._dispatch("simplifiedAutoLinks.before",g,A,C),g=(g=A.excludeTrailingPunctuationFromURLs?g.replace(t,s(A)):g.replace(e,s(A))).replace(n,h(A,C)),g=C.converter._dispatch("simplifiedAutoLinks.after",g,A,C)):g}),m.subParser("blockGamut",function(g,A,C){"use strict";return g=C.converter._dispatch("blockGamut.before",g,A,C),g=m.subParser("blockQuotes")(g,A,C),g=m.subParser("headers")(g,A,C),g=m.subParser("horizontalRule")(g,A,C),g=m.subParser("lists")(g,A,C),g=m.subParser("codeBlocks")(g,A,C),g=m.subParser("tables")(g,A,C),g=m.subParser("hashHTMLBlocks")(g,A,C),g=m.subParser("paragraphs")(g,A,C),g=C.converter._dispatch("blockGamut.after",g,A,C)}),m.subParser("blockQuotes",function(g,A,C){"use strict";g=C.converter._dispatch("blockQuotes.before",g,A,C),g+="\\n\\n";var I=/(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;return A.splitAdjacentBlockquotes&&(I=/^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm),g=g.replace(I,function(g){return g=(g=(g=g.replace(/^[ \\t]*>[ \\t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \\t]+$/gm,""),g=m.subParser("githubCodeBlocks")(g,A,C),g=(g=(g=m.subParser("blockGamut")(g,A,C)).replace(/(^|\\n)/g,"$1 ")).replace(/(\\s*<pre>[^\\r]+?<\\/pre>)/gm,function(g,A){var C=A;return C=(C=C.replace(/^ /gm,"¨0")).replace(/¨0/g,"")}),m.subParser("hashBlock")("<blockquote>\\n"+g+"\\n</blockquote>",A,C)}),g=C.converter._dispatch("blockQuotes.after",g,A,C)}),m.subParser("codeBlocks",function(g,t,a){"use strict";g=a.converter._dispatch("codeBlocks.before",g,t,a);return g=(g=(g+="¨0").replace(/(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g,function(g,A,C){var I=A,e=C,r="\\n";return I=m.subParser("outdent")(I,t,a),I=m.subParser("encodeCode")(I,t,a),I=(I=(I=m.subParser("detab")(I,t,a)).replace(/^\\n+/g,"")).replace(/\\n+$/g,""),t.omitExtraWLInCodeBlocks&&(r=""),I="<pre><code>"+I+r+"</code></pre>",m.subParser("hashBlock")(I,t,a)+e})).replace(/¨0/,""),g=a.converter._dispatch("codeBlocks.after",g,t,a)}),m.subParser("codeSpans",function(g,r,t){"use strict";return void 0===(g=t.converter._dispatch("codeSpans.before",g,r,t))&&(g=""),g=g.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm,function(g,A,C,I){var e=I;return e=(e=e.replace(/^([ \\t]*)/g,"")).replace(/[ \\t]*$/g,""),e=A+"<code>"+(e=m.subParser("encodeCode")(e,r,t))+"</code>",e=m.subParser("hashHTMLSpans")(e,r,t)}),g=t.converter._dispatch("codeSpans.after",g,r,t)}),m.subParser("completeHTMLDocument",function(g,A,C){"use strict";if(!A.completeHTMLDocument)return g;g=C.converter._dispatch("completeHTMLDocument.before",g,A,C);var I="html",e="<!DOCTYPE HTML>\\n",r="",t='<meta charset="utf-8">\\n',a="",n="";for(var o in void 0!==C.metadata.parsed.doctype&&(e="<!DOCTYPE "+C.metadata.parsed.doctype+">\\n","html"!==(I=C.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==I||(t='<meta charset="utf-8">')),C.metadata.parsed)if(C.metadata.parsed.hasOwnProperty(o))switch(o.toLowerCase()){case"doctype":break;case"title":r="<title>"+C.metadata.parsed.title+"</title>\\n";break;case"charset":t="html"===I||"html5"===I?'<meta charset="'+C.metadata.parsed.charset+'">\\n':'<meta name="charset" content="'+C.metadata.parsed.charset+'">\\n';break;case"language":case"lang":a=' lang="'+C.metadata.parsed[o]+'"',n+='<meta name="'+o+'" content="'+C.metadata.parsed[o]+'">\\n';break;default:n+='<meta name="'+o+'" content="'+C.metadata.parsed[o]+'">\\n'}return g=e+"<html"+a+">\\n<head>\\n"+r+t+n+"</head>\\n<body>\\n"+g.trim()+"\\n</body>\\n</html>",g=C.converter._dispatch("completeHTMLDocument.after",g,A,C)}),m.subParser("detab",function(g,A,C){"use strict";return g=(g=(g=(g=(g=(g=C.converter._dispatch("detab.before",g,A,C)).replace(/\\t(?=\\t)/g," ")).replace(/\\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,function(g,A){for(var C=A,I=4-C.length%4,e=0;e<I;e++)C+=" ";return C})).replace(/¨A/g," ")).replace(/¨B/g,""),g=C.converter._dispatch("detab.after",g,A,C)}),m.subParser("ellipsis",function(g,A,C){"use strict";return g=(g=C.converter._dispatch("ellipsis.before",g,A,C)).replace(/\\.\\.\\./g,"…"),g=C.converter._dispatch("ellipsis.after",g,A,C)}),m.subParser("emoji",function(g,A,C){"use strict";if(!A.emoji)return g;return g=(g=C.converter._dispatch("emoji.before",g,A,C)).replace(/:([\\S]+?):/g,function(g,A){return m.helper.emojis.hasOwnProperty(A)?m.helper.emojis[A]:g}),g=C.converter._dispatch("emoji.after",g,A,C)}),m.subParser("encodeAmpsAndAngles",function(g,A,C){"use strict";return g=(g=(g=(g=(g=C.converter._dispatch("encodeAmpsAndAngles.before",g,A,C)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g,"&")).replace(/<(?![a-z\\/?$!])/gi,"<")).replace(/</g,"<")).replace(/>/g,">"),g=C.converter._dispatch("encodeAmpsAndAngles.after",g,A,C)}),m.subParser("encodeBackslashEscapes",function(g,A,C){"use strict";return g=(g=(g=C.converter._dispatch("encodeBackslashEscapes.before",g,A,C)).replace(/\\\\(\\\\)/g,m.helper.escapeCharactersCallback)).replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g,m.helper.escapeCharactersCallback),g=C.converter._dispatch("encodeBackslashEscapes.after",g,A,C)}),m.subParser("encodeCode",function(g,A,C){"use strict";return g=(g=C.converter._dispatch("encodeCode.before",g,A,C)).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\\[\\]\\\\=~-])/g,m.helper.escapeCharactersCallback),g=C.converter._dispatch("encodeCode.after",g,A,C)}),m.subParser("escapeSpecialCharsWithinTagAttributes",function(g,A,C){"use strict";return g=(g=(g=C.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",g,A,C)).replace(/<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,function(g){return g.replace(/(.)<\\/?code>(?=.)/g,"$1`").replace(/([\\\\`*_~=|])/g,m.helper.escapeCharactersCallback)})).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(g){return g.replace(/([\\\\`*_~=|])/g,m.helper.escapeCharactersCallback)}),g=C.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",g,A,C)}),m.subParser("githubCodeBlocks",function(g,r,t){"use strict";return r.ghCodeBlocks?(g=t.converter._dispatch("githubCodeBlocks.before",g,r,t),g=(g=(g+="¨0").replace(/(?:^|\\n)(```+|~~~+)([^\\s`~]*)\\n([\\s\\S]*?)\\n\\1/g,function(g,A,C,I){var e=r.omitExtraWLInCodeBlocks?"":"\\n";return I=m.subParser("encodeCode")(I,r,t),I="<pre><code"+(C?' class="'+C+" language-"+C+'"':"")+">"+(I=(I=(I=m.subParser("detab")(I,r,t)).replace(/^\\n+/g,"")).replace(/\\n+$/g,""))+e+"</code></pre>",I=m.subParser("hashBlock")(I,r,t),"\\n\\n¨G"+(t.ghCodeBlocks.push({text:g,codeblock:I})-1)+"G\\n\\n"})).replace(/¨0/,""),t.converter._dispatch("githubCodeBlocks.after",g,r,t)):g}),m.subParser("hashBlock",function(g,A,C){"use strict";return g=(g=C.converter._dispatch("hashBlock.before",g,A,C)).replace(/(^\\n+|\\n+$)/g,""),g="\\n\\n¨K"+(C.gHtmlBlocks.push(g)-1)+"K\\n\\n",g=C.converter._dispatch("hashBlock.after",g,A,C)}),m.subParser("hashCodeTags",function(g,r,t){"use strict";g=t.converter._dispatch("hashCodeTags.before",g,r,t);return g=m.helper.replaceRecursiveRegExp(g,function(g,A,C,I){var e=C+m.subParser("encodeCode")(A,r,t)+I;return"¨C"+(t.gHtmlSpans.push(e)-1)+"C"},"<code\\\\b[^>]*>","</code>","gim"),g=t.converter._dispatch("hashCodeTags.after",g,r,t)}),m.subParser("hashElement",function(g,A,I){"use strict";return function(g,A){var C=A;return C=(C=(C=C.replace(/\\n\\n/g,"\\n")).replace(/^\\n/,"")).replace(/\\n+$/g,""),C="\\n\\n¨K"+(I.gHtmlBlocks.push(C)-1)+"K\\n\\n"}}),m.subParser("hashHTMLBlocks",function(g,A,r){"use strict";g=r.converter._dispatch("hashHTMLBlocks.before",g,A,r);var C=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],I=function(g,A,C,I){var e=g;return-1!==C.search(/\\bmarkdown\\b/)&&(e=C+r.converter.makeHtml(A)+I),"\\n\\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\\n\\n"};A.backslashEscapesHTMLTags&&(g=g.replace(/\\\\<(\\/?[^>]+?)>/g,function(g,A){return"<"+A+">"}));for(var e=0;e<C.length;++e)for(var t,a=new RegExp("^ {0,3}(<"+C[e]+"\\\\b[^>]*>)","im"),n="<"+C[e]+"\\\\b[^>]*>",o="</"+C[e]+">";-1!==(t=m.helper.regexIndexOf(g,a));){var s=m.helper.splitAtIndex(g,t),i=m.helper.replaceRecursiveRegExp(s[1],I,n,o,"im");if(i===s[1])break;g=s[0].concat(i)}return g=g.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g,m.subParser("hashElement")(g,A,r)),g=(g=m.helper.replaceRecursiveRegExp(g,function(g){return"\\n\\n¨K"+(r.gHtmlBlocks.push(g)-1)+"K\\n\\n"},"^ {0,3}\\x3c!--","--\\x3e","gm")).replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g,m.subParser("hashElement")(g,A,r)),g=r.converter._dispatch("hashHTMLBlocks.after",g,A,r)}),m.subParser("hashHTMLSpans",function(g,A,C){"use strict";function I(g){return"¨C"+(C.gHtmlSpans.push(g)-1)+"C"}return g=(g=(g=(g=(g=C.converter._dispatch("hashHTMLSpans.before",g,A,C)).replace(/<[^>]+?\\/>/gi,function(g){return I(g)})).replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g,function(g){return I(g)})).replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g,function(g){return I(g)})).replace(/<[^>]+?>/gi,function(g){return I(g)}),g=C.converter._dispatch("hashHTMLSpans.after",g,A,C)}),m.subParser("unhashHTMLSpans",function(g,A,C){"use strict";g=C.converter._dispatch("unhashHTMLSpans.before",g,A,C);for(var I=0;I<C.gHtmlSpans.length;++I){for(var e=C.gHtmlSpans[I],r=0;/¨C(\\d+)C/.test(e);){var t=RegExp.$1;if(e=e.replace("¨C"+t+"C",C.gHtmlSpans[t]),10===r){console.error("maximum nesting of 10 spans reached!!!");break}++r}g=g.replace("¨C"+I+"C",e)}return g=C.converter._dispatch("unhashHTMLSpans.after",g,A,C)}),m.subParser("hashPreCodeTags",function(g,r,t){"use strict";g=t.converter._dispatch("hashPreCodeTags.before",g,r,t);return g=m.helper.replaceRecursiveRegExp(g,function(g,A,C,I){var e=C+m.subParser("encodeCode")(A,r,t)+I;return"\\n\\n¨G"+(t.ghCodeBlocks.push({text:g,codeblock:e})-1)+"G\\n\\n"},"^ {0,3}<pre\\\\b[^>]*>\\\\s*<code\\\\b[^>]*>","^ {0,3}</code>\\\\s*</pre>","gim"),g=t.converter._dispatch("hashPreCodeTags.after",g,r,t)}),m.subParser("headers",function(g,n,o){"use strict";g=o.converter._dispatch("headers.before",g,n,o);var s=isNaN(parseInt(n.headerLevelStart))?1:parseInt(n.headerLevelStart),A=n.smoothLivePreview?/^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm:/^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,C=n.smoothLivePreview?/^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm:/^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;g=(g=g.replace(A,function(g,A){var C=m.subParser("spanGamut")(A,n,o),I=n.noHeaderId?"":' id="'+i(A)+'"',e="<h"+s+I+">"+C+"</h"+s+">";return m.subParser("hashBlock")(e,n,o)})).replace(C,function(g,A){var C=m.subParser("spanGamut")(A,n,o),I=n.noHeaderId?"":' id="'+i(A)+'"',e=s+1,r="<h"+e+I+">"+C+"</h"+e+">";return m.subParser("hashBlock")(r,n,o)});var I=n.requireSpaceBeforeHeadingText?/^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm:/^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;function i(g){var A,C;if(n.customizedHeaderId){var I=g.match(/\\{([^{]+?)}\\s*$/);I&&I[1]&&(g=I[1])}return A=g,C=m.helper.isString(n.prefixHeaderId)?n.prefixHeaderId:!0===n.prefixHeaderId?"section-":"",n.rawPrefixHeaderId||(A=C+A),A=n.ghCompatibleHeaderId?A.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\\/:;=?@"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g,"").toLowerCase():n.rawHeaderId?A.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():A.replace(/[^\\w]/g,"").toLowerCase(),n.rawPrefixHeaderId&&(A=C+A),o.hashLinkCounts[A]?A=A+"-"+o.hashLinkCounts[A]++:o.hashLinkCounts[A]=1,A}return g=g.replace(I,function(g,A,C){var I=C;n.customizedHeaderId&&(I=C.replace(/\\s?\\{([^{]+?)}\\s*$/,""));var e=m.subParser("spanGamut")(I,n,o),r=n.noHeaderId?"":' id="'+i(C)+'"',t=s-1+A.length,a="<h"+t+r+">"+e+"</h"+t+">";return m.subParser("hashBlock")(a,n,o)}),g=o.converter._dispatch("headers.after",g,n,o)}),m.subParser("horizontalRule",function(g,A,C){"use strict";g=C.converter._dispatch("horizontalRule.before",g,A,C);var I=m.subParser("hashBlock")("<hr />",A,C);return g=(g=(g=g.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm,I)).replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm,I)).replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm,I),g=C.converter._dispatch("horizontalRule.after",g,A,C)}),m.subParser("images",function(g,A,l){"use strict";function n(g,A,C,I,e,r,t,a){var n=l.gUrls,o=l.gTitles,s=l.gDimensions;if(C=C.toLowerCase(),a||(a=""),-1<g.search(/\\(<?\\s*>? ?(['"].*['"])?\\)$/m))I="";else if(""===I||null===I){if(""!==C&&null!==C||(C=A.toLowerCase().replace(/ ?\\n/g," ")),I="#"+C,m.helper.isUndefined(n[C]))return g;I=n[C],m.helper.isUndefined(o[C])||(a=o[C]),m.helper.isUndefined(s[C])||(e=s[C].width,r=s[C].height)}A=A.replace(/"/g,""").replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback);var i='<img src="'+(I=I.replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback))+'" alt="'+A+'"';return a&&(i+=' title="'+(a=a.replace(/"/g,""").replace(m.helper.regexes.asteriskDashAndColon,m.helper.escapeCharactersCallback))+'"'),e&&r&&(i+=' width="'+(e="*"===e?"auto":e)+'"',i+=' height="'+(r="*"===r?"auto":r)+'"'),i+=" />"}return g=(g=(g=(g=(g=(g=l.converter._dispatch("images.before",g,A,l)).replace(/!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,n)).replace(/!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<?(data:.+?\\/.+?;base64,[A-Za-z0-9+/=\\n]+?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(["'])([^"]*?)\\6)?[ \\t]?\\)/g,function(g,A,C,I,e,r,t,a){return n(g,A,C,I=I.replace(/\\s/g,""),e,r,0,a)})).replace(/!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:(["'])([^"]*?)\\6))?[ \\t]?\\)/g,n)).replace(/!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(["'])([^"]*?)\\6)?[ \\t]?\\)/g,n)).replace(/!\\[([^\\[\\]]+)]()()()()()/g,n),g=l.converter._dispatch("images.after",g,A,l)}),m.subParser("italicsAndBold",function(g,A,C){"use strict";function I(g,A,C){return A+g+C}return g=C.converter._dispatch("italicsAndBold.before",g,A,C),g=A.literalMidWordUnderscores?(g=(g=g.replace(/\\b___(\\S[\\s\\S]*)___\\b/g,function(g,A){return I(A,"<strong><em>","</em></strong>")})).replace(/\\b__(\\S[\\s\\S]*)__\\b/g,function(g,A){return I(A,"<strong>","</strong>")})).replace(/\\b_(\\S[\\s\\S]*?)_\\b/g,function(g,A){return I(A,"<em>","</em>")}):(g=(g=g.replace(/___(\\S[\\s\\S]*?)___/g,function(g,A){return/\\S$/.test(A)?I(A,"<strong><em>","</em></strong>"):g})).replace(/__(\\S[\\s\\S]*?)__/g,function(g,A){return/\\S$/.test(A)?I(A,"<strong>","</strong>"):g})).replace(/_([^\\s_][\\s\\S]*?)_/g,function(g,A){return/\\S$/.test(A)?I(A,"<em>","</em>"):g}),g=A.literalMidWordAsterisks?(g=(g=g.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]+?)\\*\\*\\*\\B(?!\\*)/g,function(g,A,C){return I(C,A+"<strong><em>","</em></strong>")})).replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]+?)\\*\\*\\B(?!\\*)/g,function(g,A,C){return I(C,A+"<strong>","</strong>")})).replace(/([^*]|^)\\B\\*(\\S[\\s\\S]+?)\\*\\B(?!\\*)/g,function(g,A,C){return I(C,A+"<em>","</em>")}):(g=(g=g.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g,function(g,A){return/\\S$/.test(A)?I(A,"<strong><em>","</em></strong>"):g})).replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g,function(g,A){return/\\S$/.test(A)?I(A,"<strong>","</strong>"):g})).replace(/\\*([^\\s*][\\s\\S]*?)\\*/g,function(g,A){return/\\S$/.test(A)?I(A,"<em>","</em>"):g}),g=C.converter._dispatch("italicsAndBold.after",g,A,C)}),m.subParser("lists",function(g,i,s){"use strict";function l(g,A){s.gListLevel++,g=g.replace(/\\n{2,}$/,"\\n");var C=/(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,o=/\\n[ \\t]*\\n(?!¨0)/.test(g+="¨0");return i.disableForced4SpacesIndentedSublists&&(C=/(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm),g=(g=g.replace(C,function(g,A,C,I,e,r,t){t=t&&""!==t.trim();var a=m.subParser("outdent")(e,i,s),n="";return r&&i.tasklists&&(n=' class="task-list-item" style="list-style-type: none;"',a=a.replace(/^[ \\t]*\\[(x|X| )?]/m,function(){var g='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return t&&(g+=" checked"),g+=">"})),a=a.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g,function(g){return"¨A"+g}),A||-1<a.search(/\\n{2,}/)?(a=m.subParser("githubCodeBlocks")(a,i,s),a=m.subParser("blockGamut")(a,i,s)):(a=(a=m.subParser("lists")(a,i,s)).replace(/\\n$/,""),a=(a=m.subParser("hashHTMLBlocks")(a,i,s)).replace(/\\n\\n+/g,"\\n\\n"),a=o?m.subParser("paragraphs")(a,i,s):m.subParser("spanGamut")(a,i,s)),a="<li"+n+">"+(a=a.replace("¨A",""))+"</li>\\n"})).replace(/¨0/g,""),s.gListLevel--,A&&(g=g.replace(/\\s+$/,"")),g}function c(g,A){if("ol"===A){var C=g.match(/^ *(\\d+)\\./);if(C&&"1"!==C[1])return' start="'+C[1]+'"'}return""}function e(e,r,t){var a=i.disableForced4SpacesIndentedSublists?/^ ?\\d+\\.[ \\t]/gm:/^ {0,3}\\d+\\.[ \\t]/gm,n=i.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \\t]/gm:/^ {0,3}[*+-][ \\t]/gm,o="ul"===r?a:n,s="";if(-1!==e.search(o))!function g(A){var C=A.search(o),I=c(e,r);-1!==C?(s+="\\n\\n<"+r+I+">\\n"+l(A.slice(0,C),!!t)+"</"+r+">\\n",o="ul"===(r="ul"===r?"ol":"ul")?a:n,g(A.slice(C))):s+="\\n\\n<"+r+I+">\\n"+l(A,!!t)+"</"+r+">\\n"}(e);else{var g=c(e,r);s="\\n\\n<"+r+g+">\\n"+l(e,!!t)+"</"+r+">\\n"}return s}return g=s.converter._dispatch("lists.before",g,i,s),g+="¨0",g=(g=s.gListLevel?g.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,function(g,A,C){return e(A,-1<C.search(/[*+-]/g)?"ul":"ol",!0)}):g.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,function(g,A,C,I){return e(C,-1<I.search(/[*+-]/g)?"ul":"ol",!1)})).replace(/¨0/,""),g=s.converter._dispatch("lists.after",g,i,s)}),m.subParser("metadata",function(g,A,I){"use strict";if(!A.metadata)return g;function e(g){(g=(g=(I.metadata.raw=g).replace(/&/g,"&").replace(/"/g,""")).replace(/\\n {4}/g," ")).replace(/^([\\S ]+): +([\\s\\S]+?)$/gm,function(g,A,C){return I.metadata.parsed[A]=C,""})}return g=(g=(g=(g=I.converter._dispatch("metadata.before",g,A,I)).replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/,function(g,A,C){return e(C),"¨M"})).replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/,function(g,A,C){return A&&(I.metadata.format=A),e(C),"¨M"})).replace(/¨M/g,""),g=I.converter._dispatch("metadata.after",g,A,I)}),m.subParser("outdent",function(g,A,C){"use strict";return g=(g=(g=C.converter._dispatch("outdent.before",g,A,C)).replace(/^(\\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),g=C.converter._dispatch("outdent.after",g,A,C)}),m.subParser("paragraphs",function(g,A,C){"use strict";for(var I=(g=(g=(g=C.converter._dispatch("paragraphs.before",g,A,C)).replace(/^\\n+/g,"")).replace(/\\n+$/g,"")).split(/\\n{2,}/g),e=[],r=I.length,t=0;t<r;t++){var a=I[t];0<=a.search(/¨(K|G)(\\d+)\\1/g)?e.push(a):0<=a.search(/\\S/)&&(a=(a=m.subParser("spanGamut")(a,A,C)).replace(/^([ \\t]*)/g,"<p>"),a+="</p>",e.push(a))}for(r=e.length,t=0;t<r;t++){for(var n="",o=e[t],s=!1;/¨(K|G)(\\d+)\\1/.test(o);){var i=RegExp.$1,l=RegExp.$2;n=(n="K"===i?C.gHtmlBlocks[l]:s?m.subParser("encodeCode")(C.ghCodeBlocks[l].text,A,C):C.ghCodeBlocks[l].codeblock).replace(/\\$/g,"$$$$"),o=o.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/,n),/^<pre\\b[^>]*>\\s*<code\\b[^>]*>/.test(o)&&(s=!0)}e[t]=o}return g=(g=(g=e.join("\\n")).replace(/^\\n+/g,"")).replace(/\\n+$/g,""),C.converter._dispatch("paragraphs.after",g,A,C)}),m.subParser("runExtension",function(g,A,C,I){"use strict";if(g.filter)A=g.filter(A,I.converter,C);else if(g.regex){var e=g.regex;e instanceof RegExp||(e=new RegExp(e,"g")),A=A.replace(e,g.replace)}return A}),m.subParser("spanGamut",function(g,A,C){"use strict";return g=C.converter._dispatch("spanGamut.before",g,A,C),g=m.subParser("codeSpans")(g,A,C),g=m.subParser("escapeSpecialCharsWithinTagAttributes")(g,A,C),g=m.subParser("encodeBackslashEscapes")(g,A,C),g=m.subParser("images")(g,A,C),g=m.subParser("anchors")(g,A,C),g=m.subParser("autoLinks")(g,A,C),g=m.subParser("simplifiedAutoLinks")(g,A,C),g=m.subParser("emoji")(g,A,C),g=m.subParser("underline")(g,A,C),g=m.subParser("italicsAndBold")(g,A,C),g=m.subParser("strikethrough")(g,A,C),g=m.subParser("ellipsis")(g,A,C),g=m.subParser("hashHTMLSpans")(g,A,C),g=m.subParser("encodeAmpsAndAngles")(g,A,C),A.simpleLineBreaks?/\\n\\n¨K/.test(g)||(g=g.replace(/\\n+/g,"<br />\\n")):g=g.replace(/ +\\n/g,"<br />\\n"),g=C.converter._dispatch("spanGamut.after",g,A,C)}),m.subParser("strikethrough",function(g,I,e){"use strict";return I.strikethrough&&(g=(g=e.converter._dispatch("strikethrough.before",g,I,e)).replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g,function(g,A){return C=A,I.simplifiedAutoLink&&(C=m.subParser("simplifiedAutoLinks")(C,I,e)),"<del>"+C+"</del>";var C}),g=e.converter._dispatch("strikethrough.after",g,I,e)),g}),m.subParser("stripLinkDefinitions",function(g,a,n){"use strict";var A=function(g,A,C,I,e,r,t){return A=A.toLowerCase(),C.match(/^data:.+?\\/.+?;base64,/)?n.gUrls[A]=C.replace(/\\s/g,""):n.gUrls[A]=m.subParser("encodeAmpsAndAngles")(C,a,n),r?r+t:(t&&(n.gTitles[A]=t.replace(/"|'/g,""")),a.parseImgDimensions&&I&&e&&(n.gDimensions[A]={width:I,height:e}),"")};return g=(g=(g=(g+="¨0").replace(/^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*<?(data:.+?\\/.+?;base64,[A-Za-z0-9+/=\\n]+?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)["|'(](.+?)["|')][ \\t]*)?(?:\\n\\n|(?=¨0)|(?=\\n\\[))/gm,A)).replace(/^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*<?([^>\\s]+)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)["|'(](.+?)["|')][ \\t]*)?(?:\\n+|(?=¨0))/gm,A)).replace(/¨0/,"")}),m.subParser("tables",function(g,p,h){"use strict";if(!p.tables)return g;function A(g){var A,C=g.split("\\n");for(A=0;A<C.length;++A)/^ {0,3}\\|/.test(C[A])&&(C[A]=C[A].replace(/^ {0,3}\\|/,"")),/\\|[ \\t]*$/.test(C[A])&&(C[A]=C[A].replace(/\\|[ \\t]*$/,"")),C[A]=m.subParser("codeSpans")(C[A],p,h);var I,e,r,t,a,n=C[0].split("|").map(function(g){return g.trim()}),o=C[1].split("|").map(function(g){return g.trim()}),s=[],i=[],l=[],c=[];for(C.shift(),C.shift(),A=0;A<C.length;++A)""!==C[A].trim()&&s.push(C[A].split("|").map(function(g){return g.trim()}));if(n.length<o.length)return g;for(A=0;A<o.length;++A)l.push((I=o[A],/^:[ \\t]*--*$/.test(I)?' style="text-align:left;"':/^--*[ \\t]*:[ \\t]*$/.test(I)?' style="text-align:right;"':/^:[ \\t]*--*[ \\t]*:$/.test(I)?' style="text-align:center;"':""));for(A=0;A<n.length;++A)m.helper.isUndefined(l[A])&&(l[A]=""),i.push((e=n[A],r=l[A],t=void 0,t="",e=e.trim(),(p.tablesHeaderId||p.tableHeaderId)&&(t=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),"<th"+t+r+">"+(e=m.subParser("spanGamut")(e,p,h))+"</th>\\n"));for(A=0;A<s.length;++A){for(var u=[],d=0;d<i.length;++d)m.helper.isUndefined(s[A][d]),u.push((a=s[A][d],"<td"+l[d]+">"+m.subParser("spanGamut")(a,p,h)+"</td>\\n"));c.push(u)}return function(g,A){for(var C="<table>\\n<thead>\\n<tr>\\n",I=g.length,e=0;e<I;++e)C+=g[e];for(C+="</tr>\\n</thead>\\n<tbody>\\n",e=0;e<A.length;++e){C+="<tr>\\n";for(var r=0;r<I;++r)C+=A[e][r];C+="</tr>\\n"}return C+="</tbody>\\n</table>\\n"}(i,c)}return g=(g=(g=(g=h.converter._dispatch("tables.before",g,p,h)).replace(/\\\\(\\|)/g,m.helper.escapeCharactersCallback)).replace(/^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,A)).replace(/^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm,A),g=h.converter._dispatch("tables.after",g,p,h)}),m.subParser("underline",function(g,A,C){"use strict";return A.underline?(g=C.converter._dispatch("underline.before",g,A,C),g=(g=A.literalMidWordUnderscores?g.replace(/\\b_?__(\\S[\\s\\S]*)___?\\b/g,function(g,A){return"<u>"+A+"</u>"}):g.replace(/_?__(\\S[\\s\\S]*?)___?/g,function(g,A){return/\\S$/.test(A)?"<u>"+A+"</u>":g})).replace(/(_)/g,m.helper.escapeCharactersCallback),g=C.converter._dispatch("underline.after",g,A,C)):g}),m.subParser("unescapeSpecialChars",function(g,A,C){"use strict";return g=(g=C.converter._dispatch("unescapeSpecialChars.before",g,A,C)).replace(/¨E(\\d+)E/g,function(g,A){var C=parseInt(A);return String.fromCharCode(C)}),g=C.converter._dispatch("unescapeSpecialChars.after",g,A,C)});"function"==typeof define&&define.amd?define(function(){"use strict";return m}):"undefined"!=typeof module&&module.exports?module.exports=m:this.showdown=m}).call(this);
!function(){"use strict";var t=function(n){var h={},e="text-align:left;";return h.th=function(t){return""===t.trim()?"":'<th id="'+t.trim().replace(/ /g,"_").toLowerCase()+'" style="'+e+'">'+t+"</th>"},h.td=function(t){return'<td style="'+e+'">'+n.makeHtml(t)+"</td>"},h.ths=function(){for(var t="",n=0,e=[].slice.apply(arguments);n<e.length;n+=1)t+=h.th(e[n])+"\\n";return t},h.tds=function(){for(var t="",n=0,e=[].slice.apply(arguments);n<e.length;n+=1)t+=h.td(e[n])+"\\n";return t},h.thead=function(){var t,n=[].slice.apply(arguments);return t="<thead>\\n",t+="<tr>\\n",t+=h.ths.apply(this,n),t+="</tr>\\n",t+="</thead>\\n"},h.tr=function(){var t,n=[].slice.apply(arguments);return t="<tr>\\n",t+=h.tds.apply(this,n),t+="</tr>\\n"},[{type:"lang",filter:function(t){for(var n,e,r=0,i=t.split("\\n"),s=[];r<i.length;r+=1){if((n=i[r]).trim().match(/^[|].*[|]$/)){n=n.trim();var o=[];if(o.push("<table>"),e=n.substring(1,n.length-1).split("|"),o.push(h.thead.apply(this,e)),(n=i[++r]).trim().match(/^[|][-=|: ]+[|]$/)){for(n=i[++r],o.push("<tbody>");n.trim().match(/^[|].*[|]$/);)n=n.trim(),o.push(h.tr.apply(this,n.substring(1,n.length-1).split("|"))),n=i[++r];o.push("</tbody>"),o.push("</table>"),s.push(o.join("\\n"));continue}n=i[--r]}s.push(n)}return s.join("\\n")}}]};"undefined"!=typeof window&&window.showdown&&window.showdown.extensions&&(window.showdown.extensions.table=t),"undefined"!=typeof module&&(module.exports=t)}();
!function(){var n=function(){return[{type:"output",filter:function(n){return n.replace(/(<pre[^>]*>)?[\\n\\s]?<code([^>]*)>/gi,function(n,e,o){return e?'<pre class="prettyprint linenums"><code'+o+">":' <code class="prettyprint">'})}}]};"undefined"!=typeof window&&window.showdown&&window.showdown.extensions&&(window.showdown.extensions.prettify=n),"undefined"!=typeof module&&(module.exports=n)}();
!function(){"use strict";var n=function(){return[{type:"lang",regex:"(~T){2}([^~]+)(~T){2}",replace:function(n,e,o){return"<del>"+o+"</del>"}}]};"undefined"!=typeof window&&window.showdown&&window.showdown.extensions&&(window.showdown.extensions.github=n),"undefined"!=typeof module&&(module.exports=n)}();
window.addEvent("domready",function(){var t=$("body"),e=(window.location.hash.substring(1),new showdown.Converter({extensions:["table","github","prettify"]}));t.set("html",e.makeHtml(t.getElement("pre").get("text")))});</script>
</head>
<body>
<article class="markdown-body" id="body"><pre>%%%CONTENT%%%</pre></article>
</body>
</html>
"""
def call_exe(command, dir):
process = subprocess.Popen(
command,
cwd=dir,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
universal_newlines=True)
stdout, stderr = process.communicate()
exit_code = process.wait()
if exit_code:
raise Exception(stdout)
return stdout
def generate_preview(text):
# templatefile = open(os.path.join(sublime.packages_path(), "Markdown HTML Preview", "dist", "index.html"), "r")
# html = templatefile.read()
# No encoding for ST3
if int(sublime.version()) > 3000:
return html.replace("%%%CONTENT%%%", text.replace('<', '<').replace('>', '>'))
return html.replace("%%%CONTENT%%%", text.encode('utf-8', 'ignore').replace('<', '<').replace('>', '>'))
class markdown_html_preview_command(sublime_plugin.TextCommand):
def run(self, edit):
try:
selection = sublime.Region(0, self.view.size())
html = generate_preview(self.view.substr(selection))
temp_file = tempfile.NamedTemporaryFile(delete=False, suffix='.html')
if int(sublime.version()) > 3000:
temp_file.write(bytes(html, 'UTF-8'))
else:
temp_file.write(html)
temp_file.close()
webbrowser.open("file://" + temp_file.name)
except Exception as e:
sublime.error_message("Error in GitHubMarkdownPreview package:\n\n" + str(e))
| 2,332.569767
| 95,450
| 0.729219
| 29,647
| 200,601
| 4.952204
| 0.139272
| 0.025869
| 0.012192
| 0.005776
| 0.206562
| 0.138185
| 0.096889
| 0.077572
| 0.066436
| 0.058562
| 0
| 0.021828
| 0.017049
| 200,601
| 85
| 95,451
| 2,360.011765
| 0.714709
| 0.002557
| 0
| 0.075758
| 0
| 0.136364
| 0.992638
| 0.926339
| 0.015152
| 1
| 0
| 0
| 0
| 1
| 0.045455
| false
| 0.030303
| 0.19697
| 0
| 0.30303
| 0.030303
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
0febd079d29203c554b5c5b9d2fc2dc25196a26a
| 188
|
py
|
Python
|
session_keeper/storage/exceptions.py
|
DavisDmitry/tg-session-keeper
|
26467fef4419405137cf2a0b057414de8465d654
|
[
"MIT"
] | 14
|
2021-04-03T16:32:08.000Z
|
2022-03-16T23:36:13.000Z
|
session_keeper/storage/exceptions.py
|
DavisDmitry/tg-session-keeper
|
26467fef4419405137cf2a0b057414de8465d654
|
[
"MIT"
] | 11
|
2021-06-11T17:41:47.000Z
|
2022-03-28T18:20:08.000Z
|
session_keeper/storage/exceptions.py
|
DavisDmitry/tg-session-keeper
|
26467fef4419405137cf2a0b057414de8465d654
|
[
"MIT"
] | 5
|
2021-06-11T17:43:33.000Z
|
2022-02-21T19:23:31.000Z
|
class StorageNotFound(Exception):
pass
class StorageSettedError(Exception):
pass
class MismatchedVersionError(Exception):
pass
class InvalidPassword(Exception):
pass
| 12.533333
| 40
| 0.755319
| 16
| 188
| 8.875
| 0.4375
| 0.366197
| 0.380282
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.180851
| 188
| 14
| 41
| 13.428571
| 0.922078
| 0
| 0
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.625
| 0
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
ba11a83ed50cc7a5742a46d6d2871fa3a97cf3af
| 63
|
py
|
Python
|
censys-command-line/__init__.py
|
rickhazey/censys-command-line
|
9b3340997aa223bd071ca7686f7d943840b7a20d
|
[
"Apache-2.0"
] | 32
|
2019-04-22T22:12:13.000Z
|
2022-01-14T16:01:35.000Z
|
censys-command-line/__init__.py
|
rickhazey/censys-command-line
|
9b3340997aa223bd071ca7686f7d943840b7a20d
|
[
"Apache-2.0"
] | 4
|
2019-05-14T15:45:30.000Z
|
2020-11-13T18:15:49.000Z
|
censys-command-line/__init__.py
|
rickhazey/censys-command-line
|
9b3340997aa223bd071ca7686f7d943840b7a20d
|
[
"Apache-2.0"
] | 10
|
2019-06-17T20:16:26.000Z
|
2022-01-14T16:01:45.000Z
|
name = "censys_command_line"
from .censys_command_line import *
| 31.5
| 34
| 0.825397
| 9
| 63
| 5.333333
| 0.666667
| 0.541667
| 0.708333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.095238
| 63
| 2
| 34
| 31.5
| 0.842105
| 0
| 0
| 0
| 0
| 0
| 0.296875
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
e846157a50ccf8827231c899ba28b461f48e5151
| 76
|
py
|
Python
|
mil/dimensionality_reduction/wrapper.py
|
yangsenwxy/mil
|
8e6b6f0b55bddc961b957a682935cb346f3bca4c
|
[
"MIT"
] | 25
|
2020-11-02T23:33:32.000Z
|
2022-03-14T22:57:54.000Z
|
mil/dimensionality_reduction/wrapper.py
|
yangsenwxy/mil
|
8e6b6f0b55bddc961b957a682935cb346f3bca4c
|
[
"MIT"
] | 4
|
2021-06-14T05:46:37.000Z
|
2021-07-12T16:25:26.000Z
|
mil/dimensionality_reduction/wrapper.py
|
yangsenwxy/mil
|
8e6b6f0b55bddc961b957a682935cb346f3bca4c
|
[
"MIT"
] | 12
|
2020-12-28T04:02:06.000Z
|
2022-02-04T10:33:44.000Z
|
from sklearn.decomposition import *
from sklearn.feature_selection import *
| 38
| 39
| 0.842105
| 9
| 76
| 7
| 0.666667
| 0.349206
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.105263
| 76
| 2
| 39
| 38
| 0.926471
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
e84ceff502a7829c381b27b00b10140f4afc3a53
| 98
|
py
|
Python
|
enthought/mayavi/core/off_screen_engine.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | 3
|
2016-12-09T06:05:18.000Z
|
2018-03-01T13:00:29.000Z
|
enthought/mayavi/core/off_screen_engine.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | 1
|
2020-12-02T00:51:32.000Z
|
2020-12-02T08:48:55.000Z
|
enthought/mayavi/core/off_screen_engine.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | null | null | null |
# proxy module
from __future__ import absolute_import
from mayavi.core.off_screen_engine import *
| 24.5
| 43
| 0.846939
| 14
| 98
| 5.428571
| 0.785714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.112245
| 98
| 3
| 44
| 32.666667
| 0.873563
| 0.122449
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.